We are not able to search for data sent to an HTTP endpoint as listed in the HTTP source configuration.
- First, make sure to run the search query for the HTTP source with the Use Receipt time checkbox under the Time Range selector checked and verify lack of results. If results are seen, this typically points to an incorrect default timezone configured for the Source. Correcting the incorrect timezone is expected to address the issue.
- If results are not seen in the previous test with Use Receipt time checked, the following test will help validate the Sumo Logic service is accepting data for ingestion. Use the following cURL command as given below to send test data to the given endpoint and verify it completes successfully with "HTTP/1.1 200 OK"
curl -v -d "My test data Today's date" -X POST "<http_source_URL>"
- Next, verify that the test data is being shown when searching for data against the specific Source with Use Receipt time checked in the search query.
- If the test data sent to the Source endpoint shows in search UI then it will be necessary to debug the HTTP client as to why the expected data was not sent to the HTTP endpoint.