Hi,
I'm trying to build a logstash filter to drop message that contains dollar at the end of string.
I'm receiving log from a domain controller and I would like to get message that has in the field "user.name" only real person so without dollar in the username.
if ([message] =~ "$") {
mutate {
add_field => { "hello" => "world" }
} "using this one I have added field in all messages"
if ([user.name] =~ "$") {
mutate {
add_field => { "hello" => "world" }
} "the same"
the field message contains all data than also contains user.name field.
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.