Cisco_telemetry_mdt plugin not able to parse source if source is included in the telemetry data

Hello all, The cisco mdt plugin works great for normal telemetry paths and parses the source tag correctly to the hostname of the device sending the telemetry data. but when the telemetry data contains a subfield called source the data is rewritten and then we will no longer be able to filter the data based on the telemetry source.

An example would be the mroute state yang model which contains the field source which points to the multicast source. when this field is parsed it messes up the data which contains the telemetry source.

So when the mdt plugin parses for subfields there should be if clause where in if the source is found again it can be appended with a suffix say source_a so that the actual source is kept clean.

Please help in resolving this issue.Cisco model Driven Telemetry plugin source tag issue · Issue #11920 · influxdata/telegraf · GitHub

Hello @Arjuna_Ganesan,
It looks like you’re receiving help on the issue. Please let me know if you need more help. Thanks.