Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not serialize metric: invalid name from gnmi input plugin with Sonic switch #12257

Closed
rasanentimo opened this issue Nov 17, 2022 · 5 comments · Fixed by #12258
Closed
Labels
area/gnmi bug unexpected problem or unintended behavior plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins

Comments

@rasanentimo
Copy link

Relevant telegraf.conf

[[inputs.gnmi.subscription]]
name = "temperature"
path = "/components/component[name=TEMP 1]/state"
origin = "openconfig-platform"
sample_interval = "60s"
subscription_mode = "sample"

[[outputs.file]]
  ## Files to write to, "stdout" is a specially handled file.
  files = ["stdout", "/tmp/telegraf-output"]
  data_format = "influx"

Logs from Telegraf

2022-11-17T13:22:36Z I! Using config file: /etc/telegraf/telegraf.conf
2022-11-17T13:22:36Z I! Starting Telegraf 1.23.4
2022-11-17T13:22:36Z I! Loaded inputs: gnmi
2022-11-17T13:22:36Z I! Loaded aggregators:
2022-11-17T13:22:36Z I! Loaded processors:
2022-11-17T13:22:36Z I! Loaded outputs: file
2022-11-17T13:22:36Z I! Tags enabled: host=host
2022-11-17T13:22:36Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:"host", Flush Interval:10s
2022-11-17T13:22:36Z D! [agent] Initializing plugins
2022-11-17T13:22:36Z D! [agent] Connecting outputs
2022-11-17T13:22:36Z D! [agent] Attempting connection to [outputs.file]
2022-11-17T13:22:36Z D! [agent] Successfully connected to outputs.file
2022-11-17T13:22:36Z D! [agent] Starting service inputs
2022-11-17T13:22:37Z D! [inputs.gnmi] Connection to gNMI device 1.1.1.1:8080 established
2022-11-17T13:22:46Z D! [outputs.file] Could not serialize metric: invalid name
^C2022-11-17T13:22:59Z D! [agent] Stopping service inputs
2022-11-17T13:22:59Z D! [inputs.gnmi] Connection to gNMI device 10.180.112.13:8080 closed
2022-11-17T13:22:59Z D! [agent] Input channel closed
2022-11-17T13:22:59Z I! [agent] Hang on, flushing any cached metrics before shutdown
2022-11-17T13:22:59Z D! [outputs.file] Buffer fullness: 0 / 10000 metrics
2022-11-17T13:22:59Z I! [agent] Stopping running outputs
2022-11-17T13:22:59Z D! [agent] Stopped Successfully

System info

Docker image telegraf:1.23.4-alpine

Docker

No response

Steps to reproduce

  1. Configure gnmi on the Sonic switch (4.0.2)
  2. start Telegraf

Expected behavior

Expecting the data to be written to the file and the metric name as stated on the configuration file, in this case 'temperature'.

Actual behavior

Plugin is not able to get the name from the configuration, the name is left empty (as shown on the logs)

2022-11-15T14:43:11Z D! [outputs.file] Could not serialize metric: invalid name
2022-11-15T14:43:11Z D! [outputs.file] Could not serialize metric: invalid name
2022-11-15T14:43:11Z D! [outputs.file] Could not serialize metric: invalid name
2022-11-15T14:43:11Z D! [outputs.file] Could not serialize metric: invalid name
2022-11-15T14:43:11Z D! [outputs.file] Could not serialize metric: invalid name

Additional info

This issue looks similar to #6391

Here's a log file which shows the data written to file in json format. Here you can see that the name of the metric is ""

2022-11-17T12:04:00Z I! Using config file: /etc/telegraf/telegraf.conf
2022-11-17T12:04:00Z I! Starting Telegraf 1.23.4
2022-11-17T12:04:00Z I! Loaded inputs: gnmi
2022-11-17T12:04:00Z I! Loaded aggregators:
2022-11-17T12:04:00Z I! Loaded processors:
2022-11-17T12:04:00Z I! Loaded outputs: file
2022-11-17T12:04:00Z I! Tags enabled: host=host
2022-11-17T12:04:00Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:"host", Flush Interval:10s
2022-11-17T12:04:00Z D! [agent] Initializing plugins
2022-11-17T12:04:00Z D! [agent] Connecting outputs
2022-11-17T12:04:00Z D! [agent] Attempting connection to [outputs.file]
2022-11-17T12:04:00Z D! [agent] Successfully connected to outputs.file
2022-11-17T12:04:00Z D! [agent] Starting service inputs
2022-11-17T12:04:00Z D! [inputs.gnmi] Connection to gNMI device 1.1.1.1:8080 established
2022-11-17T12:04:10Z D! [outputs.file] Wrote batch of 1 metrics in 207.228µs
2022-11-17T12:04:10Z D! [outputs.file] Buffer fullness: 0 / 10000 metrics
{"fields":{"/openconfig_platform:components/component/state/name":"CPU On-board","/openconfig_platform:components/component/state/temperature/critical_high_threshold":94,"/openconfig_platform:components/component/state/temperature/current":30,"/openconfig_platform:components/component/state/temperature/high_threshold":90,"/openconfig_platform:components/component/state/temperature/low_threshold":0,"/openconfig_platform:components/component/state/temperature/timestamp":"2022-11-17T12:03:26Z","/openconfig_platform:components/component/state/temperature/warning_status":false},"name":"","tags":{"host":"host","name":"TEMP 1","path":"/openconfig-platform:components/component/state","source":"1.1.1.1"},"timestamp":1668686644}
2022-11-17T12:04:20Z D! [outputs.file] Buffer fullness: 0 / 10000 metrics
2022-11-17T12:04:30Z D! [outputs.file] Buffer fullness: 0 / 10000 metrics
2022-11-17T12:04:40Z D! [outputs.file] Buffer fullness: 0 / 10000 metrics
2022-11-17T12:04:50Z D! [outputs.file] Buffer fullness: 0 / 10000 metrics
2022-11-17T12:05:00Z D! [outputs.file] Buffer fullness: 0 / 10000 metrics
{"fields":{"/openconfig_platform:components/component/state/name":"CPU On-board","/openconfig_platform:components/component/state/temperature/critical_high_threshold":94,"/openconfig_platform:components/component/state/temperature/current":29,"/openconfig_platform:components/component/state/temperature/high_threshold":90,"/openconfig_platform:components/component/state/temperature/low_threshold":0,"/openconfig_platform:components/component/state/temperature/timestamp":"2022-11-17T12:04:26Z","/openconfig_platform:components/component/state/temperature/warning_status":false},"name":"","tags":{"host":"host","name":"TEMP 1","path":"/openconfig-platform:components/component/state","source":"1.1.1.1"},"timestamp":1668686704}
2022-11-17T12:05:10Z D! [outputs.file] Wrote batch of 1 metrics in 226.736µs
2022-11-17T12:05:10Z D! [outputs.file] Buffer fullness: 0 / 10000 metrics
^C2022-11-17T12:05:13Z D! [agent] Stopping service inputs
2022-11-17T12:05:13Z D! [inputs.gnmi] Connection to gNMI device 1.1.1.1:8080 closed
2022-11-17T12:05:13Z D! [agent] Input channel closed
2022-11-17T12:05:13Z I! [agent] Hang on, flushing any cached metrics before shutdown
2022-11-17T12:05:13Z D! [outputs.file] Buffer fullness: 0 / 10000 metrics
2022-11-17T12:05:13Z I! [agent] Stopping running outputs
2022-11-17T12:05:13Z D! [agent] Stopped Successfully

Write to file works if the data is stored in prometheus data format

[[outputs.file]]
  ## Files to write to, "stdout" is a specially handled file.
  files = ["stdout", "/tmp/telegraf-output"]
  data_format = "prometheus"

but the metric name becomes ‘openconfig_platform:components_component_state_temperature_current’ instead of 'temperature' which was stated in the config file.

