Hello, I have a filter defined as follow:
grok {
patterns_dir => ["/etc/logstash/conf.d/patterns/"]
match =>
[
"message", "^%{TIMESTAMP_ISO8601:logdate} INFO \[XML\] (ID) : %{NN_UTILISATEUR:nn_utilisateur} CERTIFICATE : %{DATA:certificate}$",
"message", "^%{TIMESTAMP_ISO8601:logdate} INFO \[XML\] %{NN_UTILISATEUR:nn_utilisateur} %{STATUS:status} (xml) : %{TX_HEADER}<%{TX_TYPE:tx_type}%{DATA}>%{DATA:tx_content}</%{TX_TYPE}>$"
]
}
I have checked both of them on a grok tester and they match perfectly. But I don't have any results with the first one when I run the server. Is there something that I missed/didn't do correctly?
Thanks