-
Notifications
You must be signed in to change notification settings - Fork 18
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
How to override facility #25
Comments
I also have the same issue here. I am try to sent gelf udp messages from logstash to graylog2 and i am always getting facility gelf-rb. Anyone find a solution here ? |
@Slapper One ugly way is to change source code. A downside is you have to do it everytime you upgrade the plugin. Just find "gelf-rb" text in a source code and change it. A better way is to ignore "facility" field and start using a different field for all of your applications. |
Thanks for the prompt response @n3xus ! I agree change source code it's an ugly thing. I probably have to go with the other option and use different fields for my apps. Thanks again! |
For anyone want to disable default facility to the source code, comment the following line in :
|
How to override facility?
I've tried custom_fields, add_field in filter. But no success. It's always defaulting to gelf-rb
The text was updated successfully, but these errors were encountered: