Monitoring Splunk

If you change the index attribute of monitor stanza in inputs.conf, Will log re-capture be done?

takashiscsk
New Member

If you change the index attribute of monitor stanza in inputs.conf,
Will log re-capture be done?

For example, if you change it as below in inputs.conf

Change before

[monitor: ///work/file.txt]
index = test 0612
sourcetype = sample

After change

[monitor: ///work/file.txt]
index = test 0613
sourcetype = sample

Tags (1)
0 Karma

Ayn
Legend

No, because Splunk instances (including forwarders) use their internal _fishbucket index for keeping track of positions in files they're indexing. You'd have to clean that out one way or another to make Splunk reindex data.

0 Karma

ddrillic
Ultra Champion

Nope, in cases like these, I sometimes drop the forwarder and re-install it. Starting fresh ; -)

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...