Hi,
My new problem:
Here's my logs:
(14529) Login OK: [host] (from client DEVICE-NAME port 13 cli 20-19-44-03-26-c6 via TLS tunnel)
(14529) Login OK: [host] (from client DEVICE-NAME port 13 cli 20-19-44-03-26-c6 via TLS tunnel)
You can see the difference between two lines. That is there is an additional space before Login OK
in the second line. Due to that I'm facing difficulty in Graphs in kibana.( It shows two Login OK
since there is a space)
My Grok pattern:
\(%{NOTSPACE:removed}\) +%{GREEDYDATA:AUTH}: \[%{DATA:username}\] \(from client %{NOTSPACE:radius_client} port %{INT:radius_port} (?:cli %{NOTSPACE:radius_cli})?(?: via %{DATA:radius_via})?\)
I used a +
infront of %{GREEDYDATA:AUTH}:
and that is working in Grok debugger online but not in my server.
Any idea?
Thank you.
The output comes as below:
"AUTH" => " Login OK",
Please notice the space before Login OK