Configuring Bulk Statistics

Bulk statistics provide a mechanism to view the summary of the CEE metrics. You can configure bulk statistics to pull the CEE metrics periodically. Also, you can download the metrics in Comma-Separated Value (CSV) format through Secure File Transfer Protocol (SFTP).

Use the following configuration to configure bulk statistics in CEE Ops Center.


configure 
   bulk-stats enable [ true ] 
   bulk-stats external-ip [ ipv4_address ] 
   bulk-stats external-port [ port ] 
   bulk-stats interval-minutes [ interval ] 
   bulk-stats pod-query [ pod_query ] default-value value  
   bulk-stats prune-interval-days [ prune_interval ] 
   bulk-stats query [ query  
   bulk-stats user [ user ] 
   bulk-stats vnf-name [ vnf ] 
   bulk-stats global-default-value [ default_value ] 
   bulk-stats vnf-alias [ vnf_alias ] 
   exit 

NOTES:

  • bulk-stats enable [ true ] – Enables the bulk statistics.

  • global-default-value [ default_value ] – Specifies the default value used in bulk-stats, if pod-query or query fails to return any value.

  • external-ip [ ipv4_address ] – Specifies the external IP for downloading the bulk statistics over SFTP.

  • external-port [ port ] – Specifies the external port for downloading the bulk statistics over SFTP.

  • interval-minutes [ interval ] – Specifies the time interval (in minutes) to create the bulk statistics.

  • pod-query [ pod_query ] default-value value – Specifies the query to execute for retrieving the bulk statistics data. ] default-value value is the default value used in bulk-stats, if the configured pod-query fails to return any value. value will override the global-default-value

  • prune-interval-days [ prune_interval ] – Prunes the interval (in days) to remove the bulk statistics.

  • query [ query ] – Specifies the query to execute for retrieving the bulk statistics.

  • user [ user ] – Specifies the user authorized to download the bulk statistics files.

  • vnf-name [ vnf ] – Specifies the VNF name (namespace) to add in the bulk statistics CSV file.

  • vnf-alias [ vnf_alias ] – Specifies the VNF alias for a specified namespace.

The following example generates query for current PDU per 4G session.

Example:

cee# configure terminal
  bulk-stats enable true
  bulk-stats user admin
  bulk-stats external-ip 172.16.181.41
  bulk-stats external-port 2222
  bulk-stats vnf-name lbucs009
  bulk-stats query 4G_current_pdu_sessions
  expression "sum(smf_up_session_counters{app_name=\"SMF\",rat_type=\"EUTRA\"})"
  label      4G_current_pdu_sessions
  exit

The following example generates query for current PDU per 4G IPv6 session.

Example:

cee# configure terminal
  bulk-stats enable true
  bulk-stats user admin
  bulk-stats external-ip 172.16.181.41
  bulk-stats external-port 2222
  bulk-stats vnf-name lbucs009
  bulk-stats query 4G_current_pdu_sessions_IPv6
  expression "sum(smf_up_session_counters{app_name=\"SMF\",rat_type=\"EUTRA\",pdu_type=\"ipv6\"})"
 label      4G_current_pdu_sessions_IPv6
 exit