Python script to export Kibana dashboards
python3 kibana_extract.py --url http://localhost:5601 -u elastic_user -p changeme -d ./extracts
- required arguments
--url URL Kibana URL. E.g. http://localhost:5601.
-u USER, --user USER Kibana user
-p PWD, --pwd PWD User password
- optional arguments
-h, --help show this help message and exit
-d DIR, --dir DIR Output directory. Default "./extracts"
Add parameters to pipeline.conf file and run start_with_configs.py
[elastic]
host = localhost
port = 5601
user = elastic
password = changeme
pip install requests ndjson python_json_logger
Based on a post at discuss.elastic.co