drwx------ 2 root wheel 12B Jul 30 00:00 suricata
-rwx------ 1 root wheel 30K Jul 30 14:53 /var/log/suricata/eve.json
[[inputs.tail]] data_format = "json" files = ["/var/log/suricata/eve.json"] name_override = "suricata" tag_keys = ["event_type","src_ip","src_port","dest_ip","dest_port"] json_string_fields = ["*"]
ps aux | grep telegraftelegraf 12093 0.0 1.1 5040852 92304 - S 14:02 0:35.47 /usr/local/bin/telegraf --quiet --config=/usr/local/etc/telegraf.conf --config-directory=/usr/local/etc/telegraf.d
sudo -u telegraf more /var/log/suricata/eve.json/var/log/suricata/eve.json: Permission denied
pw group mod wheel -m telegrafchmod 750 /var/log/suricata ; chmod 750 /var/log/suricata/eve.json
By default the current time will be used for all created metrics, to set the time using the JSON document you can use the json_time_key and json_time_format options together to set the time to a value in the parsed document.The json_time_key option specifies the key containing the time value and json_time_format must be set to unix, unix_ms, or the Go “reference time” which is defined to be the specific time: Mon Jan 2 15:04:05 MST 2006.
[[inputs.tail]] data_format = "json" files = ["/var/log/suricata/eve.json"] name_override = "suricata-alerts" tag_keys = ["flow_id","in_iface","event_type","src_ip","src_port","dest_ip","dest_port","proto"] json_string_fields = ["*"] json_time_key = "timestamp" json_time_format = "2006-01-02T15:04:05-0700"
Then what are they using