Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

HTTPS collector not receiving items from scrape?

$
0
0
Using Splunk enterprise. https://45.55.161.5:8000/en-US/app/launcher/home A HTTPS event collector is listening on 8088 with token DB84F19F-B2F1-4B89-BB38-643DFB641B34 From source, this code is trying to send JSON to Spunk. But Splunk does not receive. Can anyone help to get this right? Thanks import requests import json url = 'http://45.55.161.5:8088/services/collector/event' payload = { "Test": "Splunk ", } headers = { "Authorization": "Splunk DB84F19F-B2F1-4B89-BB38-643DFB641B34", } r = requests.post(url, data=json.dumps(payload), headers=headers) print(r.content)

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>