datasource_tests_elasticsearch_v6_filebeat.json 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. {
  2. "annotations": {
  3. "list": [
  4. {
  5. "builtIn": 1,
  6. "datasource": "-- Grafana --",
  7. "enable": true,
  8. "hide": true,
  9. "iconColor": "rgba(0, 211, 255, 1)",
  10. "name": "Annotations & Alerts",
  11. "type": "dashboard"
  12. }
  13. ]
  14. },
  15. "editable": true,
  16. "gnetId": null,
  17. "graphTooltip": 0,
  18. "iteration": 1554902936982,
  19. "links": [],
  20. "panels": [
  21. {
  22. "aliasColors": {
  23. "error": "red"
  24. },
  25. "bars": true,
  26. "dashLength": 10,
  27. "dashes": false,
  28. "datasource": "gdev-elasticsearch-v6-filebeat",
  29. "fill": 1,
  30. "gridPos": {
  31. "h": 5,
  32. "w": 24,
  33. "x": 0,
  34. "y": 0
  35. },
  36. "id": 4,
  37. "legend": {
  38. "avg": false,
  39. "current": false,
  40. "max": false,
  41. "min": false,
  42. "show": true,
  43. "total": false,
  44. "values": false
  45. },
  46. "lines": false,
  47. "linewidth": 1,
  48. "nullPointMode": "null",
  49. "percentage": false,
  50. "pointradius": 2,
  51. "points": false,
  52. "renderer": "flot",
  53. "seriesOverrides": [],
  54. "spaceLength": 10,
  55. "stack": true,
  56. "steppedLine": false,
  57. "targets": [
  58. {
  59. "bucketAggs": [
  60. {
  61. "fake": true,
  62. "field": "fields.level",
  63. "id": "3",
  64. "settings": {
  65. "min_doc_count": 1,
  66. "order": "desc",
  67. "orderBy": "_term",
  68. "size": "10"
  69. },
  70. "type": "terms"
  71. },
  72. {
  73. "field": "@timestamp",
  74. "id": "2",
  75. "settings": {
  76. "interval": "5m",
  77. "min_doc_count": 1,
  78. "trimEdges": 0
  79. },
  80. "type": "date_histogram"
  81. }
  82. ],
  83. "metrics": [
  84. {
  85. "field": "select field",
  86. "id": "1",
  87. "type": "count"
  88. }
  89. ],
  90. "query": "fields.app:grafana",
  91. "refId": "A",
  92. "timeField": "@timestamp"
  93. }
  94. ],
  95. "thresholds": [],
  96. "timeFrom": null,
  97. "timeRegions": [],
  98. "timeShift": null,
  99. "title": "Panel Title",
  100. "tooltip": {
  101. "shared": true,
  102. "sort": 0,
  103. "value_type": "individual"
  104. },
  105. "type": "graph",
  106. "xaxis": {
  107. "buckets": null,
  108. "mode": "time",
  109. "name": null,
  110. "show": true,
  111. "values": []
  112. },
  113. "yaxes": [
  114. {
  115. "format": "short",
  116. "label": null,
  117. "logBase": 1,
  118. "max": null,
  119. "min": null,
  120. "show": true
  121. },
  122. {
  123. "format": "short",
  124. "label": null,
  125. "logBase": 1,
  126. "max": null,
  127. "min": null,
  128. "show": true
  129. }
  130. ],
  131. "yaxis": {
  132. "align": false,
  133. "alignLevel": null
  134. }
  135. },
  136. {
  137. "columns": [
  138. {
  139. "text": "@timestamp",
  140. "value": "@timestamp"
  141. },
  142. {
  143. "text": "fields.level",
  144. "value": "fields.level"
  145. },
  146. {
  147. "text": "message",
  148. "value": "message"
  149. }
  150. ],
  151. "datasource": "gdev-elasticsearch-v6-filebeat",
  152. "fontSize": "100%",
  153. "gridPos": {
  154. "h": 22,
  155. "w": 24,
  156. "x": 0,
  157. "y": 5
  158. },
  159. "id": 2,
  160. "links": [],
  161. "pageSize": null,
  162. "scroll": true,
  163. "showHeader": true,
  164. "sort": {
  165. "col": 0,
  166. "desc": true
  167. },
  168. "styles": [
  169. {
  170. "alias": "Time",
  171. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  172. "pattern": "@timestamp",
  173. "type": "date"
  174. },
  175. {
  176. "alias": "Level",
  177. "colorMode": null,
  178. "colors": ["rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)"],
  179. "dateFormat": "YYYY-MM-DD HH:mm:ss",
  180. "decimals": 2,
  181. "mappingType": 1,
  182. "pattern": "fields.level",
  183. "thresholds": [""],
  184. "type": "string",
  185. "unit": "short",
  186. "valueMaps": []
  187. },
  188. {
  189. "alias": "Message",
  190. "colorMode": null,
  191. "colors": ["rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)"],
  192. "decimals": 2,
  193. "pattern": "message",
  194. "preserveFormat": false,
  195. "sanitize": false,
  196. "thresholds": [],
  197. "type": "string",
  198. "unit": "short"
  199. }
  200. ],
  201. "targets": [
  202. {
  203. "bucketAggs": [],
  204. "metrics": [
  205. {
  206. "field": "select field",
  207. "id": "1",
  208. "meta": {},
  209. "settings": {
  210. "size": 500
  211. },
  212. "type": "raw_document"
  213. }
  214. ],
  215. "query": "fields.app:grafana",
  216. "refId": "A",
  217. "timeField": "@timestamp"
  218. }
  219. ],
  220. "timeFrom": null,
  221. "timeShift": null,
  222. "title": "Panel Title",
  223. "transform": "json",
  224. "type": "table"
  225. }
  226. ],
  227. "schemaVersion": 18,
  228. "style": "dark",
  229. "tags": ["gdev", "elasticsearch"],
  230. "templating": {
  231. "list": [
  232. {
  233. "datasource": "gdev-elasticsearch-v6-filebeat",
  234. "filters": [],
  235. "hide": 0,
  236. "label": "",
  237. "name": "Filters",
  238. "skipUrlSync": false,
  239. "type": "adhoc"
  240. }
  241. ]
  242. },
  243. "time": {
  244. "from": "now-1h",
  245. "to": "now"
  246. },
  247. "timepicker": {
  248. "refresh_intervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"],
  249. "time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"]
  250. },
  251. "timezone": "",
  252. "title": "Datasource tests - Elasticsearch v6 Filebeat",
  253. "uid": "06tPt4gZz",
  254. "version": 8
  255. }