Logs.json 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784
  1. {
  2. "__inputs": [
  3. {
  4. "name": "DS_CLOUDWATCH",
  5. "label": "CloudWatch",
  6. "description": "",
  7. "type": "datasource",
  8. "pluginId": "cloudwatch",
  9. "pluginName": "CloudWatch"
  10. }
  11. ],
  12. "__requires": [
  13. {
  14. "type": "datasource",
  15. "id": "cloudwatch",
  16. "name": "CloudWatch",
  17. "version": "1.0.0"
  18. },
  19. {
  20. "type": "grafana",
  21. "id": "grafana",
  22. "name": "Grafana",
  23. "version": "6.6.0-pre"
  24. },
  25. {
  26. "type": "panel",
  27. "id": "graph",
  28. "name": "Graph",
  29. "version": ""
  30. },
  31. {
  32. "type": "panel",
  33. "id": "text",
  34. "name": "Text",
  35. "version": ""
  36. }
  37. ],
  38. "annotations": {
  39. "list": [
  40. {
  41. "builtIn": 1,
  42. "datasource": "-- Grafana --",
  43. "enable": true,
  44. "hide": true,
  45. "iconColor": "rgba(0, 211, 255, 1)",
  46. "name": "Annotations & Alerts",
  47. "type": "dashboard"
  48. }
  49. ]
  50. },
  51. "description": "Visualize Amazon CloudWatch Log based metrics",
  52. "editable": true,
  53. "gnetId": null,
  54. "graphTooltip": 0,
  55. "id": null,
  56. "iteration": 1574321829202,
  57. "links": [],
  58. "panels": [
  59. {
  60. "aliasColors": {},
  61. "bars": false,
  62. "dashLength": 10,
  63. "dashes": false,
  64. "datasource": "$datasource",
  65. "fill": 1,
  66. "fillGradient": 0,
  67. "gridPos": {
  68. "h": 8,
  69. "w": 24,
  70. "x": 0,
  71. "y": 0
  72. },
  73. "hiddenSeries": false,
  74. "id": 2,
  75. "legend": {
  76. "alignAsTable": true,
  77. "avg": true,
  78. "current": false,
  79. "max": false,
  80. "min": false,
  81. "rightSide": true,
  82. "show": true,
  83. "sort": "avg",
  84. "sortDesc": true,
  85. "total": false,
  86. "values": true
  87. },
  88. "lines": true,
  89. "linewidth": 1,
  90. "nullPointMode": "null",
  91. "options": {
  92. "dataLinks": []
  93. },
  94. "percentage": false,
  95. "pointradius": 2,
  96. "points": false,
  97. "renderer": "flot",
  98. "seriesOverrides": [],
  99. "spaceLength": 10,
  100. "stack": false,
  101. "steppedLine": true,
  102. "targets": [
  103. {
  104. "alias": "",
  105. "dimensions": {
  106. "LogGroupName": "*"
  107. },
  108. "expression": "REMOVE_EMPTY(SEARCH('{AWS/Logs,LogGroupName} MetricName=\"IncomingLogEvents\"', 'Sum', $period))/$period",
  109. "id": "",
  110. "matchExact": true,
  111. "metricName": "IncomingLogEvents",
  112. "namespace": "AWS/Logs",
  113. "period": "$period",
  114. "refId": "A",
  115. "region": "$region",
  116. "statistics": ["Sum"]
  117. }
  118. ],
  119. "thresholds": [],
  120. "timeFrom": null,
  121. "timeRegions": [],
  122. "timeShift": null,
  123. "title": "Incoming log events [count/sec]",
  124. "tooltip": {
  125. "shared": true,
  126. "sort": 0,
  127. "value_type": "individual"
  128. },
  129. "type": "graph",
  130. "xaxis": {
  131. "buckets": null,
  132. "mode": "time",
  133. "name": null,
  134. "show": true,
  135. "values": []
  136. },
  137. "yaxes": [
  138. {
  139. "format": "short",
  140. "label": null,
  141. "logBase": 1,
  142. "max": null,
  143. "min": null,
  144. "show": true
  145. },
  146. {
  147. "format": "short",
  148. "label": null,
  149. "logBase": 1,
  150. "max": null,
  151. "min": null,
  152. "show": true
  153. }
  154. ],
  155. "yaxis": {
  156. "align": false,
  157. "alignLevel": null
  158. }
  159. },
  160. {
  161. "aliasColors": {},
  162. "bars": false,
  163. "dashLength": 10,
  164. "dashes": false,
  165. "datasource": "$datasource",
  166. "fill": 1,
  167. "fillGradient": 0,
  168. "gridPos": {
  169. "h": 8,
  170. "w": 24,
  171. "x": 0,
  172. "y": 8
  173. },
  174. "hiddenSeries": false,
  175. "id": 3,
  176. "legend": {
  177. "alignAsTable": true,
  178. "avg": true,
  179. "current": false,
  180. "max": false,
  181. "min": false,
  182. "rightSide": true,
  183. "show": true,
  184. "sort": "avg",
  185. "sortDesc": true,
  186. "total": false,
  187. "values": true
  188. },
  189. "lines": true,
  190. "linewidth": 1,
  191. "nullPointMode": "null",
  192. "options": {
  193. "dataLinks": []
  194. },
  195. "percentage": false,
  196. "pointradius": 2,
  197. "points": false,
  198. "renderer": "flot",
  199. "seriesOverrides": [],
  200. "spaceLength": 10,
  201. "stack": false,
  202. "steppedLine": true,
  203. "targets": [
  204. {
  205. "alias": "",
  206. "dimensions": {
  207. "LogGroupName": "*"
  208. },
  209. "expression": "REMOVE_EMPTY(SEARCH('{AWS/Logs,LogGroupName} MetricName=\"IncomingBytes\"', 'Sum', $period))/$period",
  210. "id": "",
  211. "matchExact": true,
  212. "metricName": "IncomingLogEvents",
  213. "namespace": "AWS/Logs",
  214. "period": "$period",
  215. "refId": "A",
  216. "region": "$region",
  217. "statistics": ["Sum"]
  218. }
  219. ],
  220. "thresholds": [],
  221. "timeFrom": null,
  222. "timeRegions": [],
  223. "timeShift": null,
  224. "title": "Incoming bytes [bytes/sec]",
  225. "tooltip": {
  226. "shared": true,
  227. "sort": 0,
  228. "value_type": "individual"
  229. },
  230. "type": "graph",
  231. "xaxis": {
  232. "buckets": null,
  233. "mode": "time",
  234. "name": null,
  235. "show": true,
  236. "values": []
  237. },
  238. "yaxes": [
  239. {
  240. "format": "decbytes",
  241. "label": null,
  242. "logBase": 1,
  243. "max": null,
  244. "min": null,
  245. "show": true
  246. },
  247. {
  248. "format": "short",
  249. "label": null,
  250. "logBase": 1,
  251. "max": null,
  252. "min": null,
  253. "show": true
  254. }
  255. ],
  256. "yaxis": {
  257. "align": false,
  258. "alignLevel": null
  259. }
  260. },
  261. {
  262. "aliasColors": {},
  263. "bars": false,
  264. "dashLength": 10,
  265. "dashes": false,
  266. "datasource": "$datasource",
  267. "fill": 1,
  268. "fillGradient": 0,
  269. "gridPos": {
  270. "h": 9,
  271. "w": 12,
  272. "x": 0,
  273. "y": 16
  274. },
  275. "hiddenSeries": false,
  276. "id": 4,
  277. "legend": {
  278. "alignAsTable": true,
  279. "avg": true,
  280. "current": false,
  281. "max": false,
  282. "min": false,
  283. "rightSide": true,
  284. "show": true,
  285. "sort": "avg",
  286. "sortDesc": true,
  287. "total": false,
  288. "values": true
  289. },
  290. "lines": true,
  291. "linewidth": 1,
  292. "nullPointMode": "null",
  293. "options": {
  294. "dataLinks": []
  295. },
  296. "percentage": false,
  297. "pointradius": 2,
  298. "points": false,
  299. "renderer": "flot",
  300. "seriesOverrides": [],
  301. "spaceLength": 10,
  302. "stack": false,
  303. "steppedLine": true,
  304. "targets": [
  305. {
  306. "dimensions": {
  307. "LogGroupName": "*"
  308. },
  309. "expression": "",
  310. "matchExact": true,
  311. "metricName": "DeliveryErrors",
  312. "namespace": "AWS/Logs",
  313. "period": "$period",
  314. "refId": "A",
  315. "region": "$region",
  316. "statistics": ["Sum"]
  317. }
  318. ],
  319. "thresholds": [],
  320. "timeFrom": null,
  321. "timeRegions": [],
  322. "timeShift": null,
  323. "title": "Delivery errors [count]",
  324. "tooltip": {
  325. "shared": true,
  326. "sort": 0,
  327. "value_type": "individual"
  328. },
  329. "type": "graph",
  330. "xaxis": {
  331. "buckets": null,
  332. "mode": "time",
  333. "name": null,
  334. "show": true,
  335. "values": []
  336. },
  337. "yaxes": [
  338. {
  339. "format": "short",
  340. "label": null,
  341. "logBase": 1,
  342. "max": null,
  343. "min": null,
  344. "show": true
  345. },
  346. {
  347. "format": "short",
  348. "label": null,
  349. "logBase": 1,
  350. "max": null,
  351. "min": null,
  352. "show": true
  353. }
  354. ],
  355. "yaxis": {
  356. "align": false,
  357. "alignLevel": null
  358. }
  359. },
  360. {
  361. "aliasColors": {},
  362. "bars": false,
  363. "dashLength": 10,
  364. "dashes": false,
  365. "datasource": "$datasource",
  366. "fill": 1,
  367. "fillGradient": 0,
  368. "gridPos": {
  369. "h": 9,
  370. "w": 12,
  371. "x": 12,
  372. "y": 16
  373. },
  374. "hiddenSeries": false,
  375. "id": 5,
  376. "legend": {
  377. "alignAsTable": true,
  378. "avg": true,
  379. "current": false,
  380. "max": false,
  381. "min": false,
  382. "rightSide": true,
  383. "show": true,
  384. "sort": "avg",
  385. "sortDesc": true,
  386. "total": false,
  387. "values": true
  388. },
  389. "lines": true,
  390. "linewidth": 1,
  391. "nullPointMode": "null",
  392. "options": {
  393. "dataLinks": []
  394. },
  395. "percentage": false,
  396. "pointradius": 2,
  397. "points": false,
  398. "renderer": "flot",
  399. "seriesOverrides": [],
  400. "spaceLength": 10,
  401. "stack": false,
  402. "steppedLine": true,
  403. "targets": [
  404. {
  405. "dimensions": {
  406. "LogGroupName": "*"
  407. },
  408. "expression": "",
  409. "matchExact": true,
  410. "metricName": "DeliveryThrottling",
  411. "namespace": "AWS/Logs",
  412. "period": "$period",
  413. "refId": "A",
  414. "region": "$region",
  415. "statistics": ["Sum"]
  416. }
  417. ],
  418. "thresholds": [],
  419. "timeFrom": null,
  420. "timeRegions": [],
  421. "timeShift": null,
  422. "title": "Delivery throttling [count]",
  423. "tooltip": {
  424. "shared": true,
  425. "sort": 0,
  426. "value_type": "individual"
  427. },
  428. "type": "graph",
  429. "xaxis": {
  430. "buckets": null,
  431. "mode": "time",
  432. "name": null,
  433. "show": true,
  434. "values": []
  435. },
  436. "yaxes": [
  437. {
  438. "format": "short",
  439. "label": null,
  440. "logBase": 1,
  441. "max": null,
  442. "min": null,
  443. "show": true
  444. },
  445. {
  446. "format": "short",
  447. "label": null,
  448. "logBase": 1,
  449. "max": null,
  450. "min": null,
  451. "show": true
  452. }
  453. ],
  454. "yaxis": {
  455. "align": false,
  456. "alignLevel": null
  457. }
  458. },
  459. {
  460. "aliasColors": {},
  461. "bars": false,
  462. "dashLength": 10,
  463. "dashes": false,
  464. "datasource": "$datasource",
  465. "fill": 1,
  466. "fillGradient": 0,
  467. "gridPos": {
  468. "h": 9,
  469. "w": 12,
  470. "x": 0,
  471. "y": 25
  472. },
  473. "hiddenSeries": false,
  474. "id": 6,
  475. "legend": {
  476. "alignAsTable": true,
  477. "avg": true,
  478. "current": false,
  479. "max": false,
  480. "min": false,
  481. "rightSide": true,
  482. "show": true,
  483. "sort": "avg",
  484. "sortDesc": true,
  485. "total": false,
  486. "values": true
  487. },
  488. "lines": true,
  489. "linewidth": 1,
  490. "nullPointMode": "null",
  491. "options": {
  492. "dataLinks": []
  493. },
  494. "percentage": false,
  495. "pointradius": 2,
  496. "points": false,
  497. "renderer": "flot",
  498. "seriesOverrides": [],
  499. "spaceLength": 10,
  500. "stack": false,
  501. "steppedLine": true,
  502. "targets": [
  503. {
  504. "dimensions": {
  505. "LogGroupName": "*"
  506. },
  507. "expression": "REMOVE_EMPTY(SEARCH('{AWS/Logs,LogGroupName} MetricName=\"ForwardedLogEvents\"', 'Sum', $period))/$period",
  508. "matchExact": true,
  509. "metricName": "ForwardedLogEvents",
  510. "namespace": "AWS/Logs",
  511. "period": "$period",
  512. "refId": "A",
  513. "region": "$region",
  514. "statistics": ["Sum"]
  515. }
  516. ],
  517. "thresholds": [],
  518. "timeFrom": null,
  519. "timeRegions": [],
  520. "timeShift": null,
  521. "title": "Forwarded log events [count/sec]",
  522. "tooltip": {
  523. "shared": true,
  524. "sort": 0,
  525. "value_type": "individual"
  526. },
  527. "type": "graph",
  528. "xaxis": {
  529. "buckets": null,
  530. "mode": "time",
  531. "name": null,
  532. "show": true,
  533. "values": []
  534. },
  535. "yaxes": [
  536. {
  537. "format": "short",
  538. "label": null,
  539. "logBase": 1,
  540. "max": null,
  541. "min": "0",
  542. "show": true
  543. },
  544. {
  545. "format": "short",
  546. "label": null,
  547. "logBase": 1,
  548. "max": null,
  549. "min": null,
  550. "show": true
  551. }
  552. ],
  553. "yaxis": {
  554. "align": false,
  555. "alignLevel": null
  556. }
  557. },
  558. {
  559. "aliasColors": {},
  560. "bars": false,
  561. "dashLength": 10,
  562. "dashes": false,
  563. "datasource": "$datasource",
  564. "fill": 1,
  565. "fillGradient": 0,
  566. "gridPos": {
  567. "h": 9,
  568. "w": 12,
  569. "x": 12,
  570. "y": 25
  571. },
  572. "hiddenSeries": false,
  573. "id": 7,
  574. "legend": {
  575. "alignAsTable": true,
  576. "avg": true,
  577. "current": false,
  578. "max": false,
  579. "min": false,
  580. "rightSide": true,
  581. "show": true,
  582. "sort": "avg",
  583. "sortDesc": true,
  584. "total": false,
  585. "values": true
  586. },
  587. "lines": true,
  588. "linewidth": 1,
  589. "nullPointMode": "null",
  590. "options": {
  591. "dataLinks": []
  592. },
  593. "percentage": false,
  594. "pointradius": 2,
  595. "points": false,
  596. "renderer": "flot",
  597. "seriesOverrides": [],
  598. "spaceLength": 10,
  599. "stack": false,
  600. "steppedLine": true,
  601. "targets": [
  602. {
  603. "dimensions": {
  604. "LogGroupName": "*"
  605. },
  606. "expression": "REMOVE_EMPTY(SEARCH('{AWS/Logs,LogGroupName} MetricName=\"ForwardedBytes\"', 'Sum', $period))/$period",
  607. "matchExact": true,
  608. "metricName": "ForwardedBytes",
  609. "namespace": "AWS/Logs",
  610. "period": "$period",
  611. "refId": "A",
  612. "region": "$region",
  613. "statistics": ["Sum"]
  614. }
  615. ],
  616. "thresholds": [],
  617. "timeFrom": null,
  618. "timeRegions": [],
  619. "timeShift": null,
  620. "title": "Forwarded bytes [bytes/sec]",
  621. "tooltip": {
  622. "shared": true,
  623. "sort": 0,
  624. "value_type": "individual"
  625. },
  626. "type": "graph",
  627. "xaxis": {
  628. "buckets": null,
  629. "mode": "time",
  630. "name": null,
  631. "show": true,
  632. "values": []
  633. },
  634. "yaxes": [
  635. {
  636. "format": "decbytes",
  637. "label": null,
  638. "logBase": 1,
  639. "max": null,
  640. "min": "0",
  641. "show": true
  642. },
  643. {
  644. "format": "short",
  645. "label": null,
  646. "logBase": 1,
  647. "max": null,
  648. "min": null,
  649. "show": true
  650. }
  651. ],
  652. "yaxis": {
  653. "align": false,
  654. "alignLevel": null
  655. }
  656. },
  657. {
  658. "content": "For more information about the available metrics for Amazon CloudWatch Logs, please visit the [CloudWatch documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Monitoring-CloudWatch-Metrics.html).",
  659. "datasource": "$datasource",
  660. "gridPos": {
  661. "h": 2,
  662. "w": 24,
  663. "x": 0,
  664. "y": 34
  665. },
  666. "id": 9,
  667. "mode": "markdown",
  668. "options": {},
  669. "targets": [
  670. {
  671. "alias": "",
  672. "dimensions": {},
  673. "expression": "",
  674. "id": "",
  675. "matchExact": true,
  676. "metricName": "",
  677. "namespace": "",
  678. "refId": "A",
  679. "region": "default",
  680. "statistics": ["Average"]
  681. }
  682. ],
  683. "timeFrom": null,
  684. "timeShift": null,
  685. "title": " ",
  686. "type": "text"
  687. }
  688. ],
  689. "refresh": false,
  690. "schemaVersion": 21,
  691. "style": "dark",
  692. "tags": ["Amazon", "AWS", "CloudWatch", "Logs"],
  693. "templating": {
  694. "list": [
  695. {
  696. "current": {
  697. "text": "default",
  698. "value": "default"
  699. },
  700. "hide": 0,
  701. "includeAll": false,
  702. "label": "Data source",
  703. "multi": false,
  704. "name": "datasource",
  705. "options": [],
  706. "query": "cloudwatch",
  707. "refresh": 1,
  708. "regex": "",
  709. "skipUrlSync": false,
  710. "type": "datasource"
  711. },
  712. {
  713. "allValue": null,
  714. "current": {
  715. "text": "default",
  716. "value": "default"
  717. },
  718. "datasource": "$datasource",
  719. "definition": "regions()",
  720. "hide": 0,
  721. "includeAll": false,
  722. "label": "Region",
  723. "multi": false,
  724. "name": "region",
  725. "options": [],
  726. "query": "regions()",
  727. "refresh": 1,
  728. "regex": "",
  729. "skipUrlSync": false,
  730. "sort": 0,
  731. "tagValuesQuery": "",
  732. "tags": [],
  733. "tagsQuery": "",
  734. "type": "query",
  735. "useTags": false
  736. },
  737. {
  738. "allValue": null,
  739. "current": {
  740. "selected": true,
  741. "tags": [],
  742. "text": "300",
  743. "value": "300"
  744. },
  745. "hide": 0,
  746. "includeAll": false,
  747. "label": "Period [sec]",
  748. "multi": false,
  749. "name": "period",
  750. "options": [
  751. {
  752. "selected": false,
  753. "text": "60",
  754. "value": "60"
  755. },
  756. {
  757. "selected": true,
  758. "text": "300",
  759. "value": "300"
  760. },
  761. {
  762. "selected": false,
  763. "text": "3600",
  764. "value": "3600"
  765. }
  766. ],
  767. "query": "60,300,3600",
  768. "skipUrlSync": false,
  769. "type": "custom"
  770. }
  771. ]
  772. },
  773. "time": {
  774. "from": "now-6h",
  775. "to": "now"
  776. },
  777. "timepicker": {
  778. "refresh_intervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"]
  779. },
  780. "timezone": "",
  781. "title": "Amazon CloudWatch Logs",
  782. "uid": "5lKoAHxZz",
  783. "version": 1
  784. }