Getting Data In

Why do I see the default log files, but not the monitored log files being forwarded to indexers?

isha_rastogi
Path Finder

I am forwarding the data from forwarder to indexer. I am able to see the default log files that forwarder forwards to indexer, but not able to see the monitored file in indexer and no error is being logged in forwarder and indexers splunkd.log and metrics.log.

My inputs.conf Configuration:

inputs.conf
[monitor:///var/log/test]
disabled = false
sourcetype = test
index=tutorial

Outputs.conf

[tcpout]
defaultGroup = default-autolb-group

[tcpout:default-autolb-group]
server = xx.xx.xx.xxx:9997
[tcpout-server://xx.xx.xx.xxx:9997]

Tried to run Splunk list monitor in forwarder:

Monitored directories:
/var/log/test
                /var/log/test/service.log
                /var/log/test/testSplunk

Please suggest on the same.

0 Karma
1 Solution

stephanefotso
Motivator

Hello. Modify your inputs.conf like this

[monitor:///var/log/test/*.*]
disabled = false
sourcetype = test
index=tutorial

Thanks

SGF

View solution in original post

stephanefotso
Motivator

Hello. Modify your inputs.conf like this

[monitor:///var/log/test/*.*]
disabled = false
sourcetype = test
index=tutorial

Thanks

SGF
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...