# Read metrics from a Mavlink flight controller. [[inputs.mavlink]] ## Flight controller URL supporting serial port, UDP and TCP connections. ## Options are documented at ## https://mavsdk.mavlink.io/v1.4/en/cpp/guide/connections.html. ## ## Examples: ## - Serial port: serial:///dev/ttyACM0:57600 ## - TCP client: tcp://192.168.1.12:5760 ## - UDP client: udp://192.168.1.12:14550 ## - TCP server: tcpserver://:5760 ## - UDP server: udpserver://:14550 # url = "tcp://127.0.0.1:5760" ## Filter to specific messages. Only the messages in this list will be parsed. ## If blank or unset, all messages will be accepted. Glob syntax is accepted. ## Each message in this list should be lowercase camel_case, with "message_" ## prefix removed, eg: "global_position_int", "attitude" # filter = [] ## Mavlink system ID for Telegraf. Only used if the mavlink plugin is sending ## messages, eg. when `stream_request_frequency` is 0 (see below.) # system_id = 254 ## Determines whether the plugin sends requests to subscribe to data. ## In mavlink, stream rates must be configured before data is received. ## This config item sets the rate in Hz, with 0 disabling the request. ## ## This frequency should be set to 0 if your software already controls the ## rates using REQUEST_DATA_STREAM or MAV_CMD_SET_MESSAGE_INTERVAL ## (See https://mavlink.io/en/mavgen_python/howto_requestmessages.html) # stream_request_frequency = 4