duanshuaimin / grafana-plugin-splunk-datasource

A Grafana plugin that allows you to query Splunk directly from Grafana.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Splunk Data Source Plugin for Grafana

Splunk Data Source for Grafana

DISCLAIMER! This plugin is a proof-of-concept and breaking changes are very likely to be introduced. Also, it has only been used in toy environments. Thus, if you are considering using it in a production environment, do it at your own risk!

What is Splunk Data Source Plugin for Grafana?

Splunk Data Source Plugin for Grafana is a Grafana (data source) plugin that allows you to pull Splunk data into your Grafana dashboards. Or, in other words, it is a Grafana plugin that allows you to query Splunk directly from Grafana.

splunk-dashboard-in-grafana

Installation

  1. Download the latest version of the plugin

    wget https://github.com/efcasado/grafana-plugin-splunk-datasource/releases/download/vX.Y.Z/efcasado-splunk-datasource-X.Y.Z.tar.gz
  2. Unzip it in your Grafana's installation plugin directory (eg. /var/lib/grafana/plugins)

    tar -zxf efcasado-splunk-datasource-X.Y.Z.tar.gz -C YOUR_PLUGIN_DIR

Configuration

The preferred way to configure Splunk Data Source Plugin for Grafana is using a provisioning file. You can use the provisioning script included in this repository as source of inspiration. However, the plugin can also be manually configured by an administrator from Grafana's UI Configuration --> Datasources --> Add data source.

Getting Started

  1. Build the project

    make build
  2. Spin up the test environment

    make up
  3. Point your browser to localhost:3000

License

The MIT License (MIT)

Copyright (c) 2022, Enrique Fernandez

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A Grafana plugin that allows you to query Splunk directly from Grafana.

License:MIT License


Languages

Language:TypeScript 89.0%Language:Makefile 5.5%Language:JavaScript 4.9%Language:Dockerfile 0.6%