Getting Data In

Search using metadata returns different results

wzchin
New Member

I'm getting different search results for the metadata I added to my log events. What did I misconfigure?

Added to inputs.conf on forwarder: _meta = datacenter::aws
Added to fields.conf on forwarder: [datacenter] INDEXED=true

Returns very few results:
datacenter=aws

Returns all results:
datacenter::aws

0 Karma

esix_splunk
Splunk Employee
Splunk Employee

In this case, you need to have the fields.conf on your search head (where you’re searching.)

Additionally, there is an inherent difference between a search for field=a and field::a

The later of these is relevant for indexed fields. Search through your job inspector to see how the jobs are parsed differently.

0 Karma
Get Updates on the Splunk Community!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...