Log a direct link to the graylog message (github workaround) #60
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a duplicate pull request of #39 to work around github displaying all commits in a merge operation. Text from original pull request:
A link to the stream is useful, but it's even more useful to be able to get
directly to the message. This is especially true if you are looking at an older
message that's outside of the time window given.
This commit misses one thing: referencing the correct index. Hopefully that can
be fixed before a merge. In the meantime I'm using
graylog_deflector
, whichwill the index active at the time of using the URL.
I would love some help on how to get the current index. As mentioned in the
code comment, using
msg.getFieldAs(String.class, "_index")
gave menull
.