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

Add mention about gelf.extensions.logging #63

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions docs/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ This input will read GELF messages as events over the network,
making it a good choice if you already use Graylog2 today.

The main use case for this input is to leverage existing GELF
logging libraries such as the GELF log4j appender. A library used
logging libraries such as the GELF log4j appender, or gelf.extensions.logging provider (.Net). A library used
by this plugin has a bug which prevents it parsing uncompressed data.
If you use the log4j appender you need to configure it like this to force
gzip even for small messages:
Expand All @@ -34,6 +34,9 @@ gzip even for small messages:
<GelfLayout compressionType="GZIP" compressionThreshold="1" />
</Socket>

If you use the gelf.extensions.logging provider, you'll need to set the following variable (in configuration) to force compression for all messages:

"UdpCompressionThreshold": 0


[id="plugins-{type}s-{plugin}-options"]
Expand Down Expand Up @@ -141,4 +144,4 @@ e.g. `\_foo` becomes `foo`
[id="plugins-{type}s-{plugin}-common-options"]
include::{include_path}/{type}.asciidoc[]

:default_codec!:
:default_codec!: