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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...