elasticsearch_v7_filebeat.json 6.0 KB

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