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

User should be able to specify the datetime field format for printing #10118

Open
CaptainDredge opened this issue Sep 19, 2023 · 1 comment
Open
Labels
enhancement Enhancement or improvement to existing feature or request

Comments

@CaptainDredge
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently, in case of multiple datetime field formats either specified by user or as part of default datetime format the stored milliseconds-since-the-epoch gets converted back to string using the first format whenever any search query is made. For eg. if the documents have datetime field without any user specified format and the value of the datetime field in the doc is in epoch_millis format but when the epoch get converted back to string during search it'll always be printed in strict_date_optional_time format because in the default date format "strict_date_optional_time||epoch_millis" optional time format is the first one.

This implicit assumption has been stated in ES public documentation

Describe the solution you'd like
User should be able to define a print format in the datetime field mapping

@CaptainDredge CaptainDredge added enhancement Enhancement or improvement to existing feature or request untriaged labels Sep 19, 2023
@peternied
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request
Projects
None yet
Development

No branches or pull requests

2 participants