dashpay / dash-network-deploy

Tools for Dash networks deployment and testing
MIT License
21 stars 19 forks source link

feat: configure tenderdash view in kibana #659

Open lklimek opened 3 months ago

lklimek commented 3 months ago

Issue being fixed or feature implemented

Every time we deploy a devnet, we need to configure Kibana views manually from scratch

What was done?

Exported Tenderdash config from Kibana.

Modified the elastic_stack role to import exported configuration.

How Has This Been Tested?

Ansible part - NOT TESTED

Kibana API tested with:

curl -X POST "http://localhost:5601/api/saved_objects/_import" \
     -u "elastic:$PASS" \
     -H "kbn-xsrf: true" \
     --form  "file=@files/tenderdash.ndjson"

Breaking Changes

Checklist:

For repository code-owners and collaborators only