Getting Data In

What could be the stanza for monitoring linux directory?

ujju219
Explorer

what could be the stanza for monitoring linux directory 

/home/cleo/Harmony/script/logs/Harmony_directory_monitor_1hr.conf.20220512.log

i tried [monitor:///home/cleo/Harmony/script/logs] with whitelist =*.log

but not able to ingest any data. this path has proper permission. 

Labels (1)
0 Karma
1 Solution

ujju219
Explorer

@gcusello  Thanks for the help. It worked. There was also some issue with Intermediate forwarder as well, after restarting UF on Intermediate forwarder data get ingested.

View solution in original post

Tags (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @ujju219,

please try this:

[monitor:///home/cleo/Harmony/script/logs/]

and, if not working, try:

[monitor:///home/cleo/Harmony/script/logs/*.log]

I suppose that you restarted Splunk on the Universal Forwarder after modifying.

Ciao.

Giuseppe

0 Karma

ujju219
Explorer

@gcusello  Thanks for the help. It worked. There was also some issue with Intermediate forwarder as well, after restarting UF on Intermediate forwarder data get ingested.

Tags (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @ujju219,

good for you, see next time!

Ciao and happy splunking

Giuseppe

P.S.: Karma Points are appreciated 😉

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...