https://github.com/gnubyte/splunksetups
Simple Splunk setup scripts
https://github.com/gnubyte/splunksetups
bash-script splunk splunk-deployment
Last synced: about 1 month ago
JSON representation
Simple Splunk setup scripts
- Host: GitHub
- URL: https://github.com/gnubyte/splunksetups
- Owner: gnubyte
- Created: 2018-01-19T17:14:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-02-23T18:11:35.000Z (over 3 years ago)
- Last Synced: 2025-03-16T20:23:49.912Z (over 1 year ago)
- Topics: bash-script, splunk, splunk-deployment
- Language: Shell
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SplunkSetups
Simple Splunk setup scripts for a variety of causes
## Table of Contents
1. [Useful Splunk CLI commands](https://github.com/gnubyte/SplunkSetups/blob/master/cliUsefulCommands.sh)
1. [Single Splunk All In One Instance Setup Script](https://github.com/gnubyte/SplunkSetups/blob/master/singleAioInstance.sh)
------
### cliUsefulCommands.sh
_A list of commands found useful during deployment. Best for small teams or single server setups_
#### :fire: For testing purposes only - not intended for production ready scripted deployments
When used in context, it is a good checklist for clearing fishbuckets, checking inputs, changing host level network configs for ease of splunk deployment server automation, etc.
**Scripts Contents:**
- RHEL installation
- add search peer
- verifying who is running splunk
- resetting splunk password
- changing server hostname
- change server config
- list block devices attached to instance
- report existing disk space used
- Changing disk size, grow the partition if added scale
- changing splunk host name
- clear event data
### singleAioInstance.sh
Installation via tgz files of Splunk instance. Current link represents splunk 7.x
Run with elevated permissions, this will change the directories owner to Splunk and auto start the splunk instance.
**this will change the current password to changed**
#### :fire: RHEL & Debian based distros supported at this time only