log level
message
class
memory used/memory free
and timestamp
further I enhanced it to
\A(?:%{LOGLEVEL:level})%{GREEDYDATA:message}\s(?:%{JAVACLASS:caller_class})\s+([%{WORD:log}]\s+)+([%{DATA:ts}]\s+)+([%{DATA:mem}])
I was using the grok debugger to verify my regex pattern, I want the data tokenized so that I can visualize it in Kibana like process vs time or time vs memory graph
Can you please create an example JSON document that show how you would like the example event parsed and post it here? This will make it a lot easier for us to help you.
Use grok to separate out the various parts into separate fields. You should then e.g. be able to use the kv filter to parse out memory and total from the last part, although you may use a mutate filter to clean the fields up and remove the 'G' training the number.
I'm sorry I didn't understand what you meant to say
how shall I use grok to separate it into fields, I used http://grokdebug.herokuapp.com/ to match my pattern and the particular pattern matched, but how shall I use this Info
can you provide some URLs or wiki links or videos for reference
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.