Go to file
Vicent Llopis 98d2029582 arreglso 2023-02-02 14:57:50 +01:00
.vscode arreglso 2023-02-02 14:57:50 +01:00
node_modules arreglso 2023-02-02 14:57:50 +01:00
.eslintrc.yml algunos errores corregidos 2023-02-01 15:16:15 +01:00
.gitignore Add gitignore and fixes 2022-06-22 13:51:49 +02:00
.grafana-find.json algunos errores corregidos 2023-02-01 15:16:15 +01:00
LICENSE last commits 2022-06-17 14:45:02 +02:00
README.md traslation 2022-06-23 09:40:08 +02:00
main.js arreglso 2023-02-02 14:57:50 +01:00
package-lock.json arreglso 2023-02-02 14:57:50 +01:00
package.json arreglso 2023-02-02 14:57:50 +01:00
test.txt algunos errores corregidos 2023-02-01 15:16:15 +01:00

README.md

Grafana Find

Search for a string both in the grafana queries and in the variables.

Requirements

  • Git
  • Grafana

Installation

It's recommended to install the package globally.

$ npm i -g grafana-find
$ grafana-find <string>

You can also install locally and use the npx command to execute it.

$ npm install grafana-find
$ npx grafana-find <string>

Create a file ".grafana-find.json" with this content to don't put everytime the credentials:

{
	"grafanaUrl": "<server>",
	"user": "<user>",
	"password": "<pass>"
}

Save the file into user folder (Windows: %HOMEPATH% || Linux: $HOME) or current path, the user and password are optional.

How to use

Execute grafana-find with the desired command.

$ [npx] grafana-find [-h|--help] [-v|--version] <string>

Built with