Delete reports from reporting tab in Kibana

I am aware of deleting the reports using

POST /.reporting-<yyyy.mm.dd>/_delete_by_query
{ "query": { "match_all": {} } }

But this deletes all the reports under that index irrespective of creation date of the report. Is there a way to delete specific report?

@MaheshKumar from version7.7, the report UI enables deleting specific reports. You could also modify your query above to match only the report ids you want to delete

POST /.reporting-<yyy.mm.dd>/_delete_by_query
{
  "query": {
    "match": {
      "_id": "<report_id>"
    }
  }
}

where you get the report id by issuing a search for all of them:

{
  "query": {
    "match_all": {}
  }
}

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