Skip to content

Latest commit

 

History

History
93 lines (76 loc) · 5.12 KB

File metadata and controls

93 lines (76 loc) · 5.12 KB

Frontmatter

Every Markdown file referenced in the TOC may optionally define a frontmatter block. Frontmatter is YAML-formatted metadata about a page, at the beginning of each file and wrapped by --- lines.

In the frontmatter block, you can define the following fields:

---
navigation_title: This is the navigation title. <1>
description: This is a description of the page. <2>
applies_to: <3>
  serverless: all
products: <4>
  - id: apm-agent
  - id: edot-sdk
sub: <5>
  key: value 
---
  1. navigation_title
  2. description
  3. applies_to
  4. products
  5. sub

Navigation Title

See

Description

Use the description frontmatter to set the description meta tag for a page. This helps search engines and social media. It also sets the og:description and twitter:description meta tags.

The description frontmatter is a string, recommended to be around 150 characters. If you don't set a description, it will be generated from the first few paragraphs of the page until it reaches 150 characters.

Applies to

See

Products

The products frontmatter is a list of products that the page relates to. This is used for the "Products" filter in the Search UI.

The products frontmatter is a list of objects, each object has an id field. Only products with the public-reference feature (or no explicit features mapping) in products.yml are valid here. Products that only participate in release notes cannot be used in frontmatter.

Product ID Product Name
apm APM
apm-agent APM Agent
auditbeat Auditbeat
beats Beats
cloud-control-ecctl Elastic Cloud Control ECCTL
cloud-enterprise Elastic Cloud Enterprise
cloud-hosted Elastic Cloud Hosted
cloud-kubernetes Elastic Cloud Kubernetes
cloud-serverless Elastic Cloud Serverless
cloud-terraform Elastic Cloud Terraform
ecs Elastic Common Schema (ECS)
ecs-logging ECS Logging
edot-cf EDOT Cloud Forwarder
edot-sdk Elastic Distribution of OpenTelemetry SDK
edot-collector Elastic Distribution of OpenTelemetry Collector
elastic-agent Elastic Agent
elastic-serverless-forwarder Elastic Serverless Forwarder
elastic-stack Elastic Stack
elasticsearch Elasticsearch
elasticsearch-client Elasticsearch Client
filebeat Filebeat
fleet Fleet
heartbeat Heartbeat
integrations Integrations
kibana Kibana
logstash Logstash
machine-learning Machine Learning
metricbeat Metricbeat
observability Elastic Observability
packetbeat Packetbeat
painless Painless
search-ui Search UI
security Elastic Security
winlogbeat Winlogbeat

Subs

Use the sub field to define local substitutions. Refer to Substitutions for more information.