[syslog-ng] Convert UTC to local time zone using syslog-ng

Fekete Robert frobert at balabit.hu
Mon Mar 28 13:47:19 CEST 2011


Hi,

AFAIK, if you use the time_zone() parameter in the destination of your server 
(where you write all the incoming messages to files/etc), it should convert 
every timestamp to the specified timezone.

Regards,

Robert

On 03/26/2011 08:17 PM, Pramod Pillai wrote:

> Hi Robert
>
> Is there any way to set the timezone on the fly.
> Since the syslog-ng server can be installed in multiple locations(
> around the globe) , I can't hard code it to a specific timezone.
>
> Regards
> Pramod
>
> On Fri, Mar 25, 2011 at 12:46 AM, Fekete Róbert<frobert at balabit.hu>  wrote:
>> Hi,
>>
>> you can specify the timezone in the destination driver using the time_zone() parameter.
>>
>> Regards,
>>
>> Robert
>>
>>
>> On Thursday, March 24, 2011 15:29 CET, Pramod Pillai<pramodpillaip at gmail.com>  wrote:
>>
>>> Hi
>>>
>>> I receive syslog from remote note with timezone set as UTC. I need to
>>> convert these timestamp to local time zone
>>> Can some one suggest how can i achive it.
>>>
>>> Regards
>>> Pramod
>>> ______________________________________________________________________________
>>> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
>>> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
>>> FAQ: http://www.campin.net/syslog-ng/faq.html
>>>
>>>
>>
>>
>>
>>
>>
>> ______________________________________________________________________________
>> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
>> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
>> FAQ: http://www.campin.net/syslog-ng/faq.html
>>
>>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html
>
>



More information about the syslog-ng mailing list