# HELP openconfig_platform:components_component_state_temperature_current Telegraf collected metric
# TYPE openconfig_platform:components_component_state_temperature_current untyped
openconfig_platform:components_component_state_temperature_current{host="host",name="TEMP 1",path="/openconfig-platform:components/component/state",source="1.1.1.1"} 30
@rasanentimo rasanentimo added the bug unexpected problem or unintended behavior label Nov 17, 2022
@rasanentimo
Copy link
Author

here are more debugs related to the case, d0c7391

2022-11-17T15:22:47Z I! Starting Telegraf 1.25.0-d0c73910
2022-11-17T15:22:47Z I! Available plugins: 227 inputs, 9 aggregators, 26 processors, 21 parsers, 57 outputs
2022-11-17T15:22:47Z I! Loaded inputs: gnmi
2022-11-17T15:22:47Z I! Loaded aggregators:
2022-11-17T15:22:47Z I! Loaded processors:
2022-11-17T15:22:47Z I! Loaded outputs: file
2022-11-17T15:22:47Z I! Tags enabled: host=host
2022-11-17T15:22:47Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:"host", Flush Interval:10s
2022-11-17T15:22:47Z D! [agent] Initializing plugins
2022-11-17T15:22:47Z D! [agent] Connecting outputs
2022-11-17T15:22:47Z D! [agent] Attempting connection to [outputs.file]
2022-11-17T15:22:47Z D! [agent] Successfully connected to outputs.file
2022-11-17T15:22:47Z D! [agent] Starting service inputs
2022-11-17T15:22:47Z D! [inputs.gnmi] internal aliases: map[/components/component/state:temperature openconfig-platform:/components/component/state:temperature]
2022-11-17T15:22:47Z D! [inputs.gnmi] Connection to gNMI device 1.1.1.1:8080 established
2022-11-17T15:22:51Z D! [inputs.gnmi] update: path:{elem:{name:"temperature"}  elem:{name:"high-threshold"}}  val:{float_val:90}
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"temperature"}  elem:{name:"high-threshold"}
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "temperature"
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField]     path element 1: "high-threshold"
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   --> aliasPath after handleTelemetryField: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   --> aliasPath: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   --> lastAliasPath: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   ==> final name: ""
2022-11-17T15:22:51Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-17T15:22:51Z D! [inputs.gnmi] update: path:{elem:{name:"temperature"}  elem:{name:"low-threshold"}}  val:{float_val:0}
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"temperature"}  elem:{name:"low-threshold"}
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "temperature"
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField]     path element 1: "low-threshold"
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   --> aliasPath after handleTelemetryField: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   --> aliasPath: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   --> lastAliasPath: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   ==> final name: ""
2022-11-17T15:22:51Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-17T15:22:51Z D! [inputs.gnmi] update: path:{elem:{name:"temperature"}  elem:{name:"timestamp"}}  val:{string_val:"2022-11-17T15:22:28Z"}
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"temperature"}  elem:{name:"timestamp"}
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "temperature"
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField]     path element 1: "timestamp"
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   --> aliasPath after handleTelemetryField: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   --> aliasPath: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   --> lastAliasPath: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   ==> final name: ""
2022-11-17T15:22:51Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-17T15:22:51Z D! [inputs.gnmi] update: path:{elem:{name:"temperature"}  elem:{name:"warning-status"}}  val:{bool_val:false}
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"temperature"}  elem:{name:"warning-status"}
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "temperature"
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField]     path element 1: "warning-status"
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   --> aliasPath after handleTelemetryField: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   --> aliasPath: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   --> lastAliasPath: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   ==> final name: ""
2022-11-17T15:22:51Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-17T15:22:51Z D! [inputs.gnmi] update: path:{elem:{name:"name"}}  val:{string_val:"CPU On-board"}
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"name"}
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "name"
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   --> aliasPath after handleTelemetryField: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   --> aliasPath: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   --> lastAliasPath: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   ==> final name: ""
2022-11-17T15:22:51Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-17T15:22:51Z D! [inputs.gnmi] update: path:{elem:{name:"temperature"}  elem:{name:"critical-high-threshold"}}  val:{float_val:94}
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"temperature"}  elem:{name:"critical-high-threshold"}
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "temperature"
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField]     path element 1: "critical-high-threshold"
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   --> aliasPath after handleTelemetryField: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   --> aliasPath: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   --> lastAliasPath: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   ==> final name: ""
2022-11-17T15:22:51Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-17T15:22:51Z D! [inputs.gnmi] update: path:{elem:{name:"temperature"}  elem:{name:"current"}}  val:{float_val:31}
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"temperature"}  elem:{name:"current"}
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "temperature"
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField]     path element 1: "current"
2022-11-17T15:22:51Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   --> aliasPath after handleTelemetryField: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   --> aliasPath: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   --> lastAliasPath: ""
2022-11-17T15:22:51Z D! [inputs.gnmi]   ==> final name: ""
2022-11-17T15:22:51Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-17T15:22:57Z D! [outputs.file] Could not serialize metric: invalid name
2022-11-17T15:22:57Z D! [outputs.file] Wrote batch of 1 metrics in 188.163µs

5416cae

