How to find events that were sent to HEC?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 549
- Forks
- 277
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 2
Description
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.
Same question in Splunk community: https://community.splunk.com/t5/Splunk-Search/How-to-find-events-that-were-sent-to-HEC/m-p/658181#M227357
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with EXAMPLES.html#create-standalone-with-hec and the issue's /services/search/jobs endpoint, then review the linked Splunk Community discussion for the expected search flow. Document a minimal way to query the HEC event and verify that the submitted “hello world” record is returned.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100