Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kellewic/splunk-sqlanalyzer
Analyze database statements with Splunk
https://github.com/kellewic/splunk-sqlanalyzer
Last synced: 1 day ago
JSON representation
Analyze database statements with Splunk
- Host: GitHub
- URL: https://github.com/kellewic/splunk-sqlanalyzer
- Owner: kellewic
- Created: 2023-07-24T19:44:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-24T19:49:28.000Z (over 1 year ago)
- Last Synced: 2023-07-24T20:53:31.574Z (over 1 year ago)
- Language: Python
- Size: 217 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# splunk-sqlanalyzer
Analyze database statements with Splunk## Notes
The example view expects data to be in `index="main" sourcetype="redshift"`.
The code has only been tested with PostgreSQL statements although the underyling [sqlglot](https://github.com/tobymao/sqlglot) library supports more dialects.
The custom command does take `dialect` as a parameter but it's never been tested with other SQL statements.