Issue with querying

Here is my sample logline:

162.253.4.179 - - [27/Dec/2037:12:00:00 +0530] "GET /usr/admin/developer HTTP/1.0" 200 5041 "http://www.parker-miller.org/tag/list/list/privacy/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36" 3885

Acoording to Grafana Lab’s own documentations, my logline pattern is this:

{filename="C:\\Users\\umutc\\Desktop\\denme.log"} | pattern  "<ip> - - <datetime> "<method> <endpoint> <httpversion>" <responsetype> <responsebytes> <_> "<useragent>" <responsetime> "

Here is the official documentation:

But grafana doesn’t accept my line:

I think it has to start and end with a tick → ` ←

{job="up_ag"} | pattern `<_>  <_> <_> `
{filename="c:\\etc\\etc\\etc\\demo.log"} | pattern `<ip>`

İt has worked. Thank you so much. Can I use these extracted fields in dashboard. Can I save These fields?

1 Like

not sure what you mean “can I save these fields”?

what does the data look like once extracted?

The data is plain log text without my pattern. I want to be able to make new visualisations and dashboards with the fields from patterning. Is that possible?

well it depends if anything results from the pattern extraction. so after pattern-ining what are the results returned

Can i save and use these fields?