Skip to content

jeremylongshore/tons-of-skills-marketplace / plugins/devops/log-aggregation-setup/skills/setting-up-log-aggregation

setting-up-log-aggregation

Verified

Execute use when setting up log aggregation solutions using ELK, Loki, or Splunk. Trigger with phrases like "setup log aggregation", "deploy ELK stack", "configure Loki", or "install Splunk". Generates production-ready configurations for data ingestion, processing, storage, and visualization with proper security and scalability.

FileKindSize
SKILL.mdskill md4.5 KB
assets/README.mdmarkdown593 B
assets/dashboard_elk.jsonconfig4.9 KB
assets/dashboard_loki.jsonconfig6.8 KB
assets/dashboard_splunk.jsonconfig3.9 KB
assets/example_log_data.jsonconfig3.2 KB
assets/loki_config_template.yamlconfig3.7 KB
assets/splunk_config_template.confconfig4.4 KB
references/README.mdmarkdown64 B
scripts/README.mdmarkdown720 B
scripts/setup_elk.pyexecutablescript2.6 KB
scripts/setup_loki.pyexecutablescript2.5 KB
scripts/setup_splunk.pyexecutablescript2.5 KB

assets/dashboard_elk.json

View on GitHub
{
  "_comment": "Kibana Dashboard Configuration for ELK Stack",
  "title": "System Performance and Log Analysis",
  "description": "Dashboard providing insights into system performance and log data.",
  "panels": [
    {
      "id": "cpu_usage",
      "type": "visualization",
      "title": "CPU Usage",
      "description": "Displays CPU usage over time.",
      "visState": {
        "type": "timeseries",
        "params": {
          "indexPattern": "system-metrics-*",
          "timeField": "@timestamp",
          "interval": "auto",
          "metrics": [
            {
              "field": "system.cpu.usage",
              "type": "avg",
              "alias": "Average CPU Usage"
            }
          ],
          "xAxisMode": "timeseries",
          "yAxisMode": "normal"
        }
      },
      "gridData": {
        "x": 0,
        "y": 0,
        "w": 12,
        "h": 6
      }
    },
    {
      "id": "memory_usage",
      "type": "visualization",
      "title": "Memory Usage",
      "description": "Displays memory usage over time.",
      "visState": {
        "type": "timeseries",
        "params": {
          "indexPattern": "system-metrics-*",
          "timeField": "@timestamp",
          "interval": "auto",
          "metrics": [
            {
              "field": "system.memory.actual.used.pct",
              "type": "avg",
              "alias": "Average Memory Usage"
            }
          ],
          "xAxisMode": "timeseries",
          "yAxisMode": "normal"
        }
      },
      "gridData": {
        "x": 0,
        "y": 6,
        "w": 12,
        "h": 6
      }
    },
    {
      "id": "disk_usage",
      "type": "visualization",
      "title": "Disk Usage",
      "description": "Displays disk usage over time.",
      "visState": {
        "type": "timeseries",
        "params": {
          "indexPattern": "system-metrics-*",
          "timeField": "@timestamp",
          "interval": "auto",
          "metrics": [
            {
              "field": "system.disk.used.pct",
              "type": "avg",
              "alias": "Average Disk Usage"
            }
          ],
          "xAxisMode": "timeseries",
          "yAxisMode": "normal"
        }
      },
      "gridData": {
        "x": 12,
        "y": 0,
        "w": 12,
        "h": 6
      }
    },
    {
      "id": "log_level_distribution",
      "type": "visualization",
      "title": "Log Level Distribution",
      "description": "Displays the distribution of log levels.",
      "visState": {
        "type": "pie",
        "params": {
          "indexPattern": "application-logs-*",
          "timeField": "@timestamp",
          "interval": "auto",
          "metrics": [
            {
              "field": "log.level",
              "type": "count",
              "alias": "Count"
            }
          ],
          "xAxisMode": "categorical",
          "yAxisMode": "normal",
          "terms": {
            "field": "log.level",
            "size": 5
          }
        }
      },
      "gridData": {
        "x": 12,
        "y": 6,
        "w": 6,
        "h": 6
      }
    },
    {
      "id": "error_rate",
      "type": "visualization",
      "title": "Error Rate",
      "description": "Displays the rate of error logs over time.",
      "visState": {
        "type": "timeseries",
        "params": {
          "indexPattern": "application-logs-*",
          "timeField": "@timestamp",
          "interval": "auto",
          "metrics": [
            {
              "field": "log.level",
              "type": "count",
              "alias": "Error Count",
              "filters": [
                {
                  "field": "log.level",
                  "operator": "is",
                  "value": "error"
                }
              ]
            }
          ],
          "xAxisMode": "timeseries",
          "yAxisMode": "normal"
        }
      },
      "gridData": {
        "x": 18,
        "y": 6,
        "w": 6,
        "h": 6
      }
    },
    {
      "id": "log_table",
      "type": "visualization",
      "title": "Recent Logs",
      "description": "Displays a table of recent log entries.",
      "visState": {
        "type": "table",
        "params": {
          "indexPattern": "application-logs-*",
          "timeField": "@timestamp",
          "columns": [
            "@timestamp",
            "log.level",
            "message",
            "service.name"
          ],
          "sort": {
            "field": "@timestamp",
            "direction": "desc"
          },
          "pageSize": 10
        }
      },
      "gridData": {
        "x": 0,
        "y": 12,
        "w": 24,
        "h": 6
      }
    }
  ],
  "timeRestore": true,
  "timeTo": "now",
  "timeFrom": "now-15m",
  "refreshInterval": {
    "pause": false,
    "value": 15000
  },
    "indexPatternRefName": "kibana_index_pattern_ref",
    "kibanaSavedObjectMeta": {
      "searchSourceJSON": "{\"filter\": []}"
    }
}
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 196kUpdated Claude CodeCodexVerifiedInstall