Search and delete indexes older than 1 month

In Kibana when i GET _cat/indices?v i get the following results:

health status index                  uuid                   pri rep docs.count docs.deleted store.size pri.store.size
yellow open   timeline-2018.05       HzucsigWR3KoBO6cE3ZdrA   5   1          6            0     65.9kb         65.9kb
yellow open   upgrades-2020-01-30    9s366Y2qR4CGCj5k5fAPOQ   5   1         80            0    122.4kb        122.4kb
yellow open   allproblems-2020.01.25 Za_Y4uR4TbOw1qfdzf7FfA   5   1       4030            0     28.2mb         28.2mb
yellow open   allproblems-2020.01.26 XKGyrQspQBqNlx4QFmUXGA   5   1       4012            0     28.9mb         28.9mb
yellow open   upgrades-2019-07-28    0aYCfuLpTPmQPWTOmT4Y1A   5   1          6            0     39.3kb         39.3kb
yellow open   upgrades-2019-08-10    N8JVou5kS-eyRCTdKM4y8w   5   1          6            0     39.9kb         39.9kb
yellow open   timeline-2019.01       wl2miX0UQNWqx_vK85rowA   5   1          3            0       34kb           34kb
yellow open   upgrades-2019-07-14    XRgPaJ5LRXqi4f5M5bupog   5   1          5            0     32.9kb         32.9kb
yellow open   timeline-2019.02       LJZgAIjdRwuQB7ZOOpUO0w   5   1          4            0     44.5kb         44.5kb
yellow open   allproblems-2020.03.11 jKOCc4yDR_eV2kL4VXaPWA   5   1       4389            0     31.1mb         31.1mb
yellow open   upgrades-2020-01-10    -yQFgAHkR3WhfjxxBlCbKA   5   1          6            0     39.3kb         39.3kb
yellow open   upgrades-2019-08-06    dDYwJ9ujRWSH7iB-NmGXjw   5   1          8            0     52.2kb         52.2kb
yellow open   upgrades-2020-02-11    LJl7upAYTAGFPopC16Z9uQ   5   1         28            0    178.9kb        178.9kb
yellow open   upgrades-2019-06-27    TMNCnBbzTr6qg-gjyv4s0w   5   1         32            0    204.2kb        204.2kb
yellow open   upgrades-2019-06-28    _t-b8ngSSCajXPMepzjxeQ   5   1         34            0    162.9kb        162.9kb
yellow open   upgrades-2019-09-13    f0v6lOfSSL-BJuy4OoyEsw   5   1         24            0    153.4kb        153.4kb

please how would i GET indices older than 1 month and then how would i delete them afterwards ?

I don't know how to do that in Kibana, but there is curator tool that can do that.

On StackOverflow the selected answer shows the full command that should be able to do that: https://stackoverflow.com/questions/33430055/removing-old-indices-in-elasticsearch

thank you, i did see curator
The reason i ask about doing it from kibana is because this is an AWS Elastic service, so i cannot log into an instance

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