Graylog2 server filling disk with logs
Hi,
Graylog 2 server filled my disk with graylog2-server.log file. The problem is I used "*" char in a stream rule and graylog seems to give warning every line it process. So it will fill you disk silently for sure.
2014-01-10 14:11:35,634 WARN : org.graylog2.streams.StreamRouter - Could not match stream rule <2/.gonderim limitinizi astiniz.>: Dangling meta character '' near index 0 *.gonderim limitinizi astiniz.
I think the problem is not the name of the stream but the stream rules you defined. Can you please paste the rules that you added to this stream? Is it the complete log message you pasted or is there some more?
I already find and fixed the issue. I used regex rule " .gonderim limitinizi astiniz. " which lead the exceptions. Then I edit the rule to "^ .gonderim limitinizi astiniz. $" than the problem is solved.
I didn't open the bug report for rule handling. The problem is graylog-server should not throw an execption for every line becouse there should be 100Millions of lines a day or more.
Maybe it should only write exceptions to log file if it is running in debog mode?
i'm changing the log to debug there and will add exception tracking metrics. not sure if i get this to be exposed right away for rc2, though.
Good to hear you will fix it. Keep up the good work.