Skip to content

Commit 08a2722

Browse files
committed
change for kibana 6.3
1 parent 663a8c2 commit 08a2722

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# kibana-API 0.4.0
1+
# kibana-API 0.5.0(kibana 6.3 and above)
22
Kibana-API is an extension to Kibana that lets you tap in to the dashboard management board from your app and change the visualizations dynamically.</br></br> I recommend you read all, step by step, but if you don't have patience go to [How To Use](https://github.com/Webiks/kibana-API/blob/master/README.md#how-to-use)
33

44

@@ -55,6 +55,11 @@ Create visualizations by uploading a json file with an array of the visualizatio
5555
# Install
5656
cd kibana_home, then type the appropriate command:
5757

58+
Kibana 6.3.0
59+
```
60+
./bin/kibana-plugin install https://github.com/Webiks/kibana-API/releases/download/6.3.0_0.5.0/kibana_api-0.5.0.zip
61+
```
62+
5863
Kibana 6.2.4
5964
```
6065
./bin/kibana-plugin install https://github.com/Webiks/kibana-API/releases/download/6.2.4_0.4.0/kibana_api-0.4.0.zip

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "kibana_api",
3-
"version": "0.4.0",
3+
"version": "0.5.0",
44
"description": "This plugin allow you to crete visualization dynamiclly",
55
"main": "index.js",
66
"kibana": {
7-
"version": "6.2.4"
7+
"version": "6.3.0"
88
},
99
"repository": {
1010
"type": "git",

server/routes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function getIndexPatternId(iReq) {
140140

141141
let urlHeader = iReq.headers.referer.split('app')[0] + 'api/saved_objects';
142142
let urlMiddle = iReq.payload.title ? '&search="' + iReq.payload.title + '"&search_fields=title&' : '&';
143-
let url = urlHeader + '?type=index-pattern' + urlMiddle + 'fields=title';
143+
let url = urlHeader + '/_find?type=index-pattern' + urlMiddle + 'fields=title';
144144
request.get(url, function (error, response, body) {
145145
if (error) {
146146
console.log(error);

0 commit comments

Comments
 (0)