Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/secnnet/splunkqueryautomation.py


https://github.com/secnnet/splunkqueryautomation.py

data-analytics it-operations log-analysis python-automation python-sdk security-monitoring splunk splunk-automation splunk-sdk splunk-search-queries xml-parsing

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        

# Splunk Query Automation

Automate Splunk searches, parse XML outputs, and display results.

### Prerequisites:
- Python 3.x
- Splunklib

### Installation:
1. Clone/download the script.
2. `pip install splunklib`
3. Edit script for Splunk details (username, password, host, port).

### Usage:
Run `python SplunkQueryAutomation.py` (replace with actual filename).

### Customization:
- Adjust `search_query` for desired searches.
- Edit `display_output` for custom result formats.

### License:
MIT

See Splunk SDK for Python for detailed Splunklib usage.