2022-11-18T06:39:32Z I! Starting Telegraf 1.25.0-5416caed
2022-11-18T06:39:32Z I! Available plugins: 227 inputs, 9 aggregators, 26 processors, 21 parsers, 57 outputs
2022-11-18T06:39:32Z I! Loaded inputs: gnmi
2022-11-18T06:39:32Z I! Loaded aggregators:
2022-11-18T06:39:32Z I! Loaded processors:
2022-11-18T06:39:32Z I! Loaded outputs: file
2022-11-18T06:39:32Z I! Tags enabled: host=host
2022-11-18T06:39:32Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:"host", Flush Interval:10s
2022-11-18T06:39:32Z D! [agent] Initializing plugins
2022-11-18T06:39:32Z D! [agent] Connecting outputs
2022-11-18T06:39:32Z D! [agent] Attempting connection to [outputs.file]
2022-11-18T06:39:32Z D! [agent] Successfully connected to outputs.file
2022-11-18T06:39:32Z D! [agent] Starting service inputs
2022-11-18T06:39:32Z D! [inputs.gnmi] internal aliases: map[/components/component/state:temperature openconfig-platform:/components/component/state:temperature]
2022-11-18T06:39:32Z D! [inputs.gnmi] Connection to gNMI device 1.1.1.1:8080 established
2022-11-18T06:39:36Z D! [inputs.gnmi] Response update: timestamp:1668753576168652491  prefix:{elem:{name:"openconfig-platform:components"}  elem:{name:"component"  key:{key:"name"  value:"TEMP 1"}}  elem:{name:"state"}  target:"OC-YANG"}  update:{path:{elem:{name:"temperature"}  elem:{name:"low-threshold"}}  val:{float_val:0}}  update:{path:{elem:{name:"temperature"}  elem:{name:"timestamp"}}  val:{string_val:"2022-11-18T06:39:26Z"}}  update:{path:{elem:{name:"temperature"}  elem:{name:"warning-status"}}  val:{bool_val:false}}  update:{path:{elem:{name:"name"}}  val:{string_val:"CPU On-board"}}  update:{path:{elem:{name:"temperature"}  elem:{name:"critical-high-threshold"}}  val:{float_val:94}}  update:{path:{elem:{name:"temperature"}  elem:{name:"current"}}  val:{float_val:30}}  update:{path:{elem:{name:"temperature"}  elem:{name:"high-threshold"}}  val:{float_val:90}}
2022-11-18T06:39:36Z D! [inputs.gnmi] Response update prefix: elem:{name:"openconfig-platform:components"}  elem:{name:"component"  key:{key:"name"  value:"TEMP 1"}}  elem:{name:"state"}  target:"OC-YANG"
2022-11-18T06:39:36Z D! [inputs.gnmi] update: path:{elem:{name:"temperature"}  elem:{name:"low-threshold"}}  val:{float_val:0}
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"temperature"}  elem:{name:"low-threshold"}
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "temperature"
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField]     path element 1: "low-threshold"
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   --> aliasPath after handleTelemetryField: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   --> aliasPath: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   --> lastAliasPath: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   ==> final name: ""
2022-11-18T06:39:36Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T06:39:36Z D! [inputs.gnmi] update: path:{elem:{name:"temperature"}  elem:{name:"timestamp"}}  val:{string_val:"2022-11-18T06:39:26Z"}
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"temperature"}  elem:{name:"timestamp"}
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "temperature"
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField]     path element 1: "timestamp"
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   --> aliasPath after handleTelemetryField: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   --> aliasPath: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   --> lastAliasPath: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   ==> final name: ""
2022-11-18T06:39:36Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T06:39:36Z D! [inputs.gnmi] update: path:{elem:{name:"temperature"}  elem:{name:"warning-status"}}  val:{bool_val:false}
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"temperature"}  elem:{name:"warning-status"}
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "temperature"
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField]     path element 1: "warning-status"
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   --> aliasPath after handleTelemetryField: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   --> aliasPath: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   --> lastAliasPath: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   ==> final name: ""
2022-11-18T06:39:36Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T06:39:36Z D! [inputs.gnmi] update: path:{elem:{name:"name"}}  val:{string_val:"CPU On-board"}
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"name"}
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "name"
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   --> aliasPath after handleTelemetryField: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   --> aliasPath: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   --> lastAliasPath: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   ==> final name: ""
2022-11-18T06:39:36Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T06:39:36Z D! [inputs.gnmi] update: path:{elem:{name:"temperature"}  elem:{name:"critical-high-threshold"}}  val:{float_val:94}
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"temperature"}  elem:{name:"critical-high-threshold"}
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "temperature"
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField]     path element 1: "critical-high-threshold"
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   --> aliasPath after handleTelemetryField: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   --> aliasPath: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   --> lastAliasPath: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   ==> final name: ""
2022-11-18T06:39:36Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T06:39:36Z D! [inputs.gnmi] update: path:{elem:{name:"temperature"}  elem:{name:"current"}}  val:{float_val:30}
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"temperature"}  elem:{name:"current"}
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "temperature"
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField]     path element 1: "current"
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   --> aliasPath after handleTelemetryField: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   --> aliasPath: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   --> lastAliasPath: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   ==> final name: ""
2022-11-18T06:39:36Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T06:39:36Z D! [inputs.gnmi] update: path:{elem:{name:"temperature"}  elem:{name:"high-threshold"}}  val:{float_val:90}
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"temperature"}  elem:{name:"high-threshold"}
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "temperature"
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField]     path element 1: "high-threshold"
2022-11-18T06:39:36Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   --> aliasPath after handleTelemetryField: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   --> aliasPath: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   --> lastAliasPath: ""
2022-11-18T06:39:36Z D! [inputs.gnmi]   ==> final name: ""
2022-11-18T06:39:36Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T06:39:42Z D! [outputs.file] Could not serialize metric: invalid name
2022-11-18T06:39:42Z D! [outputs.file] Wrote batch of 1 metrics in 131.304µs
2022-11-18T06:39:42Z D! [outputs.file] Buffer fullness: 0 / 10000 metrics
^C2022-11-18T06:39:43Z D! [agent] Stopping service inputs
2022-11-18T06:39:43Z D! [inputs.gnmi] Connection to gNMI device 1.1.1.1:8080 closed
2022-11-18T06:39:43Z D! [agent] Input channel closed
2022-11-18T06:39:43Z I! [agent] Hang on, flushing any cached metrics before shutdown
2022-11-18T06:39:43Z D! [outputs.file] Buffer fullness: 0 / 10000 metrics
2022-11-18T06:39:43Z I! [agent] Stopping running outputs
2022-11-18T06:39:43Z D! [agent] Stopped Successfully

These test were run with following config

[[inputs.gnmi.subscription]]
name = "temperature"
path = "/components/component[name=TEMP 1]/state"
#origin = "/components/component/state"
origin = "openconfig-platform"
sample_interval = "60s"
subscription_mode = "sample"

@rasanentimo
Copy link
Author

I tested this also with Arista (ceos:4.28.2F) which seem to work fine, 5416cae

[inputs]
[[inputs.gnmi]]
redial = "10s"
target = "OC-YANG"
encoding = "json_ietf"
password = "admin"
username = "admin"
addresses = [ "localhost:6030",]
#enable_tls = true
#insecure_skip_verify = true

[[inputs.gnmi.subscription]]
name = "interfaces"
path = "/interfaces/interface/state/counters"
origin = "openconfig"
sample_interval = "60s"
subscription_mode = "sample"

[[outputs.file]]
  ## Files to write to, "stdout" is a specially handled file.
  files = ["stdout", "/tmp/telegraf-output"]
  data_format = "json"
# ./telegraf --config telegraf-debug.conf --debug
2022-11-18T08:41:32Z I! Starting Telegraf 1.25.0-5416caed
2022-11-18T08:41:32Z I! Available plugins: 227 inputs, 9 aggregators, 26 processors, 21 parsers, 57 outputs
2022-11-18T08:41:32Z I! Loaded inputs: gnmi
2022-11-18T08:41:32Z I! Loaded aggregators:
2022-11-18T08:41:32Z I! Loaded processors:
2022-11-18T08:41:32Z I! Loaded outputs: file
2022-11-18T08:41:32Z I! Tags enabled: host=dev
2022-11-18T08:41:32Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:"dev", Flush Interval:10s
2022-11-18T08:41:32Z D! [agent] Initializing plugins
2022-11-18T08:41:32Z D! [agent] Connecting outputs
2022-11-18T08:41:32Z D! [agent] Attempting connection to [outputs.file]
2022-11-18T08:41:32Z D! [agent] Successfully connected to outputs.file
2022-11-18T08:41:32Z D! [agent] Starting service inputs
2022-11-18T08:41:32Z D! [inputs.gnmi] internal aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T08:41:32Z D! [inputs.gnmi] Connection to gNMI device localhost:6030 established
2022-11-18T08:41:32Z D! [inputs.gnmi] Response update: timestamp:1668760605168741271  prefix:{origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  target:"OC-YANG"}  update:{path:{elem:{name:"in-broadcast-pkts"}}  val:{uint_val:0}}  update:{path:{elem:{name:"in-discards"}}  val:{uint_val:1}}  update:{path:{elem:{name:"in-errors"}}  val:{uint_val:0}}  update:{path:{elem:{name:"in-fcs-errors"}}  val:{uint_val:0}}  update:{path:{elem:{name:"in-multicast-pkts"}}  val:{uint_val:0}}  update:{path:{elem:{name:"out-broadcast-pkts"}}  val:{uint_val:0}}  update:{path:{elem:{name:"out-discards"}}  val:{uint_val:0}}  update:{path:{elem:{name:"out-errors"}}  val:{uint_val:0}}  update:{path:{elem:{name:"out-multicast-pkts"}}  val:{uint_val:0}}
2022-11-18T08:41:32Z D! [inputs.gnmi] Response update prefix: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  target:"OC-YANG"
2022-11-18T08:41:32Z D! [inputs.gnmi] update: path:{elem:{name:"in-broadcast-pkts"}}  val:{uint_val:0}
2022-11-18T08:41:32Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"in-broadcast-pkts"}
2022-11-18T08:41:32Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "in-broadcast-pkts"
2022-11-18T08:41:32Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T08:41:32Z D! [inputs.gnmi]   --> aliasPath after handleTelemetryField: ""
2022-11-18T08:41:32Z D! [inputs.gnmi]   --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T08:41:32Z D! [inputs.gnmi]   --> lastAliasPath: ""
2022-11-18T08:41:32Z D! [inputs.gnmi]   --> initial name: "openconfig:/interfaces/interface/state/counters"
2022-11-18T08:41:32Z D! [inputs.gnmi]   --> alias found name: "interfaces"
2022-11-18T08:41:32Z D! [inputs.gnmi]   ==> final name: "interfaces"
2022-11-18T08:41:32Z D! [inputs.gnmi] ---------------------------------------------------
.
.
.
.
{"fields":{"in_broadcast_pkts":0,"in_discards":1,"in_errors":0,"in_fcs_errors":0,"in_multicast_pkts":0,"out_broadcast_pkts":0,"out_discards":0,"out_errors":0,"out_multicast_pkts":0},"name":"interfaces","tags":{"host":"dev","name":"Management0","path":"openconfig:/interfaces/interface/state/counters","source":"localhost"},"timestamp":1668760605}
{"fields":{"in_octets":12312,"in_pkts":130,"in_unicast_pkts":130,"out_octets":8237,"out_pkts":89,"out_unicast_pkts":89},"name":"interfaces","tags":{"host":"dev","name":"Management0","path":"openconfig:/interfaces/interface/state/counters","source":"localhost"},"timestamp":1668760881}
{"fields":{"in_broadcast_pkts":0,"in_discards":0,"in_errors":0,"in_fcs_errors":0,"in_unicast_pkts":0,"out_broadcast_pkts":0,"out_discards":0,"out_errors":0,"out_multicast_pkts":0,"out_octets":0,"out_pkts":0,"out_unicast_pkts":0},"name":"interfaces","tags":{"host":"dev","name":"Ethernet1","path":"openconfig:/interfaces/interface/state/counters","source":"localhost"},"timestamp":1668760607}
{"fields":{"in_multicast_pkts":14,"in_octets":1949,"in_pkts":14},"name":"interfaces","tags":{"host":"dev","name":"Ethernet1","path":"openconfig:/interfaces/interface/state/counters","source":"localhost"},"timestamp":1668760881}
2022-11-18T08:41:42Z D! [outputs.file] Wrote batch of 4 metrics in 361.648µs
2022-11-18T08:41:42Z D! [outputs.file] Buffer fullness: 0 / 10000 metrics
^C2022-11-18T08:41:45Z D! [agent] Stopping service inputs
2022-11-18T08:41:45Z D! [inputs.gnmi] Connection to gNMI device localhost:6030 closed
2022-11-18T08:41:45Z D! [agent] Input channel closed
2022-11-18T08:41:45Z I! [agent] Hang on, flushing any cached metrics before shutdown
2022-11-18T08:41:45Z D! [outputs.file] Buffer fullness: 0 / 10000 metrics
2022-11-18T08:41:45Z I! [agent] Stopping running outputs
2022-11-18T08:41:45Z D! [agent] Stopped Successfully

