We have a Cisco ISR4321/K9 (v16.12.2s) in our lab. I noticed the following image on the management dashboard of the ISR.
We are collecting netflow from this system. Nbarv2 is enabled. Our goal is to collect the data above via telemetry. We checked the list of yangs supported on this platform using netconf xml api. Cisco-IOS-XE-flow-monitor-oper is listed. So we configured the following lines on the router:
telemetry ietf subscription 11
encoding encode-kvgpb
filter xpath /flow-monitor-ios-xe-oper:flow-monitors/flow-monitor-ios-xe-oper:flow-monitor
source-address 10.20.XX.XX
stream yang-push
update-policy on-change
receiver ip address XX.XX.XX.XX 57000 protocol grpc-tcp
We receive the telemetry data via telegraf agent. We can see the messages coming in. However, the content only consists of a single fields called "time_collected".
Are we using the correct yang?
Thank for the help in advance.