I have a splunk trial version and i am trying pushing aws waf logs through HEC- I have enabled the token perfectly and also tried with several endpoints, but it dint worked. Most of the Splunk documents has a guide for splunk cloud instance on how to enable the endpoints but i could not find any documents which says how to configure the endpoints for splunk enterprise trial.
Meanwhile i tried with the all the three way of endpoints
<protocol>://<host>:<port>/<endpoint>
<protocol>://input-<host>:<port>/<endpoint>
and
<protocol>://http-inputs-<host>:<port>/<endpoint>
are you trying to send data from AWS to your on premise enterprise instance?
Are you trying programmatically ? Whats the error ?
https://docs.splunk.com/Documentation/Splunk/8.0.6/Data/HECExamples