How to set proper time format in ops agent config?

114 Views Asked by At

I've tried everything I could and still can't make it work.

I'm using the time key in Ops agent, and the time needs to be parsed is '2023-06-30T07:42:10.103467+00:00'

I've tried many different time string format and it always shows the error as follows:

[2023/06/30 07:47:49] [error] [parser] cannot parse '2023-06-30T07:47:49.637160+00:00'
[2023/06/30 07:47:49] [ warn] [parser:default_pipeline.fortvax_stage.0] invalid time format %Y-%m-%dT%H:%M:%S.%6N+%H:%M for '2023-06-30T07:47:49.637160+00:00'

Anyone could help me to get it work will be so much appreciated.

0

There are 0 best solutions below