Getting Data In

SC4S on Centos8 VM in Google Cloud - Couldn\'t connect to server error

user1717
New Member

I've followed this guide to install SC4S and connect with Splunk:
https://splunk.github.io/splunk-connect-for-syslog/main/gettingstarted/byoe-rhel8/

And I am getting this error:

2021 Nov 11 00:56:11 sc4s-hostname01 curl: error sending HTTP request; url='https://10.0.0.1:8088/services/collector/event', error='Couldn\'t connect to server', worker_index='0', driver='d_hec_fmt#0', location='root generator dest_hec:5:5'
2021 Nov 11 00:56:11 sc4s-hostname01 Server disconnected while preparing messages for sending, trying again; driver='d_hec_fmt#0', location='root generator dest_hec:5:5', worker_index='0', time_reopen='10', batch_size='1469'

Network connection, token are ok:

curl -k  https://10.0.0.1:8088/services/collector/event -H "Authorization: Splunk <token>" -d '{"event": "hello world"}'
{"text":"Success","code":0}

 

Labels (1)
0 Karma

kprior201_lilly
Path Finder

Hello! Did you ever figure out what was causing this? 

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...