is it possible to change the max size of cribl.log?
hello all, is it possible to change the max size of cribl.log? it's rotating too fast, at the moment
Answers
-
Hey <@U02HQRXU4SD>! Unfortunately, currently not, it's hardcoded at 5MB
0 -
ok, thanks
0 -
what you can do is to reduce logging levels for some channels that are especially talkative, but beware you're trading observability for space
0 -
What is the most frequent event being logged ? Is it error or info level?
0 -
let me check
0 -
the log fill up with this warning "channel":"CriblMaster","level":"warn","message":"invalid worker connection", the data field in the JSON is huge (about 20-30 MB), this is logged on the leader, and in the src field I have the ip of one of the workers
0 -
is there an `info` field in the log? `info.cribl` ?
0 -
ah, nvm, there won't be
0 -
I will try using some throttling because the bandwidth we have for the specific site is not so big
0 -
I think we have a Jira for that issue when large events show up in the leader logs because they aren't supposed to do that
0 -
oh ok. I am still using 3.5.2 by the way :slightly_smiling_face:
0 -
ok, throttling changed the connection status from yellow to green
0