Getting Data In

Monitoring unique log files

user789
New Member

What is the best way to monitor log files that are unique to a host?
For example, if hosta has log.x, and hostb has log.y, and so on, what would be the best way to define/import these logs from each individual host if they are unique to only one system within an environment?

0 Karma

afx
Contributor

I assume you want one deployed app for all the hosts.
Can you define the file names via a regex?

https://docs.splunk.com/Documentation/Splunk/8.0.3/Data/Specifyinputpathswithwildcards

cheers
afx

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Perhaps [monitor:///log.*]?

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...