[agent]
  interval = "10s"
  flush_interval = "10s"

[[outputs.influxdb_v2]]
  urls = ["http://192.168.1.10:8086"]
  token = "your token"
  organization = "your organisation"
  bucket = "your bucket"

[[inputs.exec]]
  commands = ["sh /var/snap/ctrlx-telegraf/common/solutions/activeConfiguration/telegraf/top_10/exec_for_telegraf_ps/top_ps.sh"]
  timeout = "5s"
  data_format = "influx"
