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!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...