Skip to content

Arrnitage/influxdbkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

InfluxDB Kit

Install

git clone https://github.com/arrnitage/influxdbkit.git
cd influxdbkit
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt

influxdbmap.py

Feautres

  • Enum current user
  • Enum users
  • Enum databases
  • InfluxQL interactive shell

How to use?

usage: influxdbmap.py [-h] -H HOST [-P PORT] [--token TOKEN] method

positional arguments:
  method                Choice method, { enum | sqlshell }

options:
  -h, --help            show this help message and exit
  -H HOST, --host HOST  InfluxDb host
  -P PORT, --port PORT  InfluxDb port, default 8086
  --token TOKEN         token

Example

  1. enum users, databases

    python3 influxdbmap.py enum -H 127.0.0.1 --token your_token
  2. InfluxQL interactive shell

    python3 influxdbmap.py sqlshell -H 127.0.0.1 --token your_token 

    InfluxQL interactive shell help information

    Help Information
        .help  - help information
        .setdb - select database
        .exit  - exit sql shell
        .quit  - exit sql shell
    

About

Enum influxDB and influxQL interactive shell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages