loki_dashboard.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. "target": {
  12. "limit": 100,
  13. "matchAny": false,
  14. "tags": [],
  15. "type": "dashboard"
  16. },
  17. "type": "dashboard"
  18. }
  19. ]
  20. },
  21. "editable": true,
  22. "gnetId": null,
  23. "graphTooltip": 0,
  24. "id": 1,
  25. "links": [],
  26. "panels": [
  27. {
  28. "datasource": "control-plane-loki",
  29. "gridPos": {
  30. "h": 8,
  31. "w": 24,
  32. "x": 0,
  33. "y": 0
  34. },
  35. "id": 4,
  36. "options": {
  37. "dedupStrategy": "none",
  38. "enableLogDetails": true,
  39. "prettifyLogMessage": false,
  40. "showCommonLabels": false,
  41. "showLabels": false,
  42. "showTime": false,
  43. "sortOrder": "Descending",
  44. "wrapLogMessage": false
  45. },
  46. "pluginVersion": "8.3.2",
  47. "targets": [
  48. {
  49. "datasource": {
  50. "type": "loki",
  51. "uid": "control-plane-loki"
  52. },
  53. "expr": "{filename=\"/var/log/omnia.log\",job=\"Omnia\"}",
  54. "queryType": "randomWalk",
  55. "refId": "A"
  56. }
  57. ],
  58. "title": "omnia.log",
  59. "type": "logs"
  60. },
  61. {
  62. "datasource": "control-plane-loki",
  63. "gridPos": {
  64. "h": 8,
  65. "w": 24,
  66. "x": 0,
  67. "y": 8
  68. },
  69. "id": 2,
  70. "options": {
  71. "dedupStrategy": "none",
  72. "enableLogDetails": true,
  73. "prettifyLogMessage": false,
  74. "showCommonLabels": false,
  75. "showLabels": false,
  76. "showTime": false,
  77. "sortOrder": "Descending",
  78. "wrapLogMessage": false
  79. },
  80. "pluginVersion": "8.3.2",
  81. "targets": [
  82. {
  83. "datasource": {
  84. "type": "loki",
  85. "uid": "control-plane-loki"
  86. },
  87. "expr": "{filename=\"/var/log/messages\",job=\"syslog\"}",
  88. "queryType": "randomWalk",
  89. "refId": "A"
  90. }
  91. ],
  92. "title": "syslog",
  93. "type": "logs"
  94. }
  95. ],
  96. "schemaVersion": 30,
  97. "style": "dark",
  98. "tags": [],
  99. "templating": {
  100. "list": []
  101. },
  102. "time": {
  103. "from": "now-6h",
  104. "to": "now"
  105. },
  106. "timepicker": {
  107. "refresh_intervals": [
  108. "5s",
  109. "10s",
  110. "30s",
  111. "1m",
  112. "5m",
  113. "15m",
  114. "30m",
  115. "1h",
  116. "2h",
  117. "1d"
  118. ],
  119. "time_options": [
  120. "5m",
  121. "15m",
  122. "1h",
  123. "6h",
  124. "12h",
  125. "24h",
  126. "2d",
  127. "7d",
  128. "30d"
  129. ]
  130. },
  131. "timezone": "",
  132. "title": "loki",
  133. "uid": "1k9NY90nz",
  134. "version": 1
  135. }