@rasanentimo
Copy link
Author

logs with 8ef9b46

config

[[inputs.gnmi.subscription]]
name = "temperature"
path = "/components/component[name=TEMP 1]/state"
origin = "openconfig-platform"
sample_interval = "60s"
subscription_mode = "sample"
2022-11-18T11:39:41Z I! Starting Telegraf 1.25.0-8ef9b46a
2022-11-18T11:39:41Z I! Available plugins: 227 inputs, 9 aggregators, 26 processors, 21 parsers, 57 outputs
2022-11-18T11:39:41Z I! Loaded inputs: gnmi
2022-11-18T11:39:41Z I! Loaded aggregators:
2022-11-18T11:39:41Z I! Loaded processors:
2022-11-18T11:39:41Z I! Loaded outputs: file
2022-11-18T11:39:41Z I! Tags enabled: host=host
2022-11-18T11:39:41Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:"host", Flush Interval:10s
2022-11-18T11:39:41Z D! [agent] Initializing plugins
2022-11-18T11:39:41Z D! [agent] Connecting outputs
2022-11-18T11:39:41Z D! [agent] Attempting connection to [outputs.file]
2022-11-18T11:39:41Z D! [agent] Successfully connected to outputs.file
2022-11-18T11:39:41Z D! [agent] Starting service inputs
2022-11-18T11:39:41Z D! [inputs.gnmi]     [parsePath] gnmiPath: elem:{name:"components"}  elem:{name:"component"  key:{key:"name"  value:"TEMP 1"}}  elem:{name:"state"}
2022-11-18T11:39:41Z D! [inputs.gnmi]     [parsePath] gnmiPath:
2022-11-18T11:39:41Z D! [inputs.gnmi] [buildAlias] subscription: &{Name:temperature Origin:openconfig-platform Path:/components/component[name=TEMP 1]/state fullPath:<nil> SubscriptionMode:sample SampleInterval:60000000000 SuppressRedundant:false HeartbeatInterval:0 TagOnly:false}
2022-11-18T11:39:41Z D! [inputs.gnmi]     [parsePath] gnmiPath: elem:{name:"components"}  elem:{name:"component"  key:{key:"name"  value:"TEMP 1"}}  elem:{name:"state"}
2022-11-18T11:39:41Z D! [inputs.gnmi]     [parsePath] gnmiPath: elem:{name:"components"}  elem:{name:"component"  key:{key:"name"  value:"TEMP 1"}}  elem:{name:"state"}
2022-11-18T11:39:41Z D! [inputs.gnmi] [buildAlias] gnmiLongPath: origin:"openconfig-platform"  elem:{name:"components"}  elem:{name:"component"  key:{key:"name"  value:"TEMP 1"}}  elem:{name:"state"}
2022-11-18T11:39:41Z D! [inputs.gnmi] [buildAlias] gnmiShortPath: elem:{name:"components"}  elem:{name:"component"  key:{key:"name"  value:"TEMP 1"}}  elem:{name:"state"}
2022-11-18T11:39:41Z D! [inputs.gnmi]     [handlePath] gnmiPath: origin:"openconfig-platform"  elem:{name:"components"}  elem:{name:"component"  key:{key:"name"  value:"TEMP 1"}}  elem:{name:"state"}
2022-11-18T11:39:41Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig-platform:/components"
2022-11-18T11:39:41Z D! [inputs.gnmi]     [handlePath] aliases: map[]
2022-11-18T11:39:41Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T11:39:41Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig-platform:/components/component"
2022-11-18T11:39:41Z D! [inputs.gnmi]     [handlePath] aliases: map[]
2022-11-18T11:39:41Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T11:39:41Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig-platform:/components/component/state"
2022-11-18T11:39:41Z D! [inputs.gnmi]     [handlePath] aliases: map[]
2022-11-18T11:39:41Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T11:39:41Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig-platform:/components/component/state"    aliasPath: ""
2022-11-18T11:39:41Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"components"}  elem:{name:"component"  key:{key:"name"  value:"TEMP 1"}}  elem:{name:"state"}
2022-11-18T11:39:41Z D! [inputs.gnmi]     [handlePath] --> name: "/components"
2022-11-18T11:39:41Z D! [inputs.gnmi]     [handlePath] aliases: map[]
2022-11-18T11:39:41Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T11:39:41Z D! [inputs.gnmi]     [handlePath] --> name: "/components/component"
2022-11-18T11:39:41Z D! [inputs.gnmi]     [handlePath] aliases: map[]
2022-11-18T11:39:41Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T11:39:41Z D! [inputs.gnmi]     [handlePath] --> name: "/components/component/state"
2022-11-18T11:39:41Z D! [inputs.gnmi]     [handlePath] aliases: map[]
2022-11-18T11:39:41Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T11:39:41Z D! [inputs.gnmi]     [handlePath] ==> final name: "/components/component/state"    aliasPath: ""
2022-11-18T11:39:41Z D! [inputs.gnmi] [buildAlias] longPath: openconfig-platform:/components/component/state
2022-11-18T11:39:41Z D! [inputs.gnmi] [buildAlias] shortPath: /components/component/state
2022-11-18T11:39:41Z D! [inputs.gnmi] internal aliases: map[/components/component/state:temperature openconfig-platform:/components/component/state:temperature]
2022-11-18T11:39:42Z D! [inputs.gnmi] Connection to gNMI device 1.1.1.1:8080 established
2022-11-18T11:39:45Z D! [inputs.gnmi] [handleSubscribeResponseUpdate] response update: timestamp:1668771585733542546  prefix:{elem:{name:"openconfig-platform:components"}  elem:{name:"component"  key:{key:"name"  value:"TEMP 1"}}  elem:{name:"state"}  target:"OC-YANG"}  update:{path:{elem:{name:"temperature"}  elem:{name:"low-threshold"}}  val:{float_val:0}}  update:{path:{elem:{name:"temperature"}  elem:{name:"timestamp"}}  val:{string_val:"2022-11-18T11:39:26Z"}}  update:{path:{elem:{name:"temperature"}  elem:{name:"warning-status"}}  val:{bool_val:false}}  update:{path:{elem:{name:"name"}}  val:{string_val:"CPU On-board"}}  update:{path:{elem:{name:"temperature"}  elem:{name:"critical-high-threshold"}}  val:{float_val:94}}  update:{path:{elem:{name:"temperature"}  elem:{name:"current"}}  val:{float_val:29}}  update:{path:{elem:{name:"temperature"}  elem:{name:"high-threshold"}}  val:{float_val:90}}
2022-11-18T11:39:45Z D! [inputs.gnmi] [handleSubscribeResponseUpdate] response update prefix: elem:{name:"openconfig-platform:components"}  elem:{name:"component"  key:{key:"name"  value:"TEMP 1"}}  elem:{name:"state"}  target:"OC-YANG"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"openconfig-platform:components"}  elem:{name:"component"  key:{key:"name"  value:"TEMP 1"}}  elem:{name:"state"}  target:"OC-YANG"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> name: "/openconfig-platform:components"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] aliases: map[/components/component/state:temperature openconfig-platform:/components/component/state:temperature]
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> name: "/openconfig-platform:components/component"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] aliases: map[/components/component/state:temperature openconfig-platform:/components/component/state:temperature]
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> name: "/openconfig-platform:components/component/state"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] aliases: map[/components/component/state:temperature openconfig-platform:/components/component/state:temperature]
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] ==> final name: "/openconfig-platform:components/component/state"    aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] prefix: "/openconfig-platform:components/component/state"
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] prefixAliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi] update: path:{elem:{name:"temperature"}  elem:{name:"low-threshold"}}  val:{float_val:0}
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: elem:{name:"openconfig-platform:components"}  elem:{name:"component"  key:{key:"name"  value:"TEMP 1"}}  elem:{name:"state"}  elem:{name:"temperature"}  elem:{name:"low-threshold"}  target:"OC-YANG"
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "/openconfig-platform:components/component/state"
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"temperature"}  elem:{name:"low-threshold"}
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "temperature"
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField]     path element 1: "low-threshold"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"temperature"}  elem:{name:"low-threshold"}
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> name: "/openconfig-platform:components/component/state/temperature"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] aliases: map[/components/component/state:temperature openconfig-platform:/components/component/state:temperature]
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> name: "/openconfig-platform:components/component/state/temperature/low-threshold"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] aliases: map[/components/component/state:temperature openconfig-platform:/components/component/state:temperature]
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] ==> final name: "/openconfig-platform:components/component/state/temperature/low-threshold"    aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: ""
2022-11-18T11:39:45Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T11:39:45Z D! [inputs.gnmi] update: path:{elem:{name:"temperature"}  elem:{name:"timestamp"}}  val:{string_val:"2022-11-18T11:39:26Z"}
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: elem:{name:"openconfig-platform:components"}  elem:{name:"component"  key:{key:"name"  value:"TEMP 1"}}  elem:{name:"state"}  elem:{name:"temperature"}  elem:{name:"timestamp"}  target:"OC-YANG"
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "/openconfig-platform:components/component/state"
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"temperature"}  elem:{name:"timestamp"}
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "temperature"
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField]     path element 1: "timestamp"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"temperature"}  elem:{name:"timestamp"}
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> name: "/openconfig-platform:components/component/state/temperature"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] aliases: map[/components/component/state:temperature openconfig-platform:/components/component/state:temperature]
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> name: "/openconfig-platform:components/component/state/temperature/timestamp"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] aliases: map[/components/component/state:temperature openconfig-platform:/components/component/state:temperature]
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] ==> final name: "/openconfig-platform:components/component/state/temperature/timestamp"    aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: ""
2022-11-18T11:39:45Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T11:39:45Z D! [inputs.gnmi] update: path:{elem:{name:"temperature"}  elem:{name:"warning-status"}}  val:{bool_val:false}
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: elem:{name:"openconfig-platform:components"}  elem:{name:"component"  key:{key:"name"  value:"TEMP 1"}}  elem:{name:"state"}  elem:{name:"temperature"}  elem:{name:"warning-status"}  target:"OC-YANG"
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "/openconfig-platform:components/component/state"
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"temperature"}  elem:{name:"warning-status"}
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "temperature"
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField]     path element 1: "warning-status"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"temperature"}  elem:{name:"warning-status"}
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> name: "/openconfig-platform:components/component/state/temperature"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] aliases: map[/components/component/state:temperature openconfig-platform:/components/component/state:temperature]
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> name: "/openconfig-platform:components/component/state/temperature/warning-status"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] aliases: map[/components/component/state:temperature openconfig-platform:/components/component/state:temperature]
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] ==> final name: "/openconfig-platform:components/component/state/temperature/warning-status"    aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: ""
2022-11-18T11:39:45Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T11:39:45Z D! [inputs.gnmi] update: path:{elem:{name:"name"}}  val:{string_val:"CPU On-board"}
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: elem:{name:"openconfig-platform:components"}  elem:{name:"component"  key:{key:"name"  value:"TEMP 1"}}  elem:{name:"state"}  elem:{name:"name"}  target:"OC-YANG"
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "/openconfig-platform:components/component/state"
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"name"}
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "name"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"name"}
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> name: "/openconfig-platform:components/component/state/name"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] aliases: map[/components/component/state:temperature openconfig-platform:/components/component/state:temperature]
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] ==> final name: "/openconfig-platform:components/component/state/name"    aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: ""
2022-11-18T11:39:45Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T11:39:45Z D! [inputs.gnmi] update: path:{elem:{name:"temperature"}  elem:{name:"critical-high-threshold"}}  val:{float_val:94}
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: elem:{name:"openconfig-platform:components"}  elem:{name:"component"  key:{key:"name"  value:"TEMP 1"}}  elem:{name:"state"}  elem:{name:"temperature"}  elem:{name:"critical-high-threshold"}  target:"OC-YANG"
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "/openconfig-platform:components/component/state"
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"temperature"}  elem:{name:"critical-high-threshold"}
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "temperature"
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField]     path element 1: "critical-high-threshold"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"temperature"}  elem:{name:"critical-high-threshold"}
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> name: "/openconfig-platform:components/component/state/temperature"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] aliases: map[/components/component/state:temperature openconfig-platform:/components/component/state:temperature]
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> name: "/openconfig-platform:components/component/state/temperature/critical-high-threshold"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] aliases: map[/components/component/state:temperature openconfig-platform:/components/component/state:temperature]
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] ==> final name: "/openconfig-platform:components/component/state/temperature/critical-high-threshold"    aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: ""
2022-11-18T11:39:45Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T11:39:45Z D! [inputs.gnmi] update: path:{elem:{name:"temperature"}  elem:{name:"current"}}  val:{float_val:29}
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: elem:{name:"openconfig-platform:components"}  elem:{name:"component"  key:{key:"name"  value:"TEMP 1"}}  elem:{name:"state"}  elem:{name:"temperature"}  elem:{name:"current"}  target:"OC-YANG"
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "/openconfig-platform:components/component/state"
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"temperature"}  elem:{name:"current"}
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "temperature"
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField]     path element 1: "current"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"temperature"}  elem:{name:"current"}
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> name: "/openconfig-platform:components/component/state/temperature"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] aliases: map[/components/component/state:temperature openconfig-platform:/components/component/state:temperature]
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> name: "/openconfig-platform:components/component/state/temperature/current"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] aliases: map[/components/component/state:temperature openconfig-platform:/components/component/state:temperature]
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] ==> final name: "/openconfig-platform:components/component/state/temperature/current"    aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: ""
2022-11-18T11:39:45Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T11:39:45Z D! [inputs.gnmi] update: path:{elem:{name:"temperature"}  elem:{name:"high-threshold"}}  val:{float_val:90}
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: elem:{name:"openconfig-platform:components"}  elem:{name:"component"  key:{key:"name"  value:"TEMP 1"}}  elem:{name:"state"}  elem:{name:"temperature"}  elem:{name:"high-threshold"}  target:"OC-YANG"
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "/openconfig-platform:components/component/state"
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"temperature"}  elem:{name:"high-threshold"}
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "temperature"
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField]     path element 1: "high-threshold"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"temperature"}  elem:{name:"high-threshold"}
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> name: "/openconfig-platform:components/component/state/temperature"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] aliases: map[/components/component/state:temperature openconfig-platform:/components/component/state:temperature]
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> name: "/openconfig-platform:components/component/state/temperature/high-threshold"
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] aliases: map[/components/component/state:temperature openconfig-platform:/components/component/state:temperature]
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]     [handlePath] ==> final name: "/openconfig-platform:components/component/state/temperature/high-threshold"    aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: ""
2022-11-18T11:39:45Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: ""
2022-11-18T11:39:45Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T11:39:52Z D! [outputs.file] Could not serialize metric: invalid name
2022-11-18T11:39:52Z D! [outputs.file] Wrote batch of 1 metrics in 142.525µs
2022-11-18T11:39:52Z D! [outputs.file] Buffer fullness: 0 / 10000 metrics
^C2022-11-18T11:39:59Z D! [agent] Stopping service inputs
2022-11-18T11:39:59Z D! [inputs.gnmi] Connection to gNMI device 1.1.1.1:8080 closed
2022-11-18T11:39:59Z D! [agent] Input channel closed
2022-11-18T11:39:59Z I! [agent] Hang on, flushing any cached metrics before shutdown
2022-11-18T11:39:59Z D! [outputs.file] Buffer fullness: 0 / 10000 metrics
2022-11-18T11:39:59Z I! [agent] Stopping running outputs
2022-11-18T11:39:59Z D! [agent] Stopped Successfully

