Hello,
i want to delete logs using query for deleting logs passed 10 days,
how can i use appender for this ? i can't find how to send body json in the request with appender
the json body contains the query for items to delete :
json = {
"query": {
"range": {
"@timestamp": {
"lte": "now-10d"
}
}
}
}
Hello, i want to delete logs using query for deleting logs passed 10 days, how can i use appender for this ? i can't find how to send body json in the request with appender the json body contains the query for items to delete :
json = { "query": { "range": { "@timestamp": { "lte": "now-10d" } } } }
Thank you