We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I upgraded my logstash server to 2.3.4 using this filter.
After about a week the java process died with "out of heap space". Increasing the heap didn't help, it just took longer until the java process died.
After long hours of debugging I found a solution to this:
In the file 2030_filter_section_c_parse.conf I replaced the lines:
2030_filter_section_c_parse.conf
grok { match => { "rawSectionC" => "(?<requestBody>.+)" }
with
mutate { add_field => { "requestBody" => "%{rawSectionC}" } }
It basically just copies the field rawSectionC to requestBody. That's also what the grok is doing. For me the result is the same.
rawSectionC
requestBody
My logstash 2.3.4 server is running now a couple of weeks with this config without any issues.
For anyone using this filter with logstash 2.x you should also replace the line in the inputs from
charset => "US-ASCII"
to
codec => plain { charset => "US-ASCII" }
Other than that the filter is working fine for me with the new logstash version.
The text was updated successfully, but these errors were encountered:
Can you please submit a pull-request w/ the affected fix? I will then create a new release
Sorry, something went wrong.
Also is the change backwards compatible?
@paltryeffort do you have a PR?
@paltryeffort PR?
fix for #35
4a844ed
No branches or pull requests
Hi,
I upgraded my logstash server to 2.3.4 using this filter.
After about a week the java process died with "out of heap space". Increasing the heap didn't help, it just took longer until the java process died.
After long hours of debugging I found a solution to this:
In the file
2030_filter_section_c_parse.conf
I replaced the lines:with
It basically just copies the field
rawSectionC
torequestBody
. That's also what the grok is doing. For me the result is the same.My logstash 2.3.4 server is running now a couple of weeks with this config without any issues.
For anyone using this filter with logstash 2.x you should also replace the line in the inputs from
to
Other than that the filter is working fine for me with the new logstash version.
The text was updated successfully, but these errors were encountered: