alibabacloud-bailian-m…
Explain, evaluate, demonstrate, provision, and integrate Alibaba Cloud Bailian Managed Agent…
Use when the user needs to generate a log collection configuration file (OpenTelemetry Collector or Elastic Beats / Filebeat) that writes logs to Alibaba Cloud Elasticsearch or self-managed Elasticsearch. Covers file logs, log API ingestion (OTLP / HTTP webhook), and Kafka log
$ npx -y skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-elasticsearch-log-config-generator --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/alibabacloud-elasticsearch-log-config-generatorContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when the user needs to generate a log collection configuration file (OpenTelemetry Collector or Elastic Beats / Filebeat) that writes logs to Alibaba Cloud Elasticsearch or self-managed Elasticsearch. Covers file logs, log API ingestion (OTLP / HTTP webhook), and Kafka log
name: alibabacloud-elasticsearch-log-config-generator description: > Use when the user needs to generate a log collection configuration file (OpenTelemetry Collector or Elastic Beats / Filebeat) that writes logs to Alibaba Cloud Elasticsearch or self-managed Elasticsearch. Covers file logs, log API ingestion (OTLP / HTTP webhook), and Kafka log topics. Also matches natural requests such as: write a filebeat.yml, generate an otelcol config, send logs to ES, collect nginx or Java application logs to Elasticsearch, or sync Kafka logs to ES. Always output one configuration file targeting Elasticsearch; never mix technology stacks or emit non-ES outputs. license: Apache-2.0 compatibility: > Works with cloud-hosted or self-managed Elasticsearch. ES 8.12+ is recommended; OpenTelemetry mapping mode otel is recommended on ES 8.16+. Requires local otelcol-contrib or filebeat for configuration validation and runtime execution. This skill does not require online APIs; all references live under references/ and should be loaded on demand. metadata: domain: aiops category: database product: alibabacloud-elasticsearch owner: alibabacloud-elasticsearch-team contact: alibabacloud-elasticsearch-skills@alibaba-inc.com
This skill generates exactly **one** valid configuration file that collects log data and sends it to **Elasticsearch**. It supports two technology stacks, and each request must choose exactly one:
1. **Generate only one configuration per request.** Do not concatenate or batch multiple configurations. 2. **Use exactly one technology stack.** Never mix OpenTelemetry components and Filebeat sections in the same file. 3. **Confirm before generating.** Do not generate YAML until the user has answered the Step 1 technology stack confirmation question in a separate reply. 4. **The output must be Elasticsearch.** Never use Kafka, S3, Logstash-only, files, or any other non-Elasticsearch destination as the final output. 5. **Logs only.** Inputs must be log-shaped sources: files, log webhooks, or Kafka topics that contain logs. If the user asks for a clearly different non-log input, refuse and explain why. 6. **No Syslog or Fluent forward input sources.** Do not generate collector or Filebeat listener configurations for Syslog or Fluent forward protocols. If the user asks for Syslog or Fluent forward as the source, refuse and ask them to choose file, OTLP, HTTP webhook, or Kafka log ingestion instead. 7. **Use local knowledge first.** Authoritative references live in the `references/` directory next to this `SKILL.md`. When a component option is covered locally, do not search the web; read the matching file under `references/`. 8. **Keep the design minimal.** Generate only fields requested by the user or required for the file to load. For common but optional features such as batching, retries, or ILM, recommend them and wait for explicit user confirmation before adding them. 9. **Never inline secrets.** Reference all secrets through `${env:VAR}` for OTel or `${VAR}` for Filebeat.
Before writing YAML, read the matching file under `references/` to verify field names and defaults. The list below is complete. If the required option is not covered, ask the user before writing it.
Components:
Transitive references used by the components above and already localized under hard constraint #5:
Official Alibaba Cloud Agent Skills collection, providing AI agents with rich Alibaba Cloud product capabilities and general-purpose tooling.
Explain, evaluate, demonstrate, provision, and integrate Alibaba Cloud Bailian Managed Agent…
Alibaba Cloud Parse-X intelligent document parsing and extraction tool. Supports two…
Execute code in a secure cloud sandbox via AgentBay SDK. Use this skill whenever users…
Operate Alibaba Cloud AgentLoop Dataset resources with aliyun CLI and the AgentLoop API…
Orchestrate AgentLoop evaluation workflows through the Aliyun CLI plugin with safe previews,…
Proactively use AgentLoop Recall to retrieve prior Alibaba Cloud AgentLoop experience through…