-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
out_splunk: add new property "channel" to set channel identifier (#3318)
If we use HEC includes raw events, X-Splunk-Request-Channel header must be needed. This new property is to set it. https://docs.splunk.com/Documentation/SplunkCloud/latest/Data/FormateventsforHTTPEventCollector#Channel_identifier_header Signed-off-by: Takahiro Yamashita <[email protected]>
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23aaf15
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @nokute78 ,
I'm trying docker build 1.8.1 and I see that
channel
is one of the valid properties for splunk output,But when using the splunk output like this,
I still see Splunk returning the error
{"text":"Data channel is missing","code":10}
and when I enable trace output I get this,
I dont see the
X-Splunk-Request-Channel
channel header being set.23aaf15
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you open an issue ?
It is hard to follow an comment for commit.
23aaf15
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sbellan I found the root cause and I sent a patch #3760
Thank you for reporting issue.
23aaf15
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.