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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...