Splunk Search

Splunk c#sdk export

dwarakap
New Member

Hi ,
For analytical purpose we are downloading splunk data , daily we process large amount of data ( 3-4 millions of records)
currently we are using native  http client call to splunk export api endpoint    in c# and able to fetch the data.

we are planning to  switch to splunk sdk for better performance

in poc, I have used ExportSearchPreviewsAsync() but I am not able to download the data 

I am facing below issues , it will be great help if you guys can share your ideas 
1)  though I am setting earliest date and latest date in search arg jobs but method call is not taking those values.

2)  data is coming in xml format , tried passing output to csv but no luck

3) also please suggest how can we save searchid from above methodcall

Labels (2)
Tags (1)
0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...