Splunk Search

how can i get each value for specific filed?

prabhunesanket1
New Member

index=test host=rider2*58* APP=TEST | rex field=_raw "*CAR:(?\d+)*" | table CAR

this is my query. But whenever i run it, i get empty values in table CAR. Can someone please help me how can i get the values populated ? everything else works fine but values are not getting displayed

Tags (1)
0 Karma

mayurr98
Super Champion

I think the problem is in the regex. can you give us sample events and let us know what do you want to extract.

0 Karma

PowerPacked
Builder

Please check with the Regex you wrote & there can be chances of failure in the earlier query as well.

Like check if index=test host=rider2*58* APP=TEST is populating any events.

& it would be helpfull, if you provide us a sample event which contains all the field values.

Thanks

0 Karma
Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...