How to delete single source log from graylog

Hi Team,

we want to delete all the log for only one device, so please help how I can
delete one device log .

he @Shyambihari

you need to work with the delete by query API of elasticsearch to make this happen: