Getting Data In

Why is my HTTP Event Collector curl successful, but it returns no data in Splunk?

TiagoTLD1
Communicator

Hello,

I am testing a simple HTTP Event Collector input:

$ curl -k "https://localhost:8088/services/collector" -H "Authorization: Splunk xxxxxxxxxxxxxxxxxxxxxxxxxx" -
d '{"event": "andfnadjf"}'

It returns success but data is not getting into the default index (actually into any index)

Returns: {"text":"Success","code":0}

Any ideas?

esix_splunk
Splunk Employee
Splunk Employee

Can you post your config file?

0 Karma

chetanamumbaika
New Member

I am also facing the similar issue. @TiagoTLD1 have you got answer to this?

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...