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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...