Open john-corcoran opened 2 years ago
@john-corcoran can I get some additional information from you?
Hi @tdhellmann - this is from the Docker version of Splunk Enterprise (v8.2.4) (https://hub.docker.com/r/splunk/splunk/), running locally on a single host (using sample data) with search head / clustering defaults (I'm not sure on the specifics for Splunk in Docker, but can find out if needed). (I've mostly copied notes from my previous message, please let me know if there's more detail you needed that I've missed.)
Describe the bug Identical non-transforming searches run across fast, smart and verbose modes (modes selected using
adhoc_search_level
parameter) will return fewer events and results when using verbose mode. This may be expected behaviour due to additional system constraints when using verbose mode, however no warning is raised and I haven't found any documentation that indicates this is a risk (apologies if it exists and I've missed it).To reproduce
"search index=indexname"
adhoc_search_level
),eventCount
andresultCount
for the job will be the same figure (150K for an example index I'm running it on). Pulling the events and results in separate operations (usingresults.JSONResultsReader(job.events)
andresults.JSONResultsReader(job.results)
) will return equivalent datasets (for each, data is pulled in 50K paginated batches).eventCount
will be the same figure as above, however theresultCount
will be a smaller figure (30K in my example). Pulling the events and results using theJSONResultsReader
operations listed above will result in equivalent datasets, however they will both be for the smaller figure - i.e. theeventCount
, although listed as the correct figure (150K), is inaccurate and the returned events will also be fewer than they should be (pagination is still attempted in 50K batches for the 150K sizeeventCount
, but only 30K of events are returned in my example).Expected behavior That verbose non-transforming searches would have the same event and result counts returned as fast and smart searches.
Splunk:
SDK: