docs-v2/content/telegraf/v1/processor-plugins/printer/_index.md

2.1 KiB

description menu tags introduced os_support related
Telegraf plugin for transforming metrics using Printer
telegraf_v1_ref
parent name identifier
processor_plugins_reference Printer processor-printer
Printer
processor-plugins
configuration
testing
v1.1.0 freebsd, linux, macos, solaris, windows
/telegraf/v1/configure_plugins/
https://github.com/influxdata/telegraf/tree/v1.38.1/plugins/processors/printer/README.md, Printer Plugin Source

Printer Processor Plugin

This plugin prints every metric passing through it to the standard output.

Introduced in: Telegraf v1.1.0 Tags: testing OS support: all

Global configuration options

Plugins support additional global and plugin configuration settings for tasks such as modifying metrics, tags, and fields, creating aliases, and configuring plugin ordering. See CONFIGURATION.md for more details.

Configuration

# Print all metrics that pass through this filter.
[[processors.printer]]
  ## Maximum line length in bytes.  Useful only for debugging.
  # influx_max_line_bytes = 0

  ## When true, fields will be output in ascending lexical order.  Enabling
  ## this option will result in decreased performance and is only recommended
  ## when you need predictable ordering while debugging.
  # influx_sort_fields = false

  ## When true, Telegraf will output unsigned integers as unsigned values,
  ## for example `42u`.  You will need a version of InfluxDB supporting unsigned
  ## integer values.  Enabling this option will result in field type errors if
  ## existing data has been written.
  # influx_uint_support = false

  ## When true, Telegraf will omit the timestamp on data to allow InfluxDB
  ## to set the timestamp of the data during ingestion. This is generally NOT
  ## what you want as it can lead to data points captured at different times
  ## getting omitted due to similar data.
  # influx_omit_timestamp = false