Splunk Search

Field search not working?

acontarciego
Explorer

Hello,

I have records that look like this:
2012-09-24T18:31:38: ^^ AAA ^^ BBB ^^ CCC ^^^ DDD ^^^ EEE

The records get parsed correctly and values are assigned to field names at index time - i.e fld1=AAA, fld2=BBB, etc.

However, when you use these field/value pairs in a search, no events are returned.

E.g. The search, index=xxx fld1=AAA, results in 0 events found.

Any ideas on what's going on here?

Thanks!

Tags (1)
0 Karma

Ayn
Legend

You should not use index-time extractions unless you have a very good reason for doing so and really know what you're doing. Index-time extractions affect performance negatively. You should always use search-time extractions unless there's a specific reason for not doing so.

This blog post covers the problem you might be running into: http://blogs.splunk.com/2011/10/07/cannot-search-based-on-an-extracted-field/

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 ...