All Apps and Add-ons

tomcat:access:splunk:log --> why are there question marks before and after some field values like remote_ip

MuratKuru
Explorer

Hi All
I have followed the instructions under 

"https://docs.splunk.com/Documentation/AddOns/released/Tomcat/Recommendedfields"

But as you can see on the pic below there are question marks before and after the field value.
Why is that needed?

MuratKuru_0-1634889272613.png

Thank you in advance for your help.

Labels (1)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

As the doc you pointed to says, you defined the log pattern this way. I suppose (I don't know this addon so I only speculate), the parsing rules should retrieve the proper values from the log easier this way since they are delimited by those question marks. Not a pretties solution, but should probably work.

So, you defined a pattern and you're getting the raw events in the format you defined yourself.

The thing to check is whether they are getting parsed properly.

0 Karma
Get Updates on the Splunk Community!

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...