Splunk Search

How to find events that were sent to HEC?

ningziwen
New Member
Hi, I’m using splunk docker image with HEC to send log. I got Success message as the guideline. How could I query the log to see “hello world”, which was what I just sent?I tried a few search related curl commands but all of them just returns a very long xml. “hello world” is not in the response.
Such as
 
curl -k -u admin:1234567Aa! https://localhost:8089/services/search/jobs -d "search *"

 Could anyways share me a search curl command that can return "hello world" that I sent? I only have one record so I don't need complicated filtering.

Labels (2)
Tags (1)
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 ...