elasticsearch_v6_filebeat.json 5.9 KB

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