I want to show in kibana today's index YYYY-MM-DD by default

Hi there,
I want to show in kibana today's index YYYY-MM-DD as default.
Meaning, each day default index will be as of today date.

Please let me know what is the proper way to do this

Thank you,
OK

Hello,

You could potentially set up an Index Alias as described in this thread. Would that work for you?

Regards,
Aaron

Thank you, @Aaron_Caldwell

It's very close, I'd like to have this automated let's say on daily basis, so everyday would be

latest_somestaticname=$(today)

POST /_aliases
{
    "actions" : [
        { "add" : { "index" : "somestaticname-$(today)", "alias" : "latest_somestaticname" } }
    ]
}

Do you see the preferred option how to achieve this?

Thanks in advance

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.