Skip to content

Commit 9869b69

Browse files
author
guyplusplus
committed
more info
1 parent 46556a6 commit 9869b69

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Kibana Plugin - Custom Form Filter Visualization
22

3-
This project is a simple tutorial for Kibana new comers trying to developer their own vizualisation plugin. The actual usecase of this plugin is to create a custom form to filter data and tailor dashboard output.
3+
This project is a simple tutorial for Kibana new comers trying to develop their own vizualisation plugin. The actual usecase of this plugin is to create a custom form to filter data and tailor dashboard output.
44

5-
This plugin is a demo for the accounts data which can be downloaded from elastic web site [here](https://download.elastic.co/demos/kibana/gettingstarted/accounts.zip) then uploaded via `curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/bank/account/_bulk?pretty' --data-binary @accounts.json`.
5+
This plugin is a demo for the accounts data which can be downloaded from elastic web site [here](https://download.elastic.co/demos/kibana/gettingstarted/accounts.zip).
66

77
As plugin architecture is being under heavy redesign in 7.x and documentation is rather obscure, I did my best to create something simple that works. The code is also basic, I am JavaScript beginner!
88

@@ -31,7 +31,7 @@ $ sudo apt install openjdk-11-jre-headless
3131

3232
2. Install latest Kibana and ElasticSearch via apt
3333

34-
```
34+
```shell
3535
$ wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
3636
$ echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic.list
3737
$ sudo apt update
@@ -50,21 +50,22 @@ $ sudo apt install kibana=7.8.0 [for a specific version]
5050

5151
```
5252
$ sudo vi /etc/kibana/kibana.yml
53-
server.host: "192.168.1.77" [update with correct value]
53+
server.host: "192.168.1.77" [update with correct IP value]
5454
```
5555

56-
4. Start ElasticSearch then Kibana. Then open browser http://192.168.1.77:5601 [update with correct value]
56+
4. Start ElasticSearch, possibly upload the accounts test data, then start Kibana. Then open browser http://192.168.1.77:5601 [update with correct IP value]
5757

5858
```
5959
$ sudo systemctl start elasticsearch
6060
$ curl -X GET "localhost:9200"
61+
$ curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/bank/account/_bulk?pretty' --data-binary @accounts.json [optional]
6162
$ sudo systemctl start kibana
6263
```
6364

6465
5. Now to create a development environment, download nvm, git client and yarn
6566

6667
```
67-
$ curl https://raw.githubusercontent.com/creationix/nvm/v0.25.0/install.sh | bash [then open new terminal]
68+
$ curl https://raw.githubusercontent.com/creationix/nvm/v0.25.0/install.sh | bash [then open a new terminal]
6869
$ nvm install 10.21.0
6970
$ sudo apt install git
7071
$ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
@@ -73,12 +74,12 @@ $ sudo apt update
7374
$ sudo apt install yarn
7475
```
7576

76-
6. Download Kibana source code and select the target version (v7.6.2, v7.8.0, etc.). `kibana` is the top directory
77+
6. Download Kibana source code. . After download, `kibana` is the top directory. Then select the target version by selecting a tag or a branch (v7.6.2, v7.8.0, v7.8, etc.)
7778

7879
```
7980
$ git clone https://github.com/elastic/kibana.git
8081
$ cd kibana
81-
$ git checkout v7.8
82+
$ git checkout v7.8.0
8283
```
8384

8485
7. Copy the source code with modified name inside the `kibana/plugins` directory

0 commit comments

Comments
 (0)