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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...