MavLink and Elasticsearch Integration
Powerful performance with an easy integration, powered by Telegraf, the open source data connector built by InfluxData.
5B+
Telegraf downloads
#1
Time series database
Source: DB Engines
1B+
Downloads of InfluxDB
2,800+
Contributors
Table of Contents
Powerful Performance, Limitless Scale
Collect, organize, and act on massive volumes of high-velocity data. Any data is more valuable when you think of it as time series data. with InfluxDB, the #1 time series platform built to scale with Telegraf.
See Ways to Get Started
Input and output integration overview
<p>This plugin collects metrics from MavLink-compatible flight controllers like ArduPilot and PX4, enabling live data ingestion from unmanned systems such as drones and boats.</p>
<p>The Telegraf Elasticsearch Plugin seamlessly sends metrics to an Elasticsearch server. The plugin handles template creation and dynamic index management, and supports various Elasticsearch-specific features to ensure data is formatted correctly for storage and retrieval.</p>
Integration details
MavLink
<p>The MavLink plugin is designed to gather metrics from MavLink-compatible flight controllers such as ArduPilot and PX4. It provides a mechanism to live ingest flight metrics from various unmanned systems, including drones, planes, and boats. By utilizing the ArduPilot-specific MavLink dialect, the plugin parses a wide range of messages as documented in the MavLink documentation. It enables seamless integration of telemetry data, allowing for detailed monitoring and analysis of flight operations. Users must be cautious, as this plugin may generate a substantial volume of data; thus, filters are available to limit the metrics collected and transmitted to output plugins. Additionally, configuration options allow customization of which messages to receive and how to connect to the flight controller.</p>
Elasticsearch
<p>This plugin writes metrics to Elasticsearch, a distributed, RESTful search and analytics engine capable of storing large amounts of data in near real-time. It is designed to handle Elasticsearch versions 5.x through 7.x and utilizes its dynamic template features to manage data type mapping properly. The plugin supports advanced features such as template management, dynamic index naming, and integration with OpenSearch. It also allows configurations for authentication and health monitoring of the Elasticsearch nodes.</p>
Configuration
MavLink
Elasticsearch
Input and output integration examples
MavLink
<ol> <li> <p><strong>Real-Time Fleet Monitoring</strong>: Utilize the MavLink plugin to create a centralized dashboard for monitoring multiple drones in real-time. By ingesting metrics from various flight controllers, operators can oversee the status, health, and location of all drones, allowing for quick decision-making and enhanced situational awareness. This integration could significantly improve coordination during large-scale operations, like aerial surveys or search and rescue missions.</p> </li> <li> <p><strong>Automated Anomaly Detection</strong>: Leverage MavLink in conjunction with machine learning algorithms to detect anomalies in flight data. By continuously monitoring metrics such as altitude, speed, and battery status, the system can alert operators to deviations from normal behavior, potentially indicating technical malfunctions or safety issues. This proactive approach can enhance safety and reduce the risk of in-flight failures.</p> </li> <li> <p><strong>Data-Driven Maintenance Scheduling</strong>: Integrate the data collected through the MavLink plugin with maintenance management systems to optimize maintenance schedules based on actual flight metrics. Analyzing the collected data can highlight patterns indicating when specific components are likely to fail, thereby enabling predictive maintenance strategies that minimize downtime and repair costs.</p> </li> <li> <p><strong>Enhanced Research Analytics</strong>: For academic and commercial UAV research, MavLink can be used to gather extensive flight data for analysis. By compiling metrics over numerous flights, researchers can uncover insights related to flight patterns, environmental interactions, and the efficiency of different drone models. This can foster advancements in UAV technology and broader applications in autonomous systems.</p> </li> </ol>
Elasticsearch
<ol> <li> <p><strong>Time-based Indexing</strong>: Use this plugin to store metrics in Elasticsearch to index each metric based on the time collected. For example, CPU metrics can be stored in a daily index named<code>telegraf-2023.01.01</code>, allowing easy time-based queries and retention policies.</p> </li> <li> <p><strong>Dynamic Templates Management</strong>: Utilize the template management feature to automatically create a custom template tailored to your metrics. This allows you to define how different fields are indexed and analyzed without manually configuring Elasticsearch, ensuring an optimal data structure for querying.</p> </li> <li> <p><strong>OpenSearch Compatibility</strong>: If you are using AWS OpenSearch, you can configure this plugin to work seamlessly by activating compatibility mode, ensuring your existing Elasticsearch clients remain functional and compatible with newer cluster setups.</p> </li> </ol>
Feedback
Thank you for being part of our community! If you have any general feedback or found any bugs on these pages, we welcome and encourage your input. Please submit your feedback in the InfluxDB community Slack.
Powerful Performance, Limitless Scale
Collect, organize, and act on massive volumes of high-velocity data. Any data is more valuable when you think of it as time series data. with InfluxDB, the #1 time series platform built to scale with Telegraf.
See Ways to Get Started
Related Integrations
Related Integrations
HTTP and InfluxDB Integration
The HTTP plugin collects metrics from one or more HTTP(S) endpoints. It supports various authentication methods and configuration options for data formats.
View IntegrationKafka and InfluxDB Integration
This plugin reads messages from Kafka and allows the creation of metrics based on those messages. It supports various configurations including different Kafka settings and message processing options.
View IntegrationKinesis and InfluxDB Integration
The Kinesis plugin allows for reading metrics from AWS Kinesis streams. It supports multiple input data formats and offers checkpointing features with DynamoDB for reliable message processing.
View Integration