All Event processing logs will be found in below path. This will have event spy logging info also, if enabled.
DCF-Install>/Collecting/Collector-Manager/<INSTANCE>(velocloud-sdwan-collect)/logs/collecting-0-0.log
Latest processing log name will have "-0-0" appended to its name like above.
To enable data collection into a file for debugging purposes, change the collecting configuration to push velocloud data to file connector like below instead of just the kafka bus. And after changing the configuration, operator need to restart the service to see the logging info in collecting-0-0.log.
Edit the file as specified below:
File :
<DCF-Install>/Collecting/Collector-Manager/<INSTANCE>(velocloud-sdwan-collect)/conf/collecting.xml
--- <connector enabled="true" name="File" type="File-Connector" config="conf/file-connector.xml" /> ---
Example: "velocloud-sdwan-collect" is installed management pack name in below example.
To check the status of the installed services:
<DCF-Install>/bin/manage-modules.sh service status all …. * Checking collector-manager velocloud-sdwan-collect’... [ running ]
To restart the particular service:
<DCF-Install>/bin/manage-modules.sh service restart collector-manager velocloud-sdwan-collect * Stopping collector-manager velolcoud-sdwan-collect'... [ OK ] * Starting collector-manager velocloud-sdwan-collect'... [ OK ]
Sample output (JSON) of data in Kafka:
{"groupName":"group","discoveryID":null,"jobID":"9999","type":"QoeData","timestamp":1554934113,"value":0.0,"action":"r","properties":{"internalId":"00000004-e0d1-4c9f-810a-262fbece4ff3","edgeId":"2","linkId":"4","instanceName":"EdgeLinkQoE","attributes":"Performance","source":"VC-Collector","enterpriseId":"1","type":"QoeData","totalScore":"10"},"metrics":{"VCO-Req":{"properties":{"unit":"code","name":"VCO-Req"},"value":0.0}},"relations":[],"initialized":true,"forceRefresh":true,"name":""}
Sample debugging (File Connector) output from collecting-0-0.log
INFO -- [2019-04-10 18:08:39 EDT] -- StreamCollector::sendDiagnostics(): Jobs for Context 10.148.87.69 completed INFO -- [2019-04-10 18:08:39 EDT] -- StreamCollector::sendDiagnostics(): Name:vco-monitoring-request Status:SUCESS Total failed jobs:0