Hi,
i'm trying to connect Jenkins with Splunk Enterprise (I have a student license), I'm using the Splunk plugin in Jenkins, unfortunately, when I press the "Test connection" button, it tells me connection refused.
I have locally installed Splunk on Ubuntu and i run Jenkins from Docker.
In Splunk I created a HEC for Jenkins, the HEC is correctly enabled.
I tried this command on terminal: curl -k https://localhost:8088/services/collector/event -H "Authorization: Splunk mytoken" -d '{"event": "hello world"}' and the response is {"text": "Success", "code": 0} .
But when i try to connect from Jenkins the response is "connection refused".
I tried Splunk cloud trial for 15 days and using cloud url Jenkins was connecting properly. With local Splunk I can't get it connected.
Can someone please help me?
... View more