Cisco Cisco Content Delivery System Manager Guia Do Utilizador

Página de 134
2
In the above path, run ./hourlyDataCheck.sh -F YYYYMMDD (replace the date for which hourlyDataCheck
needs to be executed).
The above mentioned script marks the status as FIXED for every hour of that date in the
"cdn_billing_session" index, which means there are NO missing logs.
To verify this, perform the following steps:
a) Log in to JS node and navigate to /opt/splunk/bin
b) Run ./splunk search 'index=cdn_billing_session | table Status,TimeId.
c) Enter the username and password; Username: admin and Password: Beaumaris1
d) Check the status by verifying that the record is "FIXED YYYYMMDD". This implies that it is in FIXED
status for all 24 hours in date YYYYMMDD.
3
In the path mentioned in step 1, run ./repeatCheck.sh -F YYYYMMDD. (Replace the date for which
repeatCheck needs to be executed).
This will mark the status as FORCED for every hour of that date in the "cdn_billing_session" index. Also,
an "INDEXED" record for that day is created. This implies that all the logs of that date are indexed. You
can verify this by performing the following steps:
a) Log in to the JS node and navigate to /opt/splunk/bin
b) Run ./splunk search 'index=cdn_billing_session | table Status,TimeId'
c) Enter the username and password; Username: admin and Password: Beaumaris1
d) Check the status by verifying that the record is "INDEXED YYYYMMDD. This implies that the date
YYYYMMDD is already indexed.
4
Log in to the LWF node and navigate to opt/splunkforwarder/etc/apps/Billing/bin and run ./billing.sh. The
billing files will be generated under the dir "/home/bnisplunk/data/billing".
a) Log in to the JS node and navigate to /opt/splunk/bin
b) Run ./splunk search 'index=cdn_billing_session | table Status,TimeId.
c) Enter the username and password; Username: admin and Password: Beaumaris1
d) Check the status by verifying that the record is "BILLED YYYYMMDD". This implies that billing
records have been generated for the date YYYYMMDD.
The generated CSV files will have the following fields:
Detailed csv
Delivery_Service:<Delivery Service Name> FQDN:<fqdn> provider:<Provider Name> reseller:<Reseller
Name> StartTime,EndTime,ClientIP,ServerIP,URL,MB_Bytes_Delivered,error_code
Summary csv
Date,Total_GB_Bytes_Delivered,Total_Session_Declined_due_to_quota_limits,Total_Sessions_Delivered
North Bound Application Programming Interface
North Bound Application Programming Interface (NB API) is a programming interface for north bound
analytics systems to integrate with VDS-SM and leverage the data maintained in VDS-SM for higher level
aggregation and analysis. VDS-SM provides a RESTful Web Services API to query data from VDS-SM for
analytics. VDS-SM supports predefined queries/searches to query data corresponding to dashboards. Each
Videoscape Distribution Suite Service Manager Analytics and Provisioning Portal User Guide    
   OL-28650-01
63
Analytics
North Bound Application Programming Interface