mtail's own log grows too big and fill teh fielsystem
up vote
0
down vote
favorite
I'm using mtail to parse the log to feed metrics in Prometheus.
My mtail rule file (program) had a bug. Mtail produced a verbose log which quickly filled the filesystem.
/tmp/mtail.INFO ->
/tmp/mtail.myhostname.jdoe.log.INFO.20181102-175507.32037
How can I prevent mtail from filling my production filesystem in such situation ?
How to reduce mtail verbosity ?
logging
add a comment |
up vote
0
down vote
favorite
I'm using mtail to parse the log to feed metrics in Prometheus.
My mtail rule file (program) had a bug. Mtail produced a verbose log which quickly filled the filesystem.
/tmp/mtail.INFO ->
/tmp/mtail.myhostname.jdoe.log.INFO.20181102-175507.32037
How can I prevent mtail from filling my production filesystem in such situation ?
How to reduce mtail verbosity ?
logging
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm using mtail to parse the log to feed metrics in Prometheus.
My mtail rule file (program) had a bug. Mtail produced a verbose log which quickly filled the filesystem.
/tmp/mtail.INFO ->
/tmp/mtail.myhostname.jdoe.log.INFO.20181102-175507.32037
How can I prevent mtail from filling my production filesystem in such situation ?
How to reduce mtail verbosity ?
logging
I'm using mtail to parse the log to feed metrics in Prometheus.
My mtail rule file (program) had a bug. Mtail produced a verbose log which quickly filled the filesystem.
/tmp/mtail.INFO ->
/tmp/mtail.myhostname.jdoe.log.INFO.20181102-175507.32037
How can I prevent mtail from filling my production filesystem in such situation ?
How to reduce mtail verbosity ?
logging
logging
asked Nov 9 at 16:28
Franklin Piat
9141023
9141023
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53229663%2fmtails-own-log-grows-too-big-and-fill-teh-fielsystem%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown