Skip to content

The source or way to affect the time captured by p_timestamp #965

@a-zb

Description

@a-zb

I've seen another user ask this before, but it seems that it's not a "good enough" answer in my view.

One, I understand p_timestamp is internal.
Having said that, it isn't internal when it is used in the user interface and confusing the users.

Example:
I have a property in the event that provides a 'created_at' timestamp.
Event is sent from the same computer where Parseable is running via fluentbit from a script.

My timedatectl output is as following:
Local time: Sun 2024-10-20 14:28:22 EDT
Universal time: Sun 2024-10-20 18:28:22 UTC
RTC time: Sun 2024-10-20 18:28:22
Time zone: America/Toronto (EDT, -0400)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no

created_at looks as following when it is captured, correct: 2024-10-19T18:11:05.702800Z
The p_timestamp that gets captured is, oddly in UTC time: 2024-10-19T22:11:05.717

When user clicks on the stream, the p_timestamp is shown, that's a source of confusion #1.
When user clicks on the event , the side bar with details shows the following:
Timestamp

19/10/2024 (10:11:05 PM) EDT

It's obviously wrong and source of confusion #2.

What drives the format of the p_timestamp capture so that it gets captured correctly or at least includes the -0400 timezone part ?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions