6 Viewing NF Deployment Data Collector Archive
- Unpack the archive provided by this module to view the information collected.
6.1 Loading the NF Logs, Metrics, Traces, Alerts Data
6.1.1 Creating or Updating the YAML File for the Loader Utility
The Loader utility YAML file is present in the CNC NF Data Collector
tar package. You can either update the existing YAML file or create a new YAML file with
the following parameters which can be configured. Oracle recommends to consider the
existing file that is available with the tar package and update its parameters.
For information about parameter descriptions, refer to loader-custom-values.yaml Parameter Description.
If users of the Exporter utility wants to load the collected data to third-party tools to view them, then users can use the loader utility to load that data to third-party tools.6.1.1.1 loader-custom-values.yaml Parameter Description
The following table describes the parameters which can be
customized while updating the
loader-custom-values.yaml
file.
Table 6-1 loader-custom-values.yaml Parameters
Parameter | Description | Default Value | Range or Possible Value |
---|---|---|---|
global.image.repository | Specifies the name of the docker registry that contains the cnc-nfdata-collector image. | - | - |
global.inputPath | Specifies the name of the Kubernetes slave that contains the
exported-data/ directory.
Note: The
path must include |
/tmp | - |
global.slaveNodeName | Specifies the name of the Kubernetes slave that stores the
collected data, for example, the exported-data/ directory.
To obtain the name of the slave node or worker node, run the
|
- | - |
global.capacityStorage | Specifies the amount of space that is utilized by the collected data, for example, 2Gi, 200Mi, and so on. | 5Gi | - |
global.elasticSearchURL | Provides the URL for Elastic search. FQDN of Elastic search can
also be provided.
If Elastic search requires authentication, it can
be provided in the URL as:
|
- | - |
global.victoriaMetricsURL | Provides the URL for Victoria metrics. FQDN of Victoria metrics can also be provided. | - | - |
Sample custom file
global:
# Registry where cnc-nfdata-collector image present.
image:
repository: reg-1:5000
# path on slave node where exported-data folder is present. path including the exported-data directory
inputPath: /tmp/exported-data_2020-07-03_08:15:38
#Mention the URL of elasticSearch here.
elasticSearchURL: "https://elastic:r2qrkb46sx6hh5zk56wcrshr@10.178.246.56:30785"
#Mention the URL of victoria here.
victoriaMetricsURL: "http://10.178.246.56:32001"
#Storage to be allocated to persistence
capacityStorage: 5Gi
#Name of the slave where fetched data has to be loaded
slaveNodeName: k8s-slave-node-1
6.1.2 Loading the NF Logs, Metrics, Traces, Alerts Data
Create the YAML file as described in Creating or Updating the YAML File for the Loader Utility.
6.1.3 Viewing the NF Logs, Metrics, and Traces
Perform the following procedure to view NF Logs, Metrics, and
Traces.
- To view logs, do the following:
- Open the Kibana GUI that is integrated with Elastic search by using the Kibana URL.
- Provide the index pattern to scan the indices.
- Navigate to the Discover section to view the logs.
- Import the NF provided dashboards on Grafana to view metrics, otherwise follow
these steps:
- Open the Grafana GUI that is integrated with Victoria Metrics by using the Grafana URL.
- Navigate to the Explore section and provide Prometheus as data source.
- Search for the required metrics in the Search box.
- To view traces, do the following: