Adding intentional delay in pulling Log Entries


(Tellvideo) #1

Hi All

We have a very old server that runs Java based web applications developed using ATG framework.
I need to do some monitoring on this server using the webserver logs (Apache) , the system administrators have come back asking me if there is an I/O cost involved by doing real-time pull of log entries.

Since this is a old server and runs some critical application they want to make sure Logstash pulling log entries doesn't cause any performance issues on the server.

From Logstash Can i do a pull of logs say every 10 minutes ??

Thanks


(Magnus Bäck) #2

Assuming you're using the file input you can adjust the stat_interval parameter to your liking. By default it polls the log files every second.


(Magnus Bäck) #3

Oh, and you may want to change discover_interval too.


(Tellvideo) #4

Thanks , this is what i need. I will test it out


(system) #5