Getting Data In

How to troubleshoot why the URL endpoint for HTTP Event Collector results in 404 Not Found?

kikeyama
Splunk Employee
Splunk Employee

Though I set up the HTTP Event Collector according to http://docs.splunk.com/Documentation/Splunk/6.3.2/Data/UsetheHTTPEventCollector, the endpoint URL is not enabled. The endpoint URL http://hostname:8088/services/collector/event results in 404 Not Found.
How can I fix it?

Also I encountered "HTTP Input data endpoint server cannot be started." error when I saved Global Settings in HTTP EC as seen in the attached image.
alt text

Is this error relevant to 404?

0 Karma
1 Solution

s2_splunk
Splunk Employee
Splunk Employee

I would think so. Is port 8088 available on your server? Have you checked splunkd.log to see whether it contains any further details as to why you cannot enable the HTTP input listener?

View solution in original post

0 Karma

s2_splunk
Splunk Employee
Splunk Employee

I would think so. Is port 8088 available on your server? Have you checked splunkd.log to see whether it contains any further details as to why you cannot enable the HTTP input listener?

0 Karma

kikeyama
Splunk Employee
Splunk Employee

I enabled 8088 but it was already used in apache. I didn't notice it.
I was stupid... Thank you, guys!! It's resolved.

0 Karma

gblock_splunk
Splunk Employee
Splunk Employee

You can also configure the port in HEC if you'd like to use a different port than the default.

0 Karma

jkat54
SplunkTrust
SplunkTrust

Kikeyama,

I have converted ssievert's comment to an answer. Please mark it as the answer if you believe it is.

0 Karma

Sebastian2
Path Finder

Did you check the log files? Why can the endpoint not be started? Insuffient privileges? Port already in use? Check in /var/logs

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...