Splunk Search

Events from new index are not showing up

kjohnsonzenimax
Explorer

I have inherited a fairly undocumented splunk deployment which looks as follows (splunk 4.3.2):

Forwarders -> 2x Heavy Forwarders -> 3x Indexers -> Search Head

I have added an index to the Search Head via the web interface and installed two forwarders with an inputs.conf as below:

[monitor:////opt/tld/glassfish/domains/tldcs/logs/feedback.log]
sourcetype = tld_gameplay
index = tld_gameplay

[monitor:////home/tldcs/web/apps/cstools/log/production.log]
index = customer_service

[monitor:////opt/tld/glassfish/domains/tldcs/logs/server.log]
index = customer_service

[monitor:////opt/tld/glassfish/domains/tldcs/logs/services.log]
index = customer_service

The issue is that I am not seeing any events in the web interface.

How can I debug this? What information do you need from me, so that I can help you? How can I verify that data is, or is not, even being received by the heavy forwarder, and then the indexers?

I am unclear whether I need to "add" the index somewhere else other than via the web interface.

Thanks,

Tags (1)

kjohnsonzenimax
Explorer

All that I had to do was restart the individual indexers, which the heavy forwarder was reporting to. After doing this, events began showing up in the search.

sowings
Splunk Employee
Splunk Employee

Adding the index on the web interface adds it to the search head's local filesystem. It doesn't add it on the indexers themselves. In a lot of cases, the web interface of the indexers is turned off, to save memory as it commonly isn't used in this kind of distributed environment. I'd suggest first going to the indexers (command line is OK) and issuing splunk list indexes to see if your indexers have this new one.

You could then add them directly to the indexes.conf, or temporarily spin up the Splunk UI on the indexers to be able to use the UI to add the index.

0 Karma

kjohnsonzenimax
Explorer

Hey, thanks for your answer. I have just checked the three indexers, running the command 'splunk list index' and have verified that the new index is listed on all three indexers.

0 Karma
Get Updates on the Splunk Community!

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...