Hi Mike,

this totally sounds like a problem with the system time on/in the virtual 
machine you're running Docker in.

Check that the system time in your VM is correct and synched with the host 
system.

Cheers,
Jochen

On Thursday, 15 December 2016 19:51:23 UTC+1, Mike Norris wrote:
>
> Hi
>
> I have docker running on my laptop Microsoft Surface/Windows 10
>
> Graylog is running as 3 x containers inside Docker (1 = mongo db, 2 = 
> elasticsearch, 3 = graylog itself)
>
> I am sending in messages using HTTP Gelf 
>
> My messages are mismatched in the wrong timezone/timestamp
>
> *It seems the issue is the timezone(s) used by the docker containers 
> themselves*
>
> e.g. the docker container shows Wed Dec 14 22:45:22 UTC 2016 as the time
> e.g. the actual time on my laptop is Thu Dec 15 18:43:00
>
> So docker is #behind the time' by best part of a day 
>
> I've tried amending the GRAYLOG_TIMEZONE to Europe/London in my config file
>
> But docker keeps being the 'master' if you like, time whenever I search is 
> shown in the past
>
> e.g. I can send a message in right now and do a RELATIVE search for last 
> 15 mins say
>
> This draws a histogram that shows there are message; but the timeline is 
> all wrong
>
> The timeline is Docker's own time 22.45 (10.45pm) on Weds 14th not the 
> real time of Thurs 15th at 18:43
>
> So how do I get the graylog container (and elasticsearch and mongo) to 
> line up with the real time on my laptop ?
>
> *I get the docker time by entering this command*
>
> docker exec -it {container-id] date
>
>   
>

-- 
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 graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/145db0eb-2222-49ce-8181-dabc63c7b42e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to