I would like to match two items with the rule below. How can I make this with an if statement?
date {
match => [ "fgt_timestamp", "yyyyMMdd HHmmss", "yyyy-MM-dd HH:mm:ss" ]
target => "std_timestamp"
timezone => "Europe/Berlin"
add_field => { "debug" => "timestampMatched" }
}
I want to match the fgt_timestamp and another one called hht_timestamp also, is this possible?