1
0
Fork 0
telegraf/plugins/serializers/csv/testcases/ordered_not_exist.conf

13 lines
512 B
Text
Raw Permalink Normal View History

# Example for outputting CSV with a specified column order
#
# Output File:
# testcases/ordered_not_exist.csv
#
# Input:
# mymetric,machine=A1,host=1cbbb3796fc2 pressure=987.5,temperature=23.7,hours=15i 1653643420000000000
# mymetric,machine=X9,host=83d2e491ca01 status="healthy",pressure=1022.6,temperature=39.9,hours=231i 1653646789000000000
csv_timestamp_format = "unix_ns"
csv_header = true
csv_columns = ["timestamp", "field.temperature", "field.pressure", "field.status", "tag.location", "tag.machine"]