Splunk Search

Cannot find the events sent with HTTP Collector

sc_admin2
New Member

I'm using HTTP collector on my free trial cloud instance.

URLs I tried:

 https://inputs.<MY_SPLUNK_INSTANCE_ID>.splunkcloud.com:8088/services/collector/event/1.0
 https://inputs.<MY_SPLUNK_INSTANCE_ID>.splunkcloud.com:8088/services/collector/event
 https://inputs.<MY_SPLUNK_INSTANCE_ID>.splunkcloud.com:8088/services/collector


Payloads I tried:
1)  {time: -3730851658780559,event: { event: 'test', message: 'localhost event', myts: 1628340011441 }}
2) '{"time":"1628340065.594","event":{"message":"localhost event","severity":"info"}}'

Responses I'd get: { text: 'Success', code: 0 }

Then, I tried these search queries into my Splunk search app, and I get 0 events:

- event.message=*
- event=*

sc_admin2_0-1628340175736.png


What is happening?

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Did you define a HEC token?  Are you using the same token in your submissions?  

Also, be sure to specify an index name in your search as your default indexes may not include the one in which the HEC events are stored.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...