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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...