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!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...