Splunk Search

Create a HEC Token For splunk Enterprise & Splunk Cloud via the PostMan Tool

PoojaDevi
Loves-to-Learn Lots

I ve came across a post where im trying to fetch the HEC Token via the REST API.

When I tried that locally Im getting the 404 Error. Kindly help on this

PoojaDevi_0-1763710573690.png

 

https://help.splunk.com/en/splunk-enterprise/get-started/get-data-in/9.3/get-data-with-http-event-co...

Labels (1)
0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @PoojaDevi 

Based on that HTML response you are hitting the Web UI port for Splunk and not the management port. Typically this runs on 8089 but as you are running port 8001 not 8000 for the Web port there is every chance yours is also different.

Are you running this locally or in a Docker container? Are there any local firewall restrictions that could be blocking 8089 when you try to use it?

Also - For Splunk Cloud the recommendation is to use Admin Config Service (ACS) - see https://help.splunk.com/en/splunk-cloud-platform/administer/admin-config-service-manual/9.2.2406/adm...

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You appear to be using port 8001 - have you tried port 8089 as suggested in the page you referenced?

0 Karma

PoojaDevi
Loves-to-Learn Lots

I have hosted the splunk server in 8001 port. And when I tried with the 8089 port, I received the connection error.

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Have you enabled the management port?

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...