All DCF logs (with collector and connector logs) for a particular management pack will be found in below location:
<DCF Install directory>/Collector-Manager/smarts-metrics-collect/logs/collecting-0-0.log
<DCF Install directory>/Collector-Manager/smarts-metrics-collect/logs/file-collector.txt
Sample JSON format outputs to Kafka are below:
Sample 1:
{ "groupName": "group", "discoveryID": null, "jobID": "9999", "type": "Interface", "timestamp": 1551955631, "value": 0.0, "action": "r", "properties": { "ismanaged": "true", "source": "INCHARGE-AM-PM", "type": "Interface", "datagrp": "SMARTS-PM-TOPO" }, "metrics": { "ifSpeed": { "properties": { "name": "ifSpeed", "unit": "bit/s" }, "value": 8.0E9 } }, "relations": [ { "type": "Router", "element": "bq-gwhsrp.lss.com", "relationName": "PartOf" }, { "type": "IPv6", "element": "IPv6-0:80C0:22C:330:0:0:0:1", "relationName": "Underlying" }, { "type": "IPv6", "element": "IPv6-FFE:C0:22C:220:0:0:0:1", "relationName": "Underlying" }, { "type": "", "element": "", "relationName": "Peer" } ], "initialized": true, "forceRefresh": true, "name": "IF-bq-gwhsrp.lss.com/30" }
Sample 2:
{ "groupName": "group", "discoveryID": null, "jobID": "9999", "type": "Interface", "timestamp": 1551955631, "value": 0.0, "action": "r", "properties": { "ismanaged": "true", "source": "INCHARGE-AM-PM", "type": "Interface", "datagrp": "SMARTS-PM-METRICS" }, "metrics": { "ifInDiscards": { "properties": { "name": "ifInDiscards", "unit": "Pkts/s" }, "value": 0.0 }, "ifInUcastPkts": { "properties": { "name": "ifInUcastPkts", "unit": "Pkts/s" }, "value": 0.0 }, "ifOutUcastPkts": { "properties": { "name": "ifOutUcastPkts", "unit": "Pkts/s" }, "value": 0.0 }, "ifOutErrors": { "properties": { "name": "ifOutErrors", "unit": "Pkts/s" }, "value": 0.0 }, "ifInNUcastPkts": { "properties": { "name": "ifInNUcastPkts", "unit": "Pkts/s" }, "value": 0.0 }, "ifInErrors": { "properties": { "name": "ifInErrors", "unit": "Pkts/s" }, "value": 0.0 }, "ifOutNUcastPkts": { "properties": { "name": "ifOutNUcastPkts", "unit": "Pkts/s" }, "value": 0.0 }, "ifOutDiscards": { "properties": { "name": "ifOutDiscards", "unit": "Pkts/s" }, "value": 0.0 } }, "relations": [], "initialized": true, "forceRefresh": true, "name": "IF-bq-gwhsrp.lss.com/50" }