Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Need to pass different host in the HEC call to Splunk #13

Open
technie101 opened this issue Sep 6, 2017 · 0 comments
Open

Need to pass different host in the HEC call to Splunk #13

technie101 opened this issue Sep 6, 2017 · 0 comments

Comments

@technie101
Copy link

technie101 commented Sep 6, 2017

When using the Sink Connector and writing logs from kafka to Splunk, as part of the HEC request, I would also like to pass a different host to the one that gets passed automatically (ex: log_data instead of the default localhost:8088). We need this identifier to identify the source of incoming logs into Splunk. Can this be accomplished?

HEC Request being sent from Kafka to Splunk now :
{“event”:{“data”:[{“name”:”somebody”,”id”:”100″}]}}

HEC Request required:
{“host”:”log_data”, “event”:{“data”:[{“name”:”somebody”,”id”:”100″}]}}

Thanks

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants