Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Why does the C# SDK 2.0 only work when a query produces results?

$
0
0
Perhaps similar to: https://answers.splunk.com/answers/206372/enumerating-empty-searchresultstream-causes-invali-1.html When I do: var job = await Service.Jobs.CreateAsync(searchString); using (var stream = await job.GetSearchResultsAsync()) ... I get the modal window for: Debug.Assert(reader.NodeType == XmlNodeType.EndElement && reader.Name == "results", "Expected: "); (here, NodeType is None and reader.Name = "") From: ReadMetadataAsync() In: Splunk.Client.SearchResultStream And it is in an infinite loop with for (;;). Again, everything works fine when the query produces results.

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>