graylog2-server icon indicating copy to clipboard operation
graylog2-server copied to clipboard

Question: Graylog 2.1.1 Delete all messages from specific host

Open ps-gm opened this issue 10 years ago • 1 comments

Is it possible in graylog 2.1.1 deleting all messages from a specific host:

I found this, but it seems that graylog2 is not accepting wildcard in the query...

curl -XDELETE 'http://syslog.contoso.local:9200/graylog2_*/message/_query' -d ' { "query_string" : { "default_field" : "host", "query" : "hostname:" } }'

Help on that would be highly appreciated... Thanks in advance many times!!

ps-gm avatar Sep 20 '16 15:09 ps-gm

@ps-gm We are using GitHub issues for tracking bugs in Graylog itself, but this doesn't look like one. Please post this issue to our public mailing list or join the #graylog channel on freenode IRC.

Thank you!

joschi avatar Sep 20 '16 15:09 joschi