The MongoDB part is for old Graylog2 versions only. Be aware that manually deleting data can cause performance issues and needs a manual re-calculation of the index ranges meta data after it.
On Tue, Feb 4, 2014 at 10:21 AM, Jean-Luc Bassereau <jlbasser...@gmail.com> wrote: > Hello, > > As far as I know, I'm able to delete datas from a snigle host using these > commands : > > Deletion from ES : > # curl -XDELETE 'http://localhost:9200/graylog2_*/message/_query' -d ' { > "query_string" : { "default_field" : "host", "query" : "servername" } }' > > > Deletion from mongoDB : > # mongo > MongoDB shell version: 2.4.6 > connecting to: test >> use graylog2 > switched to db graylog2 >> db.auth('grayloguser', 'PASSWORD') > 1 >> db.hosts.remove( { 'host' : /^servername/ } ) > > > 2014-02-03 Lennart Koopmann <lenn...@torch.sh>: > >> Yes, we are working on that - But it will not be included in v0.20.0 yet. >> >> Thanks, >> Lennart >> >> On Mon, Feb 3, 2014 at 10:59 AM, Javier Barroso <javibarr...@gmail.com> >> wrote: >> > Hello, >> > >> > Are there some work in progress about this issue ? >> > >> > Is it possible to delete messages only from a specific source ? >> > >> > It would be useful having an interface to delete the most noise logs >> > (for >> > example, applications with debug mode turned on) >> > >> > Thank you very much >> > >> > El jueves, 19 de diciembre de 2013 12:01:45 UTC+1, lennart escribió: >> >> >> >> We are working on that for v0.20.0 in these days actually. :) >> >> >> >> On Thu, Dec 19, 2013 at 10:37 AM, Ruurd Adema <ruurd...@gmail.com> >> >> wrote: >> >> > Me2! Retention based on time would be awesome! +1 feature request. >> >> > >> >> > Op maandag 24 december 2012 11:08:09 UTC+1 schreef Roman Lobus: >> >> >> >> >> >> Hello, >> >> >> Message retention time setting was removed in the new version of >> >> >> Graylog >> >> >> (0.10.1) but I can't find this setting in configuration file. >> >> >> >> >> >> What is exact name of message retention time option? >> >> >> >> >> >> Thank you in advance! >> >> >> >> >> >> Roman >> >> > >> >> > -- >> >> > You received this message because you are subscribed to the Google >> >> > Groups >> >> > "graylog2" group. >> >> > To unsubscribe from this group and stop receiving emails from it, >> >> > send >> >> > an >> >> > email to graylog2+u...@googlegroups.com. >> >> > For more options, visit https://groups.google.com/groups/opt_out. >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "graylog2" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> > an >> > email to graylog2+unsubscr...@googlegroups.com. >> > For more options, visit https://groups.google.com/groups/opt_out. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "graylog2" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to graylog2+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- > Cordialement, > Jean-Luc Bassereau > > -- > You received this message because you are subscribed to the Google Groups > "graylog2" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to graylog2+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "graylog2" group. To unsubscribe from this group and stop receiving emails from it, send an email to graylog2+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.