secondsky/sap-skills/sap-btp-cloud-logging
Claude Code and agent skill by secondsky/sap-skills
- community
Checking that the SKILL.md file is still in the repository.
This skill provides comprehensive guidance for SAP Cloud Logging service on SAP BTP. Use when setting up Cloud Logging instances, configuring log ingestion from Cloud Foundry or Kyma runtimes, implementing OpenTelemetry observability, analyzing logs/metrics/traces in OpenSearch Dashboards, configuring SAML authentication, managing certificates, or troubleshooting ingestion issues. Covers service plans (dev/standard/large), all 4 instance creation methods (BTP Cockpit, CF CLI, BTP CLI, Service Operator), all 4 ingestion methods (Cloud Foundry, Kyma, OpenTelemetry, JSON API), and security best practices.
Install
npx vskill@latest install secondsky/sap-skills/sap-btp-cloud-loggingSKILL.md
SAP BTP Cloud Logging Skill
Related Skills
- sap-btp-cloud-platform: Use for BTP subaccount setup, entitlements, and runtime context
- sap-btp-cloud-identity-services: Use for SAML/IAS authentication and trust configuration
- sap-btp-developer-guide: Use for application observability patterns across CAP and BTP apps
- sap-btp-best-practices: Use for production monitoring and operations governance
When to Use This Skill
Use this skill when creating Cloud Logging instances, choosing service plans, configuring Cloud Foundry/Kyma/OpenTelemetry/JSON ingestion, rotating certificates, setting up OpenSearch dashboards, enabling SAML, or troubleshooting missing logs, metrics, traces, or alerts.
Table of Contents
- Service Overview
- Service Plans
- Quick Start
- Prerequisites
- Instance Creation Options
- Configuration Parameters
- Full Configuration Example
- Data Ingestion Methods
- 1. Cloud Foundry Runtime
- 2. Kyma Runtime
- 3. OpenTelemetry API (OTLP)
- 4. JSON API
- Certificate Management
- Certificate Validity
- Bundled Resources
- Root CA Rotation (3-Step Process)
- OpenSearch Dashboards
- Access
- Pre-built Dashboards
- Custom Dashboards & Alerting
- Index Patterns Summary
- Security Best Practices
- Security Recommendations
- SAML Authentication Setup
- Backup & Recovery
- Automatic Backups
- Restoration Process
- Common Issues & Troubleshooting
- Reference Files
- Documentation Links
- Official Sources
- Related Documentation
- Data Protection Notice
Service Overview
SAP Cloud Logging is an instance-based observability service built on OpenSearch that stores, visualizes, and analyzes application logs, metrics, and traces from SAP BTP Cloud Foundry, Kyma, Kubernetes, and other runtime environments.
Key Capabilities:
- Ingest logs, metrics, and traces via OpenTelemetry (OTLP) or JSON API
- Ingest application and request logs from Cloud Foundry runtime
- Configure data retention (1-90 days)
- Visualize and analyze data in OpenSearch Dashboards
- Create custom dashboards and alerts
- SAML authentication via SAP Identity Authentication Service
Service Plans
| Plan | Capacity | Use Case | Auto-Scaling | |
|---|---|---|---|---|
| dev | 7.5 GB fixed | Evaluation only | No | |
| standard | 75 GB - 375 GB | Production (100 logs/sec) | Yes | |
| large | 750 GB - 3.75 TB | Production (1000 logs/sec) | Yes |
Important: Plan updates are not supported. Migration requires running instances in parallel.
Quick Start
Prerequisites
- SAP BTP Global Account
- Subaccount with Cloud Logging entitlement
- (Recommended) SAP Cloud Identity Services tenant for SAML authentication
Note for SAP Build Code Users: If using SAP Build Code, follow the SAP Build Code Initial Setup instructions instead. Cloud Logging in SAP Build Code is available for evaluation purposes only.
Instance Creation Options
Choose one method based on your workflow:
Option 1: SAP BTP Cockpit (UI)
- Navigate to Subaccount → Instances and Subscriptions → Create
- Select
cloud-loggingservice and plan - Configure parameters (see Configuration section)
- Create service key for credentials
Option 2: Cloud Foundry CLI
Option 3: SAP BTP CLI
Option 4: SAP BTP Service Operator (Kubernetes/Kyma)
Configuration Parameters
| Parameter | Type | Default | Description | |
|---|---|---|---|---|
retention_period | int | 7 | Data retention in days (1-90) | |
backend.max_data_nodes | int | 10 | Max OpenSearch data nodes (2-10) | |
dashboards.custom_label | string | - | Dashboard identifier (max 20 chars) | |
ingest.max_instances | int | 10 | Max ingest instances for autoscaling (2-10) | |
ingest.min_instances | int | 2 | Min ingest instances (2-10) | |
ingest_otlp.enabled | bool | false | Enable OpenTelemetry Protocol ingestion | |
feature_flags | array | [] | Experimental features (e.g., upgradeToOpenSearchV2) | |
rotate_root_ca | bool | false | Trigger CA certificate rotation | |
saml | object | - | SAML authentication configuration |
Full Configuration Example
Data Ingestion Methods
1. Cloud Foundry Runtime
Bind applications directly to the Cloud Logging instance:
Index Patterns:
logs-cfsyslog-*- Application logsmetrics-otel-v1-*- Resource metrics
For user-provided services with mTLS, see references/cf-ingestion.md.
2. Kyma Runtime
Requires telemetry and btp-operator modules enabled:
Index Patterns:
logs-json-istio-envoy-kyma*- Istio access logslogs-json-kyma*- Application logs
3. OpenTelemetry API (OTLP)
Enable with ingest_otlp.enabled: true, then configure your application:
Service Key Credentials:
ingest-otlp-endpoint- gRPC endpoint (hostname:443)ingest-otlp-cert- Client certificate (PEM)ingest-otlp-key- Private key (PKCS#8)server-ca- Server CA certificate
Index Patterns:
logs-otel-v1-*- Logsmetrics-otel-v1-*- Metricsotel-v1-apm-span-*- Tracesotel-v1-apm-service-map- Service map
Note: Only gRPC protocol supported. Use OpenTelemetry Collector to convert http/protobuf or http/json.
For Java/Node.js automation libraries, see references/opentelemetry-ingestion.md.
4. JSON API
Send logs via HTTP with mTLS:
Index Pattern: logs-json-*
For Fluent Bit configuration, see references/json-api-ingestion.md.
Certificate Management
Certificate Validity
- Default: 90 days
- Configurable: 1-180 days via
certValidityDaysin binding parameters
Root CA Rotation (3-Step Process)
CAUTION: Not following this process causes ingestion interruption.
- Create new CA: Update instance with
"rotate_root_ca": true - Rebind all applications: Create new bindings for each shipping mechanism
- Delete old CA: Update instance with
"rotate_root_ca": false
OpenSearch Dashboards
Access
- Create service binding/key
- Navigate to
dashboards-urlfrom credentials - Authenticate (SAML or basic auth)
Pre-built Dashboards
- Cloud Foundry application performance
- Request latency and error rates
- Resource utilization metrics
Custom Dashboards & Alerting
- Create custom dashboards for specific analysis needs
- Configure alerting based on observability data
- Integrate with SAP Alert Notification for SAP BTP for advanced alerting workflows
Index Patterns Summary
| Source | Index Pattern | |
|---|---|---|
| CF Logs | logs-cfsyslog-* | |
| CF Metrics | metrics-otel-v1-* | |
| OTLP Logs | logs-otel-v1-* | |
| OTLP Metrics | metrics-otel-v1-* | |
| OTLP Traces | otel-v1-apm-span-* | |
| JSON API | logs-json-* | |
| Kyma Apps | logs-json-kyma* | |
| Kyma Istio | logs-json-istio-envoy-kyma* |
Note: Attribute names use @ instead of . due to OpenSearch/Lucene limitations.
Security Best Practices
Security Recommendations
- BTP-CLS-0001: Configure SAML authentication with Identity Authentication Service (critical)
- BTP-CLS-0002: Rotate service keys regularly; deletion doesn't automatically invalidate credentials
- BTP-CLS-0003: Review Kyma runtime and JSON API security configuration
Note: Only BTP-CLS-0001 (critical level) is currently reported to SAP Cloud ALM. Other recommendations must be manually verified.
SAML Authentication Setup
- Create SAML 2.0 application in SAP Identity Authentication
- Configure "groups" attribute from Identity Directory
- Set Name ID Format to "E-mail"
- Enable request signing (recommended)
- Configure
samlparameters in instance configuration - The
admin_groupmaps toall_accessrole
See references/saml-authentication.md for detailed setup.
Backup & Recovery
Automatic Backups
Backed up: OpenSearch settings, roles, role mappings, tenants, groups, security configs, saved objects, ISM policies Not backed up: Alerts
Restoration Process
Create SAP support ticket with component BC-CP-CLS including:
- Dashboard URL
- Instance configuration
- Deprovisioning timestamp
- Target restoration date (max 7 days)
- Owner information
- Business justification
Common Issues & Troubleshooting
Instance Creation Fails
- Verify entitlement in subaccount
- Check service plan availability in region
- Validate JSON configuration syntax
Ingestion Not Working
- Verify binding credentials are current (check certificate expiry)
- For CF: Binding takes effect without restaging
- For OTLP: Ensure
ingest_otlp.enabled: true - Check network connectivity to ingest endpoint
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/sap-btp-cloud-logging/skills/sap-btp-cloud-logging/SKILL.md
Popularity
- Repository stars
- 154
- Repository forks
- 36
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 20 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/secondsky/sap-skills/sap-btp-cloud-logging)