Hi All,
I’ve tried this in grafana with Loki backend.
{application=“lawful_intercept”} | logfmt |~ “MAC=68:54:5A:27:85:0+”
This works and generates me all the logs with mac address with the wildcard.
Now I’m trying this from API
{application=“lawful_intercept”} | logfmt |~ “MAC=68:54:5A:27:85:0+”
Its returning zero rows.
If I use the full mac address it returns me all the correct rows.
However from API this works.
{application=“lawful_intercept”} | logfmt |~ “MAC=68:54:5A:27:85:0*”
In both cases this will fail
{application=“lawful_intercept”} | logfmt |~ “MAC=68:54:5A:27:*:0D”
Seems like wildcards seems to only work at the back of the search not in the middle.
Any idea what is wrong… or is the api syntax different?
Regards,
Michael