Splunk Search

How to list unsuccessfully extracted fields event?

hjwang
Contributor

dear all

as title mentioned , i found some fields extraction can not reach 100 percent on total event, how can i list or query this unsuccessfully extracted fields to see unexpected log format?

thanks in advance.

Tags (1)
0 Karma
1 Solution

sideview
SplunkTrust
SplunkTrust

If you're trying to extract a field called 'fieldName', and you have a search that you think should extract the value from all events, run this:

<your search> | where isnull(fieldName)

You can take those events and look at them in a tool like RegexBuddy to see where the extraction is breaking down. You can also play around with other search language tricks that can show you representative events across the whole set, like:

<your search> | where isnull(fieldname) | dedup punct

View solution in original post

eashwar
Communicator

you can also use this

YourSearch NOT fieldName="*"

happy splunking.

0 Karma

sideview
SplunkTrust
SplunkTrust

If you're trying to extract a field called 'fieldName', and you have a search that you think should extract the value from all events, run this:

<your search> | where isnull(fieldName)

You can take those events and look at them in a tool like RegexBuddy to see where the extraction is breaking down. You can also play around with other search language tricks that can show you representative events across the whole set, like:

<your search> | where isnull(fieldname) | dedup punct

hjwang
Contributor

Thanks a lot,nick. It's really helpful for me :).

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!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...