Splunk Enterprise

Splunk not recieving data from HEC

ominfo
Explorer

I am hiting curl

curl -k "https://input-prd-p-XXXXXXXXX.cloud.splunk.com:8088/services/collector/raw?channel=00872DC6-AC83-4EDE-8AFE-8413C3825C4C&sourcetype=mydata&host=sahu" -H "Authorization: Splunk xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx" -d 'ravisahu_anugrah_adams'

getting success response:

{"text":"Success","code":0,"ackId":7}

Still cant see data sent to splunk in search

Tags (1)
0 Karma

woodcock
Esteemed Legend

Do an All-time search for host=sahu _index_earliest=-5m; the timestamp may be wrong/misinterpreted and it may not have landed where you expect it.

0 Karma

xpac
SplunkTrust
SplunkTrust

Hey, just in case, I'd try to run a search like this:

| tstats count where index=* and host=sahu by index host sourcetype

Run that search before and after you send something with curl, to see if you really don't get the data, or if just happens to land somewhere where you're not searching.

0 Karma

ominfo
Explorer

0 events before and after hitting curl

My asumption is I am not getting any Configure Receiver in 'Forwarding and receiving' section.
I think data is not going to splunk.
I checked sending data with forwarder also, but no luck

See my question
https://answers.splunk.com/answers/655567/i-dont-see-receive-data-section-under-settings-for.html

Search & Reporting dashboard says

What to Search
8,033 Events
INDEXED 10 days ago
EARLIEST EVENT 10 days ago
LATEST EVENT

I uploaded a test file back 10 days
No event after that

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...