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

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...