mirror of https://github.com/OISF/suricata
suricatasc: add -c flag to run command
Add -c flag to run command given as argument and return the raw
JSON result. For example, it is possible to run something like.
$ suricatasc -c "iface-stat eth0"
{'message': {'pkts': 17838352, 'drop': 0, 'invalid-checksums': 1}, 'return': 'OK'}
pull/1122/head
parent
1b9cc03653
commit
7f68a25535
Loading…
Reference in New Issue