Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use it? #1

Open
BConcernedOnFamily opened this issue Sep 3, 2019 · 0 comments
Open

How to use it? #1

BConcernedOnFamily opened this issue Sep 3, 2019 · 0 comments

Comments

@BConcernedOnFamily
Copy link

BConcernedOnFamily commented Sep 3, 2019

I want to know how to run it. I try to run it but the result isn't what I want. So I have no idea to deal with it. Could you please give some the guidance process.

I run the dynamic_kibana_dasboards_api.py, the result is:

b'{"type":"visualization","id":"5000","attributes":{"title":"AutomatedVisualisations_5000","visState":"{\"title\": \"AutomatedVisualisations_5
000\", \"type\": \"timelion\", \"params\": {\"expression\": \".es(index=perfsec-d50-1*, q='system.process.name:gsifilter_huntjob-Inter
active',metric=sum:system.process.memory.size,fit=nearest).label('Run1_VirtualMemory(GB)').divide(1073741824).color(red).lines(fill=2,width=1)
,.es(index=perfsec-d50-2*, offset=+68m,q='system.process.name:gsifilter_huntjob2-Interactive', metric=sum:system.process.memory.size,fit=neares
t).label('Run2_VirtualMemory(GB)').divide(1073741824).color(green).lines(fill=2,width=1)\", \"aggs\": []}, \"interval\": \"auto\"}","uiS
tateJSON":"{}","description":"","kibanaSavedObjectMeta":{"searchSourceJSON":"{}"},"version":1},"migrationVersion":{"visualization":"6.7.2"},"upda
ted_at":"2019-09-03T02:58:54.673Z","version":"WzIyNzYsMl0="}'
http://192.168.2.2:5612/api/saved_objects/dashboard/5001?overwrite=true {"attributes": {"title": "AutomatedDashboards_5001", "hits": 0, "descr
iption": "", "panelsJSON": "[{"gridData": {"w": 100, "h": 2, "x": 0, "y": 0, "i": "1"}, "version": "6.1.3", "panelIndex": "1
", "type": "visualization", "id": "5000"}]", "uiStateJSON": "{}", "version": 1, "timeRestore": false, "kibanaSavedObjectMeta": {"searchS
ourceJSON": "{"query": {"query": "", "language": "lucene"}, "filter": [], "highlightAll": true, "version": true}"}, "optionsJSON"
: "{"darkTheme": false, "useMargins": true, "hidePanelTitles": false}", "timeTo": "Mon Jun 25 2018 18:20:56 GMT+0530", "timeFrom": "Mon Jun
25 2018 17:50:56 GMT+0530"}}
b'{"type":"dashboard","id":"5001","attributes":{"title":"AutomatedDashboards_5001","hits":0,"description":"","panelsJSON":"[{\"gridData\": {\"
w\": 100, \"h\": 2, \"x\": 0, \"y\": 0, \"i\": \"1\"}, \"version\": \"6.1.3\", \"panelIndex\": \"1\", \"type\": \"visualiza
tion\", \"id\": \"5000\"}]","uiStateJSON":"{}","version":1,"timeRestore":false,"kibanaSavedObjectMeta":{"searchSourceJSON":"{\"query\": {
"query\": \"\", \"language\": \"lucene\"}, \"filter\": [], \"highlightAll\": true, \"version\": true}"},"optionsJSON":"{\"darkThem
e\": false, \"useMargins\": true, \"hidePanelTitles\": false}","timeTo":"Mon Jun 25 2018 18:20:56 GMT+0530","timeFrom":"Mon Jun 25 2018 17:5
0:56 GMT+0530"},"updated_at":"2019-09-03T02:58:55.513Z","version":"WzIyNzcsMl0="}'

it's something I was wrong? why can't see the dashboard?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant