git clone https://github.com/arrnitage/influxdbkit.git
cd influxdbkit
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt- Enum current user
- Enum users
- Enum databases
- InfluxQL interactive shell
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 tokenExample
-
enum users, databases
python3 influxdbmap.py enum -H 127.0.0.1 --token your_token
-
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