I am using csv as input as shown below
firstname lastname
dinesh angari
rajesh
mahesh rangu
and i am using http as output and below is my filter
mutate {add_field => {"newlastname" => "%{lastname}"} }
but in the output when the lastname value is null i am getting %{lastname} value as newlastname
please help me how can i ignore null values.
Thanks in advance............................