Splunk - wuyichen24/spring-microservices-in-action GitHub Wiki
- Step 1: Sign Up on Splunk Website
- Step 2: Download Splunk Free
- Step 3: Install Splunk Enterprise on Mac OS
- Step 4: Login Splunk Web Portal
- Manage Splunk by CLI
- References
-
http://localhost:8000
- Use the administrator's username and password to log in.
/Applications/splunk/bin/splunk
-
Manage Splunk server
- Start server:
./splunk start
- Stop server:
./splunk stop
- Restart server:
./splunk restart
- Check server's status:
./splunk status
- Start server:
-
Manage apps
- Add an app:
./splunk create app [appname] -auth <username>:<password>
- Remove an app:
./splunk remove app [appname] -auth <username>:<password>
- Add an app:
-
Manage data inputs
- Add a data input
- UDP:
./splunk add udp [portnumber]
- TCP:
./splunk add tcp [portnumber]
- UDP:
- Remove a data input:
- UDP:
./splunk remove udp [portnumber]
- TCP:
./splunk remove tcp [portnumber]
- UDP:
- Add a data input
-
Run a command with authentication
- Append
-auth <username>:<password>
at the end of the command.
- Append