Getting Data In

How to connect to a splunk server and get the exported CSV

zackh123
Path Finder

I'm completely new to splunk and I'm pretty stuck so I'm sorry in advance if any of this is unclear.

How would I be able to connect to splunk server on the internet, and retrieve the exported data in a CSV?

Where I am at is...

splunk -uri https://splunk.website.cc -auth user, pass

Any help would be appreciated.

Tags (3)
0 Karma
1 Solution

yannK
Splunk Employee
Splunk Employee


splunk search "mysearch | table field1 field2 " -output csv -uri https://splunk.website.cc -auth user, pass > myresult.csv

View solution in original post

0 Karma

yannK
Splunk Employee
Splunk Employee


splunk search "mysearch | table field1 field2 " -output csv -uri https://splunk.website.cc -auth user, pass > myresult.csv

0 Karma
Get Updates on the Splunk Community!

Platform Newsletter Highlights | March 2023

 March 2023 | Check out the latest and greatestIntroducing Splunk Edge Processor, simplified data ...

Enterprise Security Content Updates (ESCU) - New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 3 releases of new content via the Enterprise ...

Thought Leaders are Validating Your Hard Work and Training Rigor

As a Splunk enthusiast and member of the Splunk Community, you are one of thousands who recognize the value of ...