Getting Data In

inputs.conf monitoring multiple folders

rahulg
Explorer

Hello there

i have inputs.conf

#[monitor:///opt/splunk/etc/apps/my_app/bin/out/.../*.gz]
#disabled=0
#index=security_my_index
#sourcetype=fzzz
#source=fdr
#interval=60

 

this is only indexing  all the files under

/opt/splunk/etc/apps/my_app/bin/out/data/**

 

but data is not getting indexed from below locations

/opt/splunk/etc/apps/my_app/bin/out/fdrv2/aidmaster

/opt/splunk/etc/apps/my_app/bin/out/fdrv2/managedassets

any idea on this?

Labels (1)
0 Karma

scelikok
SplunkTrust
SplunkTrust

Hİ @rahulg,

Is it possible that the filenames on those folders are not matching *.gz ?

If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma

rahulg
Explorer

Now  i tried to chaneg inputs.conf

[monitor:///opt/splunk/etc/apps/my_app/bin/out/]

whitelist = \.gz$
recursive = true
disabled=0
index=security_my_index
sourcetype=fzzz
source=fdr
interval=60

looks like files are getting read but not indexed

i see logs 

INFO ArchiveProcessor - new tailer already processed path=

 

 

logs says

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!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...