Hi,
we have one syslog input where we receive log data from two different sources.
One runs on local time, i.e. CEST, and carries a distinct string "abc", while the other runs on UTC and carries "def".
For some unknown reason the UTC one doesn't carry "UTC" or "+00:00" with it, that information got stripped in transfer. Therefore it is currently off by two hours.
To fix that, I want to pass the "abc" through unchanged, and set "UTC" on the "def", so that it will be correctly displayed at search time.
My experiments with props.conf and transforms.conf (and datetime.xml) were not successful, since once the timezone is set at input time, it seems impossible to change it selectively for "def". Transforming the sourcetype is easy, but then it is too late, and the same applies to the host, so setting the TZ depending on a transformed parameter is not an option.
Any ideas, apart from a conversation with the people who send the broken data?
Thanks in advance
Volkmar
... View more