@rasanentimo
Copy link
Author

logs with 8ef9b46 & Arista ceos:4.28.2F

config

[inputs]
[[inputs.gnmi]]
redial = "10s"
target = "OC-YANG"
encoding = "json_ietf"
password = "admin"
username = "admin"
addresses = [ "localhost:6030",]
#enable_tls = true
#insecure_skip_verify = true

[[inputs.gnmi.subscription]]
name = "interfaces"
path = "/interfaces/interface/state/counters"
origin = "openconfig"
sample_interval = "60s"
subscription_mode = "sample"

[[outputs.file]]
  ## Files to write to, "stdout" is a specially handled file.
  files = ["stdout", "/tmp/telegraf-output"]
  data_format = "json"

Logs

# telegraf --config ~/telegraf/telegraf-debug
telegraf-debug-srl.conf  telegraf-debug.conf
root@dev:/tmp/telegraf-1.25.0/usr/bin# ./telegraf --config ~/telegraf/telegraf-debug.conf --debug
2022-11-18T12:35:35Z I! Starting Telegraf 1.25.0-8ef9b46a
2022-11-18T12:35:35Z I! Available plugins: 227 inputs, 9 aggregators, 26 processors, 21 parsers, 57 outputs
2022-11-18T12:35:35Z I! Loaded inputs: gnmi
2022-11-18T12:35:35Z I! Loaded aggregators:
2022-11-18T12:35:35Z I! Loaded processors:
2022-11-18T12:35:35Z I! Loaded outputs: file
2022-11-18T12:35:35Z I! Tags enabled: host=dev
2022-11-18T12:35:35Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:"dev", Flush Interval:10s
2022-11-18T12:35:35Z D! [agent] Initializing plugins
2022-11-18T12:35:35Z D! [agent] Connecting outputs
2022-11-18T12:35:35Z D! [agent] Attempting connection to [outputs.file]
2022-11-18T12:35:35Z D! [agent] Successfully connected to outputs.file
2022-11-18T12:35:35Z D! [agent] Starting service inputs
2022-11-18T12:35:35Z D! [inputs.gnmi]     [parsePath] gnmiPath: elem:{name:"interfaces"}  elem:{name:"interface"}  elem:{name:"state"}  elem:{name:"counters"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [parsePath] gnmiPath:
2022-11-18T12:35:35Z D! [inputs.gnmi] [buildAlias] subscription: &{Name:interfaces Origin:openconfig Path:/interfaces/interface/state/counters fullPath:<nil> SubscriptionMode:sample SampleInterval:60000000000 SuppressRedundant:false HeartbeatInterval:0 TagOnly:false}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [parsePath] gnmiPath: elem:{name:"interfaces"}  elem:{name:"interface"}  elem:{name:"state"}  elem:{name:"counters"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [parsePath] gnmiPath: elem:{name:"interfaces"}  elem:{name:"interface"}  elem:{name:"state"}  elem:{name:"counters"}
2022-11-18T12:35:35Z D! [inputs.gnmi] [buildAlias] gnmiLongPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"}  elem:{name:"state"}  elem:{name:"counters"}
2022-11-18T12:35:35Z D! [inputs.gnmi] [buildAlias] gnmiShortPath: elem:{name:"interfaces"}  elem:{name:"interface"}  elem:{name:"state"}  elem:{name:"counters"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"}  elem:{name:"state"}  elem:{name:"counters"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"interfaces"}  elem:{name:"interface"}  elem:{name:"state"}  elem:{name:"counters"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "/interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "/interfaces/interface"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "/interfaces/interface/state"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "/interfaces/interface/state/counters"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi] [buildAlias] longPath: openconfig:/interfaces/interface/state/counters
2022-11-18T12:35:35Z D! [inputs.gnmi] [buildAlias] shortPath: /interfaces/interface/state/counters
2022-11-18T12:35:35Z D! [inputs.gnmi] internal aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi] Connection to gNMI device localhost:6030 established
2022-11-18T12:35:35Z D! [inputs.gnmi] [handleSubscribeResponseUpdate] response update: timestamp:1668762813698611837  prefix:{origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Ethernet1"}}  elem:{name:"state"}  elem:{name:"counters"}  target:"OC-YANG"}  update:{path:{elem:{name:"in-broadcast-pkts"}}  val:{uint_val:0}}  update:{path:{elem:{name:"in-discards"}}  val:{uint_val:0}}  update:{path:{elem:{name:"in-errors"}}  val:{uint_val:0}}  update:{path:{elem:{name:"in-fcs-errors"}}  val:{uint_val:0}}  update:{path:{elem:{name:"in-unicast-pkts"}}  val:{uint_val:0}}  update:{path:{elem:{name:"out-broadcast-pkts"}}  val:{uint_val:0}}  update:{path:{elem:{name:"out-discards"}}  val:{uint_val:0}}  update:{path:{elem:{name:"out-errors"}}  val:{uint_val:0}}  update:{path:{elem:{name:"out-multicast-pkts"}}  val:{uint_val:0}}  update:{path:{elem:{name:"out-octets"}}  val:{uint_val:0}}  update:{path:{elem:{name:"out-pkts"}}  val:{uint_val:0}}  update:{path:{elem:{name:"out-unicast-pkts"}}  val:{uint_val:0}}
2022-11-18T12:35:35Z D! [inputs.gnmi] [handleSubscribeResponseUpdate] response update prefix: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Ethernet1"}}  elem:{name:"state"}  elem:{name:"counters"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Ethernet1"}}  elem:{name:"state"}  elem:{name:"counters"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters"    aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] prefix: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] prefixAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"in-broadcast-pkts"}}  val:{uint_val:0}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Ethernet1"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"in-broadcast-pkts"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"in-broadcast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "in-broadcast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"in-broadcast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/in-broadcast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/in-broadcast-pkts"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> initial name: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> alias found name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"in-discards"}}  val:{uint_val:0}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Ethernet1"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"in-discards"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"in-discards"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "in-discards"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"in-discards"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/in-discards"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/in-discards"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"in-errors"}}  val:{uint_val:0}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Ethernet1"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"in-errors"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"in-errors"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "in-errors"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"in-errors"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/in-errors"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/in-errors"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"in-fcs-errors"}}  val:{uint_val:0}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Ethernet1"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"in-fcs-errors"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"in-fcs-errors"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "in-fcs-errors"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"in-fcs-errors"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/in-fcs-errors"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/in-fcs-errors"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"in-unicast-pkts"}}  val:{uint_val:0}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Ethernet1"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"in-unicast-pkts"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"in-unicast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "in-unicast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"in-unicast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/in-unicast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/in-unicast-pkts"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"out-broadcast-pkts"}}  val:{uint_val:0}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Ethernet1"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"out-broadcast-pkts"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"out-broadcast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "out-broadcast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"out-broadcast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/out-broadcast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/out-broadcast-pkts"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"out-discards"}}  val:{uint_val:0}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Ethernet1"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"out-discards"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"out-discards"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "out-discards"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"out-discards"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/out-discards"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/out-discards"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"out-errors"}}  val:{uint_val:0}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Ethernet1"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"out-errors"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"out-errors"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "out-errors"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"out-errors"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/out-errors"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/out-errors"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"out-multicast-pkts"}}  val:{uint_val:0}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Ethernet1"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"out-multicast-pkts"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"out-multicast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "out-multicast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"out-multicast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/out-multicast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/out-multicast-pkts"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"out-octets"}}  val:{uint_val:0}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Ethernet1"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"out-octets"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"out-octets"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "out-octets"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"out-octets"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/out-octets"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/out-octets"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"out-pkts"}}  val:{uint_val:0}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Ethernet1"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"out-pkts"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"out-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "out-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"out-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/out-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/out-pkts"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"out-unicast-pkts"}}  val:{uint_val:0}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Ethernet1"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"out-unicast-pkts"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"out-unicast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "out-unicast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"out-unicast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/out-unicast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/out-unicast-pkts"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] [handleSubscribeResponseUpdate] response update: timestamp:1668774913611551353  prefix:{origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Ethernet1"}}  elem:{name:"state"}  elem:{name:"counters"}  target:"OC-YANG"}  update:{path:{elem:{name:"in-multicast-pkts"}}  val:{uint_val:414}}  update:{path:{elem:{name:"in-octets"}}  val:{uint_val:64251}}  update:{path:{elem:{name:"in-pkts"}}  val:{uint_val:414}}
2022-11-18T12:35:35Z D! [inputs.gnmi] [handleSubscribeResponseUpdate] response update prefix: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Ethernet1"}}  elem:{name:"state"}  elem:{name:"counters"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Ethernet1"}}  elem:{name:"state"}  elem:{name:"counters"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters"    aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] prefix: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] prefixAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"in-multicast-pkts"}}  val:{uint_val:414}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Ethernet1"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"in-multicast-pkts"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"in-multicast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "in-multicast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"in-multicast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/in-multicast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/in-multicast-pkts"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> initial name: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> alias found name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"in-octets"}}  val:{uint_val:64251}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Ethernet1"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"in-octets"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"in-octets"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "in-octets"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"in-octets"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/in-octets"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/in-octets"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"in-pkts"}}  val:{uint_val:414}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Ethernet1"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"in-pkts"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"in-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "in-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"in-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/in-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/in-pkts"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] [handleSubscribeResponseUpdate] response update: timestamp:1668774935621906700  prefix:{origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  target:"OC-YANG"}  update:{path:{elem:{name:"out-octets"}}  val:{uint_val:96964}}  update:{path:{elem:{name:"out-pkts"}}  val:{uint_val:635}}  update:{path:{elem:{name:"out-unicast-pkts"}}  val:{uint_val:635}}
2022-11-18T12:35:35Z D! [inputs.gnmi] [handleSubscribeResponseUpdate] response update prefix: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters"    aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] prefix: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] prefixAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"out-octets"}}  val:{uint_val:96964}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"out-octets"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"out-octets"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "out-octets"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"out-octets"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/out-octets"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/out-octets"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> initial name: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> alias found name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"out-pkts"}}  val:{uint_val:635}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"out-pkts"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"out-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "out-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"out-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/out-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/out-pkts"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"out-unicast-pkts"}}  val:{uint_val:635}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"out-unicast-pkts"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"out-unicast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "out-unicast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"out-unicast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/out-unicast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/out-unicast-pkts"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] [handleSubscribeResponseUpdate] response update: timestamp:1668762811829721345  prefix:{origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  target:"OC-YANG"}  update:{path:{elem:{name:"in-broadcast-pkts"}}  val:{uint_val:0}}  update:{path:{elem:{name:"in-discards"}}  val:{uint_val:1}}  update:{path:{elem:{name:"in-errors"}}  val:{uint_val:0}}  update:{path:{elem:{name:"in-fcs-errors"}}  val:{uint_val:0}}  update:{path:{elem:{name:"in-multicast-pkts"}}  val:{uint_val:0}}  update:{path:{elem:{name:"out-broadcast-pkts"}}  val:{uint_val:0}}  update:{path:{elem:{name:"out-discards"}}  val:{uint_val:0}}  update:{path:{elem:{name:"out-errors"}}  val:{uint_val:0}}  update:{path:{elem:{name:"out-multicast-pkts"}}  val:{uint_val:0}}
2022-11-18T12:35:35Z D! [inputs.gnmi] [handleSubscribeResponseUpdate] response update prefix: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters"    aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] prefix: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] prefixAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"in-broadcast-pkts"}}  val:{uint_val:0}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"in-broadcast-pkts"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"in-broadcast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "in-broadcast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"in-broadcast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/in-broadcast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/in-broadcast-pkts"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> initial name: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> alias found name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"in-discards"}}  val:{uint_val:1}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"in-discards"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"in-discards"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "in-discards"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"in-discards"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/in-discards"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/in-discards"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"in-errors"}}  val:{uint_val:0}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"in-errors"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"in-errors"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "in-errors"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"in-errors"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/in-errors"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/in-errors"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"in-fcs-errors"}}  val:{uint_val:0}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"in-fcs-errors"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"in-fcs-errors"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "in-fcs-errors"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"in-fcs-errors"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/in-fcs-errors"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/in-fcs-errors"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"in-multicast-pkts"}}  val:{uint_val:0}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"in-multicast-pkts"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"in-multicast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "in-multicast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"in-multicast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/in-multicast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/in-multicast-pkts"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"out-broadcast-pkts"}}  val:{uint_val:0}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"out-broadcast-pkts"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"out-broadcast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "out-broadcast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"out-broadcast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/out-broadcast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/out-broadcast-pkts"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"out-discards"}}  val:{uint_val:0}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"out-discards"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"out-discards"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "out-discards"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"out-discards"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/out-discards"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/out-discards"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"out-errors"}}  val:{uint_val:0}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"out-errors"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"out-errors"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "out-errors"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"out-errors"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/out-errors"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/out-errors"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"out-multicast-pkts"}}  val:{uint_val:0}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"out-multicast-pkts"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"out-multicast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "out-multicast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"out-multicast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/out-multicast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/out-multicast-pkts"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] [handleSubscribeResponseUpdate] response update: timestamp:1668774934620340233  prefix:{origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  target:"OC-YANG"}  update:{path:{elem:{name:"in-octets"}}  val:{uint_val:80324}}  update:{path:{elem:{name:"in-pkts"}}  val:{uint_val:676}}  update:{path:{elem:{name:"in-unicast-pkts"}}  val:{uint_val:676}}
2022-11-18T12:35:35Z D! [inputs.gnmi] [handleSubscribeResponseUpdate] response update prefix: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters"    aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] prefix: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] prefixAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"in-octets"}}  val:{uint_val:80324}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"in-octets"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"in-octets"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "in-octets"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"in-octets"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/in-octets"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/in-octets"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> initial name: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> alias found name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"in-pkts"}}  val:{uint_val:676}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"in-pkts"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"in-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "in-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"in-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/in-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/in-pkts"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
2022-11-18T12:35:35Z D! [inputs.gnmi] update: path:{elem:{name:"in-unicast-pkts"}}  val:{uint_val:676}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] fullPath: origin:"openconfig"  elem:{name:"interfaces"}  elem:{name:"interface"  key:{key:"name"  value:"Management0"}}  elem:{name:"state"}  elem:{name:"counters"}  elem:{name:"in-unicast-pkts"}  target:"OC-YANG"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] prefix:      "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] update path: elem:{name:"in-unicast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField]     path element 0: "in-unicast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] gnmiPath: elem:{name:"in-unicast-pkts"}
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> name: "openconfig:/interfaces/interface/state/counters/in-unicast-pkts"
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] aliases: map[/interfaces/interface/state/counters:interfaces openconfig:/interfaces/interface/state/counters:interfaces]
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] --> aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]     [handlePath] ==> final name: "openconfig:/interfaces/interface/state/counters/in-unicast-pkts"    aliasPath: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleTelemetryField] alias path: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath after handleTelemetryField: ""
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> aliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] --> lastAliasPath: "openconfig:/interfaces/interface/state/counters"
2022-11-18T12:35:35Z D! [inputs.gnmi]   [handleSubscribeResponseUpdate] ==> final name: "interfaces"
2022-11-18T12:35:35Z D! [inputs.gnmi] ---------------------------------------------------
{"fields":{"in_broadcast_pkts":0,"in_discards":0,"in_errors":0,"in_fcs_errors":0,"in_unicast_pkts":0,"out_broadcast_pkts":0,"out_discards":0,"out_errors":0,"out_multicast_pkts":0,"out_octets":0,"out_pkts":0,"out_unicast_pkts":0},"name":"interfaces","tags":{"host":"dev","name":"Ethernet1","path":"openconfig:/interfaces/interface/state/counters","source":"localhost"},"timestamp":1668762813}
{"fields":{"in_multicast_pkts":414,"in_octets":64251,"in_pkts":414},"name":"interfaces","tags":{"host":"dev","name":"Ethernet1","path":"openconfig:/interfaces/interface/state/counters","source":"localhost"},"timestamp":1668774913}
{"fields":{"out_octets":96964,"out_pkts":635,"out_unicast_pkts":635},"name":"interfaces","tags":{"host":"dev","name":"Management0","path":"openconfig:/interfaces/interface/state/counters","source":"localhost"},"timestamp":1668774935}
{"fields":{"in_broadcast_pkts":0,"in_discards":1,"in_errors":0,"in_fcs_errors":0,"in_multicast_pkts":0,"out_broadcast_pkts":0,"out_discards":0,"out_errors":0,"out_multicast_pkts":0},"name":"interfaces","tags":{"host":"dev","name":"Management0","path":"openconfig:/interfaces/interface/state/counters","source":"localhost"},"timestamp":1668762811}
{"fields":{"in_octets":80324,"in_pkts":676,"in_unicast_pkts":676},"name":"interfaces","tags":{"host":"dev","name":"Management0","path":"openconfig:/interfaces/interface/state/counters","source":"localhost"},"timestamp":1668774934}
2022-11-18T12:35:45Z D! [outputs.file] Wrote batch of 5 metrics in 425.868µs
2022-11-18T12:35:45Z D! [outputs.file] Buffer fullness: 0 / 10000 metrics
2022-11-18T12:35:55Z D! [outputs.file] Buffer fullness: 0 / 10000 metrics
^C2022-11-18T12:35:58Z D! [agent] Stopping service inputs
2022-11-18T12:35:58Z D! [inputs.gnmi] Connection to gNMI device localhost:6030 closed
2022-11-18T12:35:58Z D! [agent] Input channel closed
2022-11-18T12:35:58Z I! [agent] Hang on, flushing any cached metrics before shutdown
2022-11-18T12:35:58Z D! [outputs.file] Buffer fullness: 0 / 10000 metrics
2022-11-18T12:35:58Z I! [agent] Stopping running outputs
2022-11-18T12:35:58Z D! [agent] Stopped Successfully

