skills/apm-log-shipping-setup/SKILL.md
Set up APM instrumentation and log shipping — framework-specific agents, Filebeat, Elastic Agent, and correlation.
npx skillsauth add patrykkopycinski/elastic-cursor-plugin apm-log-shipping-setupInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Help users instrument applications with APM agents and configure log shipping for centralized observability.
Use when the user asks to:
Also activates on keywords: "APM agent", "Filebeat", "log shipping", "Elastic Agent", "instrumentation", "tracing", "OpenTelemetry"
Do NOT use when:
o11y-service-dashboard)o11y-slo-setup)o11y-full-setup, which orchestrates this skill)get_cluster_context — Cluster orientation and versionsetup_apm — Generate framework-specific APM instrumentation codesetup_log_shipping — Generate Filebeat/Elastic Agent configurationdiscover_o11y_data — Verify data is arriving after setupelasticsearch_api — Check indices, verify dataesql_query — Query APM and log dataCall get_cluster_context for cluster URL, version, and auth method.
Ask about:
Call setup_apm with the user's framework to generate:
ELASTIC_APM_SERVER_URL, ELASTIC_APM_SECRET_TOKEN, ELASTIC_APM_SERVICE_NAME)Key guidance:
service.name, service.version, and deployment.environmentCall setup_log_shipping with the user's log source to generate:
Key guidance:
message, log.level, service.name, trace.idtrace.id to log output for APM ↔ log correlationdecode_json_fields processorcontainer input with autodiscoverkubernetes providerConfigure correlation between APM traces and logs:
trace.id and span.id into application log contextMDCUtils.addTraceId())elasticapm structlog/logging processordiscover_o11y_data to check for new APM services and log sourcesesql_query to verify:
FROM traces-apm* | STATS count = COUNT(*) BY service.name | LIMIT 10FROM logs-* | WHERE service.name == "<name>" | SORT @timestamp DESC | LIMIT 5FROM logs-* | WHERE trace.id IS NOT NULL | LIMIT 5Suggest:
o11y-service-dashboard)o11y-slo-setup)ES_URL and ES_API_KEY configuredo11y-full-setup — Umbrella skill that orchestrates APM + logs + dashboards + SLOso11y-service-dashboard — Create dashboards after data is flowingo11y-slo-setup — Set up SLOs for the instrumented servicetesting
Interactive threat hunting workflow using ES|QL and Elasticsearch queries — from hypothesis formulation through data exploration, IOC search, and finding documentation.
testing
Start your security session with a personalized briefing — attacks, alerts, cases, rules, threat intel. Use as the first thing when starting security work.
testing
Interactive guide for complete Elastic Security setup — discovers data sources, assesses detection coverage, configures rules, and creates security dashboards.
testing
Guide for authoring custom detection rules — from threat hypothesis through rule creation, testing, and tuning with KQL, EQL, ES|QL, and threshold rules.