forked from xco-sk/eck-custom-resources
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkibana.eck_v1alpha1_lens.yaml
65 lines (65 loc) · 1.84 KB
/
kibana.eck_v1alpha1_lens.yaml
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
55
56
57
58
59
60
61
62
63
64
65
apiVersion: kibana.eck.github.com/v1alpha1
kind: Lens
metadata:
name: lens-sample
spec:
targetInstance:
name: kibana-quickstart
space: space-sample
dependencies:
- type: index-pattern
name: indexpattern-sample
body: |
{
"attributes": {
"title": "Count of docs 2",
"description": "",
"visualizationType": "lnsMetric",
"state": {
"visualization": {
"layerId": "13e00170-fe50-4495-87ff-048934afece1",
"accessor": "6d115d38-e79d-4e91-b5c2-29a69065cbfc",
"layerType": "data"
},
"query": {
"query": "",
"language": "kuery"
},
"filters": [],
"datasourceStates": {
"indexpattern": {
"layers": {
"13e00170-fe50-4495-87ff-048934afece1": {
"columns": {
"6d115d38-e79d-4e91-b5c2-29a69065cbfc": {
"label": "Count of records",
"dataType": "number",
"operationType": "count",
"isBucketed": false,
"scale": "ratio",
"sourceField": "___records___"
}
},
"columnOrder": [
"6d115d38-e79d-4e91-b5c2-29a69065cbfc"
],
"incompleteColumns": {}
}
}
}
}
}
},
"references": [
{
"type": "index-pattern",
"id": "indexpattern-sample",
"name": "indexpattern-datasource-current-indexpattern"
},
{
"type": "index-pattern",
"id": "indexpattern-sample",
"name": "indexpattern-datasource-layer-13e00170-fe50-4495-87ff-048934afece1"
}
]
}