Hi guys
I have four servers from which i am sending the logs directly to my Gray log server. My Conf file looks like the following.
input {
file {
type => "apache-localhost"
path => "/var/log/tomcat8/localhost_access_log.txt"
start_position => "beginning"
}
file {
type => "apiusage"
path => "/var/log/tomcat8/APIusage.log"
start_position => "beginning"
}
file {
type => "caching"
path => "/var/log/tomcat8/caching.log"
start_position => "beginning"
}
file {
type => "dispatch"
path => "/var/log/tomcat8/dispatches.log"
start_position => "beginning"
}
file {
type => "facade-exceptions"
path => "/var/log/tomcat8/FacadeException.log"
start_position => "beginning"
}
}
For a good period of time the logstash server forwards the messages properly but it stops after some time. I even restarted the logstash process and also my GrayLog2 server but it dint work. Can someone please help on this.
Regards
Haroon