Hello!
I using ES High rest api to upload json as document, no template is provide.
I want to make an index pattern by date, therefore I added a 'time' field contains time in various formats but it recognized as string in the index pattern window.
I tried some formats:
- 04-06-2020 12:21:42
- 04-06-2020T12:21:42
- 04-06-2020T12:21:42Z
- 04062020T122143Z
- Epoch nanoseconds
I also tried to add "Scaled date format" in the advanced settings: ["P1TDF", "YYYY-MM-DD HH:mm:ss"]
:
(not really understand the first key, just add format with full time, ss; UPDATE: I also added MM-DD-YYYY HH:mm:ss
).
but 'time' field still recognized as string:
(I also haven't date option in the edit page).
How can I recognize this json field as date in dynamic mapping?
Thank you!
P.S. ES 7.6.2