2-Olly
Observability
Athena_Glue_S3_Fluentbit
Athena Grafana.json

Grafana Dashboard JSON

{
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": {
          "type": "grafana",
          "uid": "-- Grafana --"
        },
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 0,
  "id": null,
  "links": [],
  "panels": [
    {
      "datasource": {
        "type": "grafana-athena-datasource",
        "uid": "cezz0j518z1tsc"
      },
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": "auto",
            "cellOptions": {
              "type": "auto"
            },
            "inspect": false
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 20,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 1,
      "options": {
        "cellHeight": "sm",
        "showHeader": true,
        "footer": {
          "show": false
        }
      },
      "targets": [
        {
          "connectionArgs": {
            "catalog": "__default",
            "database": "__default",
            "region": "__default"
          },
          "datasource": {
            "type": "grafana-athena-datasource",
            "uid": "cezz0j518z1tsc"
          },
          "format": 1,
          "rawSQL": "SELECT\n    \"date\",\n    kubernetes.namespace_name,\n    kubernetes.pod_name,\n    log\nFROM\n    \"prod_logs\"\nWHERE\n    partition_0 = '$year'\n    AND partition_1 = '$month'\n    AND partition_2 = '$day'\n    AND partition_3 = '$hour'\n    AND kubernetes.namespace_name = '$namespace'\n    AND log LIKE '%${search_term}%'\nORDER BY\n    \"date\" DESC\nLIMIT 500;",
          "refId": "A"
        }
      ],
      "title": "EKS Logs",
      "type": "table"
    }
  ],
  "schemaVersion": 37,
  "style": "dark",
  "tags": [
    "athena",
    "eks",
    "logs"
  ],
  "templating": {
    "list": [
      {
        "current": {
          "selected": true,
          "text": "ai-assistant",
          "value": "ai-assistant"
        },
        "hide": 0,
        "includeAll": false,
        "label": "Namespace",
        "multi": false,
        "name": "namespace",
        "options": [
          {
            "selected": true,
            "text": "ai-assistant",
            "value": "ai-assistant"
          },
          {
            "selected": false,
            "text": "default",
            "value": "default"
          },
          {
            "selected": false,
            "text": "kube-system",
            "value": "kube-system"
          }
        ],
        "query": "ai-assistant,default,kube-system",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "current": {
          "selected": true,
          "text": "2025",
          "value": "2025"
        },
        "hide": 0,
        "label": "Year",
        "multi": false,
        "name": "year",
        "options": [
          {
            "selected": true,
            "text": "2025",
            "value": "2025"
          },
          {
            "selected": false,
            "text": "2024",
            "value": "2024"
          }
        ],
        "query": "2025,2024",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "current": {
          "selected": true,
          "text": "10",
          "value": "10"
        },
        "hide": 0,
        "label": "Month",
        "multi": false,
        "name": "month",
        "options": [
          {
            "selected": false,
            "text": "01",
            "value": "01"
          },
          {
            "selected": false,
            "text": "02",
            "value": "02"
          },
          {
            "selected": false,
            "text": "03",
            "value": "03"
          },
          {
            "selected": false,
            "text": "04",
            "value": "04"
          },
          {
            "selected": false,
            "text": "05",
            "value": "05"
          },
          {
            "selected": false,
            "text": "06",
            "value": "06"
          },
          {
            "selected": false,
            "text": "07",
            "value": "07"
          },
          {
            "selected": false,
            "text": "08",
            "value": "08"
          },
          {
            "selected": false,
            "text": "09",
            "value": "09"
          },
          {
            "selected": true,
            "text": "10",
            "value": "10"
          },
          {
            "selected": false,
            "text": "11",
            "value": "11"
          },
          {
            "selected": false,
            "text": "12",
            "value": "12"
          }
        ],
        "query": "01,02,03,04,05,06,07,08,09,10,11,12",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "current": {
          "selected": true,
          "text": "03",
          "value": "03"
        },
        "hide": 0,
        "label": "Day",
        "multi": false,
        "name": "day",
        "options": [
          {
            "selected": true,
            "text": "03",
            "value": "03"
          },
          {
            "selected": false,
            "text": "04",
            "value": "04"
          }
        ],
        "query": "01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "current": {
          "selected": true,
          "text": "07",
          "value": "07"
        },
        "hide": 0,
        "label": "Hour (UTC)",
        "multi": false,
        "name": "hour",
        "options": [],
        "query": "00,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "current": {
          "selected": false,
          "text": "",
          "value": ""
        },
        "description": "Enter a string to search for within the log message",
        "hide": 0,
        "label": "Search Term",
        "name": "search_term",
        "options": [],
        "skipUrlSync": false,
        "type": "textbox"
      }
    ]
  },
  "time": {
    "from": "now-1h",
    "to": "now"
  },
  "timepicker": {
    "hidden": true
  },
  "timezone": "browser",
  "title": "Working EKS Log Search",
  "uid": "working-eks-log-search",
  "version": 1
}

💬 Need a Quick Summary?

Hey! Don't have time to read everything? I get it. 😊
Click below and I'll give you the main points and what matters most on this page.
Takes about 5 seconds • Uses Perplexity AI