@srebhan srebhan added area/gnmi plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels Nov 18, 2022
@rasanentimo
Copy link
Author

based on the initial tests, #12258 fixes the issue

2022-11-18T21:21:49Z I! Starting Telegraf 1.25.0-c3cdc721
2022-11-18T21:21:49Z I! Available plugins: 227 inputs, 9 aggregators, 26 processors, 21 parsers, 57 outputs
2022-11-18T21:21:49Z I! Loaded inputs: gnmi
2022-11-18T21:21:49Z I! Loaded aggregators:
2022-11-18T21:21:49Z I! Loaded processors:
2022-11-18T21:21:49Z I! Loaded outputs: file
2022-11-18T21:21:49Z I! Tags enabled: host=host
2022-11-18T21:21:49Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:"host", Flush Interval:10s
2022-11-18T21:21:49Z D! [agent] Initializing plugins
2022-11-18T21:21:49Z D! [agent] Connecting outputs
2022-11-18T21:21:49Z D! [agent] Attempting connection to [outputs.file]
2022-11-18T21:21:49Z D! [agent] Successfully connected to outputs.file
2022-11-18T21:21:49Z D! [agent] Starting service inputs
2022-11-18T21:21:49Z D! [inputs.gnmi] Internal alias mapping: map[/components/component/state:temperature openconfig-platform:/components/component/state:temperature]
2022-11-18T21:21:49Z D! [inputs.gnmi] Connection to gNMI device 1.1.1.1:8080 established
{"fields":{"name":"CPU On-board","temperature/critical_high_threshold":94,"temperature/current":30,"temperature/high_threshold":90,"temperature/low_threshold":0,"temperature/timestamp":"2022-11-18T21:21:27Z","temperature/warning_status":false},"name":"temperature","tags":{"host":"host","name":"TEMP 1","path":"openconfig-platform:/components/component/state","source":"1.1.1.1"},"timestamp":1668806512}
2022-11-18T21:21:59Z D! [outputs.file] Wrote batch of 1 metrics in 246.005µs
2022-11-18T21:21:59Z D! [outputs.file] Buffer fullness: 0 / 10000 metrics
2022-11-18T21:22:09Z D! [outputs.file] Buffer fullness: 0 / 10000 metrics
2022-11-18T21:22:19Z D! [outputs.file] Buffer fullness: 0 / 10000 metrics
^C2022-11-18T21:22:20Z D! [agent] Stopping service inputs
2022-11-18T21:22:20Z D! [inputs.gnmi] Connection to gNMI device 1.1.1.1:8080 closed
2022-11-18T21:22:20Z D! [agent] Input channel closed
2022-11-18T21:22:20Z I! [agent] Hang on, flushing any cached metrics before shutdown
2022-11-18T21:22:20Z D! [outputs.file] Buffer fullness: 0 / 10000 metrics
2022-11-18T21:22:20Z I! [agent] Stopping running outputs
2022-11-18T21:22:20Z D! [agent] Stopped Successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/gnmi bug unexpected problem or unintended behavior plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants