Getting Data In

Monitoring Log File provided as - Days of Week and Hourly

pjohnson1
Path Finder

We are provided a certain type of log in the following format:

App-Hourly.log
App-Mon.log
App-Tue.log
App-Wed.log
App-Thur.log
App-Fri.log
App-Sat.log
App-Sun.log

The 'Hourly' log is rotated hourly and 'Days of the Week' are rotated daily.

What would be the best way to feed these logs into Splunk from the Forwarder without duplicating events?

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

So... each event is written once to App-Hourly.log and once to App-$weekday$.log?

I'd monitor all seven Day-of-Week files from the forwarder and have the app people disable the duplicate hourly log entirely.

0 Karma
Get Updates on the Splunk Community!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...