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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...