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

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!

Customer Experience | Splunk 2024: New Onboarding Resources

In 2023, we were routinely reminded that the digital world is ever-evolving and susceptible to new ...

Celebrate CX Day with Splunk: Take our interactive quiz, join our LinkedIn Live ...

Today and every day, Splunk celebrates the importance of customer experience throughout our product, ...

How to Get Started with Splunk Data Management Pipeline Builders (Edge Processor & ...

If you want to gain full control over your growing data volumes, check out Splunk’s Data Management pipeline ...