As I have a separate @timestamp field, I think it would be redundant for my messages to contain the timestamp string. To make my logs neater, I want to remove the timestamp from my message.
I've tried using the drop filter, but I realized it's for fieldnames.
Any idea what filter i should use or how i can remove the timestamp from my message?
Hi, I'm able to remove the timestring, but Im facing a new problem.
Before using the above gsub filter, I was able to get the loglevels in my message(in my first post) into a field by using
mutate {
split => { "message" => "," }
}
I'm able to get this
loglevel: INFO, ERROR
But after using the gsub filter, I'm only getting loglevel: INFO.
How can i solve this?
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.