joschi99 / Osiris

Osiris NMS
0 stars 1 forks source link

nxlog -> logstash: logswitch is behind 1 hour #23

Closed joschi99 closed 8 years ago

joschi99 commented 9 years ago

On customer Kaufgut and on Osiris2.2 the logfiles that are coming from nxlog through logstash are written also to CIFS for digital signing. For every day the logs are in a specific directory. For all files coming from nxlog and logstash the logfile switch is not on 0.00am but on 1:00am. This cause the problem that the digital signature (that will be applied on 0:05am) is not more valid for this files.

joschi99 commented 9 years ago

Implemented a workaround on customer Kaufgut

joschi99 commented 9 years ago

The problem is that logstash use internaly for timestamp the UTC timezone. In winter we have UTC+1, in summer UTC+2. This is the reason for the issue

joschi99 commented 9 years ago

Workaround is working on customer Kaufgut.

joschi99 commented 8 years ago

Cron settings modified. GPG is now calcolated at 2:05am.