Perhaps a beginner question, but I am not sure what URL I have to call to send my event data. I know the URL for localhost and I get this, but now when I tried the Splunk Cloud version, I am unable to find the correct URL.
So I was able to open a support case through another department in our organization and the support rep pointed me here:
So the url format is:
input prefix and the
8088 port. That worked for me and the support rep did not state anything needed to be enabled.
I hope that helps.
Also, if you are getting a connection refused, make sure the HTTP Event Collector is enabled in Global Settings (Data Inputs >> HTTP Event Collector > Global Settings > Enable).
Edit: Sorry for the spam. I was getting a 500 error and didn't realize the posts were going through!
Double Edit: Added note for Global Settings
If you are using Splunk Cloud, you will have to work with the Cloud support team to set up HTTP event collection.
If you are using Splunk Enterprise, you enable HTTP event collection on a particular port. Your URL should be
You might want to read the HTTP Event Collector Walk-through
I signed up for a new account a couple of months ago and I didn't have a problem enabling the HEC per the docs above. As noted in my answer the url will be the url of your Splunk hostname prefixed with input- and suffixed by :8088. For example, if your Splunk url is
Then, your target url is::
Even I tried to adding HEC token and enabling it from global settings. I was able to update global settings and save it but it didn't allow update to HEC port which was set to default 8088. When I tried to send http post the request timed out and even nc command failed for 8088. It looks like we need to get this port enabled via cloud support. Which means we can't do it on trial version.
I have a free trial version of Splunk Light. I can add HTTP Event Collectors within the UI. However, I cannot file a support ticket, because I have the free version.
What do you suggest?
@iguinn: Except that according to https://www.splunk.com/content/splunkcom/en_us/support-and-services/support-programs.html community users, the ones who are trying the product have no access to support.
So, could someone please confirm if during the free trial is imoossible to use HTTP Event Collector, because seting it up requires "to work with the Cloud support team"?