:-)

Thanks for this information!

You have brightened my day.

Sincerely,
Skip


On Thu, Jan 28, 2016 at 8:46 AM, Jochen Schalanda <[email protected]>
wrote:

> Hi,
>
> the value of the timestamp field in the actual GELF message
> (1453388845999.000) is invalid or rather translates to a date very far in
> the future (48026-01-22T03:53:19.000Z to be exact).
>
> The timestamp field in a GELF message has to contain the seconds (!) since
> UNIX epoch, not milliseconds since UNIX epoch; see
> https://www.graylog.org/resources/gelf/. I think it's simply a matter of
> an incorrect conversion in the library being used (1453388845.999 would
> translate to 2016-01-21T15:07:25.999Z which looks much more sane).
>
>
> Cheers,
> Jochen
>
> On Thursday, 28 January 2016 12:46:30 UTC+1, Skip Cole wrote:
>>
>> Hi Jan,
>>
>> Thanks for the reply. The thing is, we are passing in the timestamp. Here
>> is a 'toString' of the GelfMessage:
>>
>> GelfMessage{version="1.1" timestamp="1453388845999.000"
>> short_message="{timestamp=2016-01-21T10:07:25.999-05:00, level=DEBUG,
>> action=HTTP_REQUEST, user=felixfrankfurter}", level="ALERT(1)"}
>>
>> I notice that the timestamp in the short message is not in the right
>> format, so I'm going to change that, and see if that helps. But I thought
>> that the timestamp set at the higher level would be sufficient.
>>
>> I'll try this change out, and let you know how it goes.
>>
>> Thanks,
>> Skip
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Graylog Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/graylog2/o6inV7A4PBw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/graylog2/b1b7bd24-fd0e-48cc-b1f9-aa65135d518c%40googlegroups.com
> <https://groups.google.com/d/msgid/graylog2/b1b7bd24-fd0e-48cc-b1f9-aa65135d518c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/CAHYTHi4cin8sHSKAB2A%2BYRkJ%2BYGbi2OBX%2Bo_Y%2BR%2B6k8j0ZM84w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to