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

Parse Failure slows down entire agent #1678

Closed
galvinograd opened this issue Aug 30, 2014 · 5 comments
Closed

Parse Failure slows down entire agent #1678

galvinograd opened this issue Aug 30, 2014 · 5 comments
Assignees

Comments

@galvinograd
Copy link

When logstash fails to parse a large log file with a large grok parse template, it slows down the entire agent's performance significantly. On the other hand, when the parsing succeeds, logstash is orders of magnitude faster.
Maybe it has something to do with exception handling?

@electrical
Copy link
Contributor

Hi,

For LS 1.5 we have improved the way the Grok filter works and improved the performance by about 2.5 times.
Do you have an example log line and pattern we can test it out with ?

Cheers.

@galvinograd
Copy link
Author

Sadly no... :(

@suyograo
Copy link
Contributor

suyograo commented Sep 5, 2014

@galvinograd Any more information you can add like log line, grok config would be helpful here.

@jordansissel
Copy link
Contributor

We'll need a bit more information to go on. How do you observe the slowdown? Why do you think some kind of exceptions are the cause?

@jordansissel
Copy link
Contributor

For Logstash 1.5.0, we've moved all plugins to individual repositories, so I have moved this issue to logstash-plugins/logstash-filter-grok#41. Let's continue the discussion there! :)

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

4 participants