I am trying to split my message into different fields . I used Grok filer on logstash but I am still getting the same message content in the Kibana discover dash board. My message as follows.
2019-8-16T18:37:16.45 CT3 45.282
Want to extract CT3 and 45.282 dont want time stamp.
This is an example that i created where i was extracting values from folder structure in file path.
The mapping in my case can also be done as
mapping => {
"[log][file][path]" => "/%{}/%{}/%{}/%{}/%{}/%{jobId}_%{taskId}_%{taskversion}/%{}"
}
I was experimenting with split.
In your case, you will be mapping "message" field. {} is used when you are not interested in the field. Try out an example with simple messages
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.