Logs are coming late
Posted: Wed Jul 20, 2016 7:36 am
Hi,
I am having two servers named Server1 and Server2. Nagios log server is installed in Server1 . I want to track one of the log file which is available in Server2 from Server1 Nagios log server web interface.
I have done configuration in Server2 by following the below steps.
Nagios log Server web interface -> +Log Source -> Linux Source - > ran those steps in Server2
Nagios log server web interface -> +Log Source -> Linux files -> ran the steps (which is given) in Server2.
after configuring I am getting logs in Server1 Nagios log server web interface. But issue is I am getting logs late.
For example, If time is 05:15 in Server, I am getting 4:00 logs in Nagios log server dashboard.
So I have to wait for one hour to see 05:15 logs. Why it is taking this time.
whether I have to done time interval anywhere to track the logs instantly?
Question2:
we are having file input configuration in logstash . it is applicable for tracking the files which is available only inside the Server1? or we can track remote Server(Server2) files also in this file config. please confirm this as well
file{
path => file path to track
}
I am having two servers named Server1 and Server2. Nagios log server is installed in Server1 . I want to track one of the log file which is available in Server2 from Server1 Nagios log server web interface.
I have done configuration in Server2 by following the below steps.
Nagios log Server web interface -> +Log Source -> Linux Source - > ran those steps in Server2
Nagios log server web interface -> +Log Source -> Linux files -> ran the steps (which is given) in Server2.
after configuring I am getting logs in Server1 Nagios log server web interface. But issue is I am getting logs late.
For example, If time is 05:15 in Server, I am getting 4:00 logs in Nagios log server dashboard.
So I have to wait for one hour to see 05:15 logs. Why it is taking this time.
whether I have to done time interval anywhere to track the logs instantly?
Question2:
we are having file input configuration in logstash . it is applicable for tracking the files which is available only inside the Server1? or we can track remote Server(Server2) files also in this file config. please confirm this as well
file{
path => file path to track
}