Splunk Search

Datas are not getting parsed after giving table name on splunk query.

Splunk-Star
Loves-to-Learn Lots

Please let me know the correct data extraction?

 

index=* "Unknown message for StatusConsumer" topicId marshall
| rex field=_raw "\"topicId\":\"(?<topicId>\d+)\""
| table topicId

 

Datas are not getting parsed after giving table name on splunk query.

Labels (3)
0 Karma

Splunk-Star
Loves-to-Learn Lots

regex was not applied correctly thats why it was not extracting the data.

 

Thank you

0 Karma

bowesmana
SplunkTrust
SplunkTrust

Please post an example of your data containing topicid

 

0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @Splunk-Star,

After using table or stats commands Splunk shows only outputs of these commands. This does not mean they are not extracted. If you need to access other fields, add them to the table command. 

 

If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...