event.duration incorrect value in elastick

Hello!
can you help me solve the problem?
there are PG SQL logs in elastica.
there is an event.duration field that displays an incorrect value.for example, in the postgresql logs duration: 818.585 ms
in elastic


the log provider is filebeat - I uploaded the logs to a file, there is no error.
The Numeric variable type is long in the index template.

Update the field.format in kibana => data view => index pattern => field_name. Save it and send another screenshot and let me check for you.

1 Like

ΠΈΠ·ΠΎΠ±Ρ€Π°ΠΆΠ΅Π½ΠΈΠ΅
interesting result

@yanshin

Can a little tricky there I suspect that value is actually Microseconds or perhaps even nanoseconds

if you are saying that 818585024 is supposed to be 818 ms then that then the value is actually nanosecods

If microseconds

2 Likes

@stephenb @Musab_Dogan
Thank you for your help! :grinning_face:

1 Like

You're welcome. Happy to hear it worked!