When you run the makeresults command, it generates synthetic events with a timestamp of the current time by default. However, when you collect these events to a summary index, they may not be immediately visible in the summary index search results because there may be a delay before they are indexed and available for search.
If your summary index is configured correctly and the data is being collected to it, but you still cannot see the results of your makeresults search, you may need to wait a little longer for the events to be indexed before they become available in the summary index search results.
Hi, I have search it using index="sample_index" but no result 😞
@splunker-2021 - Are you getting any error/warning messages when you run the collect command?
there is no error message, we just search the index="sample_index" if there is data but it is showing no result.
when we try this command, index="test_1" | collect index="sample_index" it is working, but when trying the command | makeresults or | inputlookup command, it is not collecting to the index
@splunker-2021 - That should not be the case as I have used collect command with makeresults command many times before and it works fine. Not sure what's wrong in your case.
@splunker-2021 - You query should work, considering below:
Try searching the new event with below search to see if you are getting the results or not:
index=sample_index
I hope this helps!! Kindly upvote if it does!!!