Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constrain log length (otherwise ELK dies) #166

Open
Trolldemorted opened this issue Jul 7, 2021 · 8 comments
Open

Constrain log length (otherwise ELK dies) #166

Trolldemorted opened this issue Jul 7, 2021 · 8 comments

Comments

@Trolldemorted
Copy link
Member

if the disk goes full entire transactions are logged, and then elk goes belly-up

@DanielHabenicht
Copy link
Contributor

see #162 ?

@Savallator
Copy link
Contributor

And what do you want to do when the Disk runs full? It is not like you could recover from that...
And regarding the other Issue, if you really want, you could at least use Serilogs to directly log to the logstash. Rolling logfiles are a bad idea and don't help anyone.

@Trolldemorted
Copy link
Member Author

This has nothing todo with #162 or full disks, this is about the length of a single logmessage

@Savallator
Copy link
Contributor

You mentioned the disk running full in your first post?

@Savallator
Copy link
Contributor

I see why it would be nice to truncate overly long log messages, but that won't help when the disk runs full?
But anyways, can we not enforce length limits on later stages as well? like in the logstash e.g.?

@Trolldemorted
Copy link
Member Author

Trolldemorted commented Jul 8, 2021

You mentioned the disk running full in your first post?

this happens when the disk of the engine runs full, and I don't want full engine disks to kill my Elk (which runs on a different machine) :sad_elk:

@Savallator
Copy link
Contributor

Well, but that could indeed be fixed by cutting out filebeat and logging directly to the logstash. That way logs won't accumulate on the disc.

@Trolldemorted
Copy link
Member Author

sure, but that won't help against other (future) logmessages that will kill elk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants