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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...