Monitoring Splunk

How to monitor dynamic log paths in splunk.

pbsuju
Explorer

I have log paths which varies always. How we can efficiently add a forwarder inputs ( inputs.conf)?.

/opt/selfHeal/modules/MW/MWPush/logs
/opt/selfHeal/modules/FW/autoUpdateBFBBot/logs
/opt/selfHeal/modules/AW/OSBot/logs
/opt/selfHeal/modules/ORA/ORABot/logs

I have added /opt/selfHeal/modules/.../logs in my forwarder inputs. But ii doesn't seems to be working.
I tried /opt/selfHeal/modules///logs.. that too doesn't work. Please advise..

Tags (1)
0 Karma

adonio
Ultra Champion

hello there,

please read here all the way through:
https://docs.splunk.com/Documentation/Splunk/7.1.0/Data/Specifyinputpathswithwildcards
try this:
[monitor:///opt/selfHeal/modules/.../.../logs]

hope it helps

0 Karma

pbsuju
Explorer

Tried with [monitor:///opt/selfHeal/modules/.../.../logs]. But it didn't work.

0 Karma
Get Updates on the Splunk Community!

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

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...