Splunk Search

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

Splunk-Star
Loves-to-Learn

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

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
Get Updates on the Splunk Community!

Get ready to show some Splunk Certification swagger at .conf24!

Dive into the deep end of data by earning a Splunk Certification at .conf24. We're enticing you again this ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Now On-Demand Join us to learn more about how you can leverage Service Level Objectives (SLOs) and the new ...

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...