I am new to elastic and couldn't figure out how to use it.
My requirement was to create a different index every day.
For example:
I run a certain job every day which create an index with name ABC
I want to classify it into days, so I have two approaches
- to append date in index name, i.e ABC_01_01_2020, ABC_02_01_2020
- To use the current date as a nested type field.
i.e ABC {
01_01_2020{
}
02_01_2020{
}
}
Which would be a better approach?