Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should we support epoch_seconds? #71638

Open
nik9000 opened this issue Apr 13, 2021 · 3 comments
Open

Should we support epoch_seconds? #71638

nik9000 opened this issue Apr 13, 2021 · 3 comments
Assignees
Labels
:Core/Infra/Logging Log management and logging utilities Team:Core/Infra Meta label for core/infra team

Comments

@nik9000
Copy link
Member

nik9000 commented Apr 13, 2021

Should we support epoch_seconds to be consistent with epoch_millis?

EPOCH_SECOND("epoch_second"),
EPOCH_MILLIS("epoch_millis"),

The inconsistency upsets me a little....

@nik9000 nik9000 added :Core/Infra/Logging Log management and logging utilities team-discuss labels Apr 13, 2021
@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Apr 13, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@pgomulka
Copy link
Contributor

++ to this, we could deprecate this format in 7.x and have it consistent in 8.0

@pgomulka pgomulka self-assigned this Apr 21, 2021
@pgomulka
Copy link
Contributor

we discussed this on core infra sync on 21April
We concluded that we will add epoch_seconds in addition to epoch_second in version 7 and 8
However we will not plan on removing epoch_second soon-ish. It has to stay until version 9 at minimum, because of index backwards compatibility.
Users should be creating new indicies with epoch_seconds, and epoch_second will be deprecated.
We hope that epoch_second will get stale and not used thanks to data retention - indices created with that format will be removed by users themself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Logging Log management and logging utilities Team:Core/Infra Meta label for core/infra team
Projects
None yet
Development

No branches or pull requests

4 participants