forked from Webiks/kibana-API
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example_vis_defenetion.json
54 lines (52 loc) · 1014 Bytes
/
example_vis_defenetion.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[
{
"id": "vis1",
"isFullState":true,
"visIndex":"logstash-*",
"visState":{
"title": "clientip",
"type": "pie",
"params": {
"shareYAxis": true,
"addTooltip": true,
"addLegend": true,
"legendPosition": "right",
"isDonut": false
},
"aggs": [
{
"id": "1",
"enabled": true,
"type": "count",
"schema": "metric",
"params": {}
},
{
"id": "2",
"enabled": true,
"type": "terms",
"schema": "segment",
"params": {
"field": "clientip",
"size": 5,
"order": "desc",
"orderBy": "1"
}
}
],
"listeners": {}
}
},
{
"id": "vis2",
"isFullState":false,
"visIndex":"logstash-*",
"visState":{"visType": "pie", "field": "bytes"}
},
{
"id": "vis3",
"isFullState":false,
"visIndex":"logstash-*" ,
"visState":{"visType": "pie", "field": "bytes","title":"vis2","size":20,"addTooltip":true,"addLegend":false,"aggBucketType":"range","aggMetricType":"count"}
}
]