Splunk Search

Monitoring several log files with a specified index, why are searches on the index in Splunk Web not returning any data?

omuelle1
Communicator

Hi guys,

I am fairly new to splunk, and I am trying to get it to monitor a couple of log files on some app servers.

I have created the apps needed and also created an index. However, when I try to use the search function in Splunk Web and use that index, it is not pulling data.

This is my inputs.conf file:

[monitor:///tibco/apps/tra/domain/abc/application/logs]
sourcetype = tibco
index = tibco
#ignoreOlderThan = 7d
disabled = false
host = $host1

[monitor:///tibco/apps/tra/domain/abc/application/logs/855EDI-855EDI.log]
sourcetype = tibco
index = tibco
#ignoreOlderThan = 7d
disabled = false
host = $host2

[monitor:///tibco/apps/tra/domain/abc/application/logs]
sourcetype = tibco
index = tibco
#ignoreOlderThan = 7d
disabled = false
host = $host3

[monitor:///tibco/apps/tra/domain/abc/application/logs/*.log]
sourcetype = tibco
index = tibco
#ignoreOlderThan = 7d
disabled = false
host = $host4

When I try:

./splunk list monitor it tells me that these folders are being monitored

I also tried and changed the permissions.

Also when I give this search:

source="/tibco/apps/tra/domain/abc/application/logs/*"

it is actually pulling data, but not when I give index = tibco like it works for my other applications,

Thank you for you help,

Oliver

Tags (3)
0 Karma
1 Solution

woodcock
Esteemed Legend

You need to bounce all Splunk instances on your forwarders so that the latest changes to inputs.conf are re-run. I assume the problem is that you forgot to specify index=tibco the last time that you changed the configs so Splunk picked something on its own.

View solution in original post

woodcock
Esteemed Legend

You need to bounce all Splunk instances on your forwarders so that the latest changes to inputs.conf are re-run. I assume the problem is that you forgot to specify index=tibco the last time that you changed the configs so Splunk picked something on its own.

omuelle1
Communicator

I have a follow up question though and I am sure you can probably help me out again.

The indexer is indexing now data from only $host4, which is very odd since I don't even have any splunk or splunk apps installed on $host4, yet. Only on 1-3.

0 Karma

woodcock
Esteemed Legend

check out outputs.conf files on all of your hosts and make sure that 1-3 are configured the same as 4.

0 Karma

omuelle1
Communicator

Thank you, SIr.

I did that and it did help, the indexer is pulling data now.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Maximizing the Value of Splunk ES 8.x

Splunk Enterprise Security (ES) continues to be a leader in the Gartner Magic Quadrant, reflecting its pivotal ...