Getting Data In

Analyzing Splunk Internal Logs- What is Tailing Processor and Watch file?

umesh
Path Finder

Hi Everyone,

 

I recently observed the splunk internal logs and found that there is a field component and found two values for component field -

1.TailingProcessor

2.Watched file

INFO WatchedFile [3338437 tailreader0] - Will use tracking rule=modtime for file='/path/.conf

INFO TailingProcessor [3338433 MainTailingThread] - Adding watch on path: /path

Please help me understand what these logs says about.

Thanks 

 

 

Tags (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

These two components help with the handling of monitor:// inputs.  WatchedFile detects when the file changes and TailingProcessor reads the new data.  The first message says the component will detect changes using the file modification time.  The second message says it's asked WatchedFile to keep an eye on the specified file path.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

These two components help with the handling of monitor:// inputs.  WatchedFile detects when the file changes and TailingProcessor reads the new data.  The first message says the component will detect changes using the file modification time.  The second message says it's asked WatchedFile to keep an eye on the specified file path.

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

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...