5
responses

How to convert local time to UTC before sending logs to Logstash

I have the following output config:

 

<Output out>
    Module      om_tcp
    Host        10.36.52.62
    Port        12201
    Exec        $EventTime = strftime($EventTime, '%Y-%m-%d %H:%M:%S %Z'); \
                to_json();
</Output>

Which is sending the EventTime in the local time zone of the server. This is how it looks like at Logstash side:

AskedMarch 3, 2016 - 10:15am
2
responses

How to drop the incoming logs based on the severity

I am fairly new to nxlog. I am looking for a help to complete my task. How do i drop the log message based on log levels (severity). The incoming log messages have different log levels (debug, info, warning, error, critical).
For example, If i set severity as warning, the nxlog should drop info and debug log messages. Please provide some examples of nxlog.conf to make use of it.

Thanks for the help in advance.

AskedFebruary 29, 2016 - 12:53pm
0
responses

Log on papertrailapp from Windows 10

I have change the conf file like said in the papertrailapp but i don't receive any log from Windows 10. I have stop and start the service but nothing is received.

AskedFebruary 28, 2016 - 7:27pm

Pages