Skip to content

How can I specify exact GELF endpoint? #115

Answered by dustinchilson
prcdpr asked this question in Q&A
Discussion options

You must be logged in to vote

/gelf is always appended to the url,

https://github.com/dustinchilson/NLog.Targets.GraylogHttp/blob/master/src/NLog.Targets.GraylogHttp/GraylogHttpTarget.cs#L64

So if you want to move it to a subfolder behind a proxy you can provide the port (Assuming its a non-standard port for Http[s]) as part of the graylogServer variable and not provide the graylogPort variable.

The Port is optional, https://github.com/dustinchilson/NLog.Targets.GraylogHttp/blob/master/src/NLog.Targets.GraylogHttp/GraylogHttpTarget.cs#L66

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by dustinchilson
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #115 on December 10, 2020 14:52.