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!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...