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!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...