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!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...