- Observability: other versions:
- Get started
- What is Elastic Observability?
- What’s new in 8.17
- Quickstart: Monitor hosts with Elastic Agent
- Quickstart: Monitor your Kubernetes cluster with Elastic Agent
- Quickstart: Monitor hosts with OpenTelemetry
- Quickstart: Unified Kubernetes Observability with Elastic Distributions of OpenTelemetry (EDOT)
- Quickstart: Collect data with AWS Firehose
- Add data from Splunk
- Applications and services
- Application performance monitoring (APM)
- Get started
- Learn about data types
- Collect application data
- View and analyze data
- Act on data
- Use APM securely
- Manage storage
- Configure APM Server
- Monitor APM Server
- APM APIs
- Troubleshooting
- Upgrade
- Release notes
- Known issues
- Synthetic monitoring
- Get started
- Scripting browser monitors
- Configure lightweight monitors
- Manage monitors
- Work with params and secrets
- Analyze monitor data
- Monitor resources on private networks
- Use the CLI
- Configure projects
- Multi-factor Authentication
- Configure Synthetics settings
- Grant users access to secured resources
- Manage data retention
- Use Synthetics with traffic filters
- Migrate from the Elastic Synthetics integration
- Scale and architect a deployment
- Synthetics support matrix
- Synthetics Encryption and Security
- Troubleshooting
- Real user monitoring
- Uptime monitoring (deprecated)
- Tutorial: Monitor a Java application
- Application performance monitoring (APM)
- CI/CD
- Cloud
- Infrastructure and hosts
- Logs
- Troubleshooting
- Incident management
- Data set quality
- Observability AI Assistant
- Reference
Troubleshoot mapping issues
editTroubleshoot mapping issues
editMapping issues
editThere are situations in which Heartbeat data can be indexed without the correct mappings applied.
These situations cannot occur with the Elastic Agent configured via Fleet, only with standalone Heartbeat or Elastic Agent running in standalone mode.
This can occur when the underlying heartbeat-VERSION
ILM alias is deleted manually or when Heartbeat writes data
through an intermediary such as Logstash without the setup
command being run.
When running Elastic Agent in standalone mode this can happen if manually setup data streams have incorrect mappings.
To fix this problem, you typically need to remove your Heartbeat indices and data streams. Then you must create new ones with the appropriate mappings installed. To achieve this, follow the steps below.
Stop your Heartbeat/Elastic Agent instances
editIt is necessary to stop all Heartbeat/Elastic Agent instances that are targeting the cluster, so they will not write to or re-create indices prematurely.
Delete your Heartbeat indices / Elastic Agent data streams
editTo ensure the mapping is applied to all Heartbeat data going forward, delete all the Heartbeat indices that match the pattern the Uptime app will use.
There are multiple ways to achieve this. You can read about performing this using the Index Management UI or with the Delete index API.
If using Elastic Agent you will want to fix any issues with custom data stream mappings. We encourage the use of Fleet to eliminate this issue.
If using Heartbeat, perform Heartbeat setup
editThe below command will cause Heartbeat to perform its setup processes and recreate the index template properly.
./heartbeat setup -e
For more information on how to use this command, or if you’re using DEB, RPM, or Windows, see the Heartbeat quickstart guide.
This command performs the necessary startup tasks and ensures that your indices have the appropriate mapping going forward.
Run Heartbeat/Elastic Agent again
editNow, when you run Heartbeat/Elastic Agent, your data will be indexed with the appropriate mappings. When the Uptime app attempts to fetch your data, it should be able to render without issues.
On this page