How to delete logs using specific keywords which collected through Collector Sidecar

I am able to delete data in elastic search using elastic query which logs collected using syslog.
But unable to delete data which collected through Collector Sidecar . Please help

These messages are also stored in Elasticsearch, so you can use your know-how about deleting documents in Elasticsearch indices.

Thanks for your help. Will try to delete in elastic search