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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...