Greetings, I'd like to know if its possible to split the message in GREEDYDATA further into searchable data.
Example
line in log stash
grok {
match => [ "message", "%{SYSLOGTIMESTAMP:syslog_timestamp} %{HOSTNAME} %{PROG:program}(?:[%{POSINT:pid}])? %{GREEDYDATA:msgsplit}"]
logstash output
logstash[17194]: "msgsplit" => " Did not receive identification string from ",
logstash[17194]: "msgsplit" => " pam_unix(sshd:session): session opened for user tester by (uid=0)",
Can i take GREEDYDATA,"msgsplit" and further break that down? If so , any guidance on the best way to approach this?
Sorry, I should have stated something in between the "". I just left it blank to show what I did. Thank you for the shorter way. I will implement this in my filters.
In yours, the 'overwrite => ["message"]' should show the field name you used for Greedydata, correct?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.