SPLK-1003 · Question #209
In which of the following scenarios would a monitored log file be re-ingested by Splunk?
The correct answer is C. The fish bucket checkpoint is cleared.. The fishbucket (btree database) stores the read position (seek pointer/CRC) for every file Splunk monitors, preventing re-ingestion of already-indexed data. If the fishbucket checkpoint is cleared (e.g., via splunk clean eventdata or deleting the fishbucket), Splunk loses its pos
Question
In which of the following scenarios would a monitored log file be re-ingested by Splunk?
Options
- AThe log file is renamed.
- BThe Splunk instance is restarted.
- CThe fish bucket checkpoint is cleared.
- DA second file monitor is set up to ingest the log.
How the community answered
(44 responses)- A2% (1)
- B2% (1)
- C91% (40)
- D5% (2)
Explanation
The fishbucket (btree database) stores the read position (seek pointer/CRC) for every file Splunk monitors, preventing re-ingestion of already-indexed data. If the fishbucket checkpoint is cleared (e.g., via splunk clean eventdata or deleting the fishbucket), Splunk loses its position records and treats all monitored files as new, causing re-ingestion. Renaming a file does not force re-ingestion because Splunk tracks files by inode on Linux. Restarting Splunk does not clear the fishbucket - state persists across restarts. Setting up a second monitor stanza for the same file does not bypass the fishbucket check.
Topics
Community Discussion
No community discussion yet for this question.