ELK delete_by_query
March 07, 2019
To delete indexes older than X days:
POST haproxy/_delete_by_query
{
"query": {
"range": {
"ISODATE": {
"lt": "now-3d"
}
}
}
}
To delete indexes older than X days:
POST haproxy/_delete_by_query
{
"query": {
"range": {
"ISODATE": {
"lt": "now-3d"
}
}
}
}