Deployment Architecture

extract data from splunk in unix not using curl

midhunm91
New Member

Hi All, 

we are able to extract data from splunk ,by running unix script which was using ''Curl' utility 

/opt/bin/curl -s -S -m 60 -k ${url} -u "${userid}:${passwd}" -o $file_tmp -d output_mode=csv -d search="${src}"

We now need to migrate from using curl,is there a replacement utility which we can use to do this now .

In unix using shell 

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Why do you need to stop using curl?  Have you considered wget? Google?

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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