All Apps and Add-ons

Can SPLUNK handle circular logs?

conner9
Path Finder

I have a series of logs being written by a custom application and the size of the log files is static, and when the application reaches the bottom of the log file it begins writing again from the top. If I point SPLUNK at one of these logs, will it realize that the log has started at the top again?

Tags (1)

Ledion_Bitincka
Splunk Employee
Splunk Employee

It will realize that the file has changed and reindex the entire file again. It your goal is to allocate a max size that the logs would take why don't you use some sort of log rotating utility (obviously your application needs to play nice with the log rotating util)

Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...