Describe the Issue in Detail
We observed wrong input/output bandwidth utilization, while analyzing issue, we saw duplicates documents are indexing at the same time in network-health and network-element-health index it will impact on disk space and calculation of bandwidth utilization (because we are using arithmetic plugin in bandwidth calculation, Arithmetic plugin gives period as the output between two documents, if two documents indexed at same time obviously, we will get wrong bandwidth).
After analyzing input(snmp-data) and output topics (network-element-health, network-health) of snmp-app we saw one input message and 2 corresponding output messages with only difference of one field (@correlate_metadata).
We discussed with Rahul (bigdata team) and he suggested to use the snmp-app with old image. When we checked with old image, we didn’t see any issue.
We need to test the correlate plugin in latest image (product team)
to avoid issue temporarily we ran snmp-app using old vunetstream image.
- docker image ls
- We should make copy file create-stream-v1.sh as create-stream-v1-test.sh
- And change image with old image in the file create-stream-v1-test.sh at line number 131 we can see image path .( ghcr.io/vunetsystems/vustreams:latest) replace latest image path with old image(ghcr.io/vunetsystems/vunetstreams) and save file.
- Stop snmp-app using docker service rm snmp-app
- Run snmp-app with new image (./create-stream-v1-test.sh /deployment/config_snmp_app.conf)
Once we ran snmp-app using old vunetstream image duplicates document issue resolved but we should fix this on latest image as well because some other latest required configuration may not available on old one.