Splunk Search

field values with "invisible" characters?

gliptak
Explorer

I have a number of events searchable by:

index=main sourcetype="myevents"

All of them show foo field with value bar

When adding that as a filter to my query:

index=main sourcetype="myevents" foo=bar

no results are returned.

If I update above to

index=main sourcetype="myevents" foo="bar*"

I do get results.

Any pointers on how to see the real value of foo?

PS I couldn't print foo as list of characters. The closest I got was

| rex field=foo mode=sed "s/(.)/\1+/g"

which printed

b+a+r+

note the last character seems to 'r'

Labels (1)
Get Updates on the Splunk Community!

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...

AppDynamics is now part of Splunk Ideas

Hello Splunkers, We have exciting news for you! AppDynamics has been added to the Splunk Ideas Portal. Which ...

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...