Splunk Search

Splunk searches does not return expected values even though the data is completed

josephp
Loves-to-Learn Everything

Hi, 

We recently migrated from a standalone Search Head to a clustered one. However, we are having some issue running some search commands. For example, this is a query that is not working on the new SH cluster

sourcetype=dataA index=deptA | where critC > 25

 

On the old search head, this query runs fine and we see the results as expected. But on the SH cluster, this doesn't yield anything. 

I have run the "sourcetype=dataA index=deptA" search query by itself, and they both see the same events. I am not sure why the search with (| where citC > 25) on the standalone SH would work and the cluster would not. Any help would be appreciated.

Thank you

 

Labels (3)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @josephp ,

did you defined on the Search Head the field extraction for critC field?

if yes, the grants for this field are App or Global?

if App, are you in the same App?

Ciao.

Giuseppe

josephp
Loves-to-Learn Everything

Hi Giuseppe,

May I have a pointer to splunk document for this "if yes, the grants for this field are App or Global?"?

Thank you,

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @josephp ,

the point is that if you share the field extraction at App level, outside this app you cannot see the field.

So repeat your search in the App where you extracted the field and see if you have results.

If you need to run the search outside the app where the extraction is defined, share the field extraction at Global level.

Ciao.

Giuseppe

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...