Amarisoft

Meta Data in Log File

This page is not about testing anything. This is more of information purpose. This is about the meta data in a log file. If you open up a saved log file in text editor, you will see a list of important informations at the beginning of the file. It is called meta data. You would not see this information in WebGUI, you need to open it in text editor to see this part of the log. The contents of this part is not usually documented in official document and tend to change with different releases. So what you see in your log from current setup may not be same as what you see in this page.

Personally I am referring to this information for following cases. You may have your own reasons for the reference.

The initial version of this page is based on 2022-02-23 release and I will update/add items when there is any outstanding changes/additions.

Table of Contents

Introduction

Log file metadata plays a crucial role in the analysis, debugging, and interpretation of system and network behavior, especially in telecommunications environments such as LTE and 5G NR. Metadata refers to the structured information embedded at the beginning of a saved log file, which provides essential context about the recorded data, including configuration parameters, software and hardware versions, timestamps, network identifiers, and other environment-specific details. Unlike the main log content that represents event sequences and operational data, metadata is generally not visible through standard Web Graphical User Interfaces (WebGUIs) but requires direct access via a plain text editor. This information is vital for engineers, analysts, and developers who need to correlate log data with network topology, software releases, or specific test scenarios. Furthermore, the format and content of log file metadata are often undocumented and may vary between different software releases, making it necessary for users to familiarize themselves with the structure present in their current setup. The metadata section can reveal valuable insights such as gNB MIB (Master Information Block) information, resource allocation summaries for LTE PUCCH (Physical Uplink Control Channel), and detailed configuration data for network components like eNodeB, MME, or IMS. By leveraging this metadata, professionals can perform advanced troubleshooting, optimize resource usage, generate configuration files for platforms like Amarisoft, and gain a deeper understanding of system behavior across network generations.

Summary of the Tutorial

This tutorial provides examples and explanations of meta data found in LTE and NR (NSA and SA) logs for the 2022-02-23 release, as well as descriptions of specific metadata fields that may require additional clarification.

No explicit test procedures or step-by-step methodologies are described in the tutorial. The focus is on presenting example meta data logs and providing explanations for specific configuration fields relevant to LTE and NR test environments.

Examples of Meta Data

Followings are the examples of Meta data for enb, mme, ims logs for 2022-02-23 release.

enb - LTE log

I use the LTE header to check the cell settings and the resources reserved for uplink control. The example comes from /tmp/enb0.log and identifies lteenb version 2022-02-23. (NOTE : The detailed contents in this section may vary depending the version of the installed software package. so just try to capture the high level meaning and purpose of this section)

Cell 0x01 uses earfcn=3350, pci=1, and mode=FDD. Both n_rb_dl and n_rb_ul are 100, with cyclic_prefix=0. The uplink settings include prach_config_index=4 and prach_freq_offset=4.

The PUCCH allocation lists formats 2/2a/2b with RBs=1 and n=6. Start of PUCCH ACK/NACK is 11. The RBs reserved for PUCCH line contains ten entries, all set to 7.

The SR resource count is 220, and the CQI resource count is 240. SRS resources are offsets=8, freqs=20, and total=320. The GBR limits are DL=10.035 Mre/s and UL=10.535 Mre/s.

LTE log metadata with cell settings and PUCCH resource allocation

Text Version Example :

This text example uses lteenb version 2022-12-06 and a different LTE configuration. Both resource block counts are 25, prach_freq_offset is 2, and each PUCCH reservation entry is 3. The SRS total is 80, with GBR limits of DL=2.475 Mre/s and UL=2.492 Mre/s.

# lteenb version 2022-12-06, gcc 9.2.1

# Licensed to 'Amarisoft' [cbe6e80b13cb6a41616c693cb3c9801b1b9662053382a8c571]

# SMP C=8 PRACH=1 DRBs=1 RF0=1/1

# Log file format:

# time layer dir ue_id {cell_id rnti sfn channel:} message

# Cell 0x01: earfcn=3350 pci=1 mode=FDD

# DL: n_rb_dl=25 cyclic_prefix=0

# UL: n_rb_ul=25 cyclic_prefix=0 prach_config_index=4 prach_freq_offset=2 delta_pucch_shift=2 n_rb_cqi=1 n_cs_an=0

# PUCCH allocation:

# Type RBs n

# 2/2a/2b 1 6

# Start of PUCCH ACK/NACK=11

# RBs reserved for PUCCH: 3 3 3 3 3 3 3 3 3 3

# SR resource count=220

# CQI resource count=240

# SRS resources: offsets=8 freqs=5 total=80

# GBR limits: DL=2.475 Mre/s UL=2.492 Mre/s

enb - NR NSAlog

I check both cell entries in the NSA header because the same log contains LTE and NR settings. This /tmp/gnb0.log example identifies the LTE cell as 0x01 and the NR cell as 0x02.

The LTE cell uses earfcn=300, pci=1, and mode=FDD, with 100 resource blocks in both directions. Its PUCCH reservation entries are all 7. The LTE GBR limits are DL=10.035 Mre/s and UL=10.535 Mre/s.

The NR cell uses nr_arfcn=632628, ul_nr_arfcn=632628, pci=500, and mode=TDD. It has n_rb_dl=273, n_rb_ul=273, dl_mu=1, and ul_mu=1. Its GBR limits are DL=50.319 Mre/s and UL=14.676 Mre/s.

The header also lists Auto k1=[8,7,7,6,5,4,12,11], k2=[7,4], and msg3_k2=8. The SMP line includes RF0=1/1 and RF1=3/3.

NR NSA metadata containing LTE cell 0x01 and NR cell 0x02

Text Version Example :

This text example uses version 2022-12-06, with RF0=2/1 and RF1=2/1. Its NR cell has 51 resource blocks in each direction, rather than 273 in the earlier NSA example. The NR cell line is truncated at ssb_mu before the GBR limits, so it does not provide a complete set of SSB fields.

# lteenb version 2022-12-06, gcc 9.2.1

# Licensed to 'Amarisoft' [cbe6e80b13cb6a41616c693cb3c9801b1b9662053382a8c571]

# SMP C=8 PRACH=1 DRBs=1 RF0=2/1 RF1=2/1

# Log file format:

# time layer dir ue_id {cell_id rnti sfn channel:} message

# Cell 0x01: earfcn=300 pci=1 mode=FDD

# DL: n_rb_dl=100 cyclic_prefix=0

# UL: n_rb_ul=100 cyclic_prefix=0 prach_config_index=4 prach_freq_offset=4 delta_pucch_shift=2 n_rb_cqi=1 n_cs_an=0

# PUCCH allocation:

# Type RBs n

# 2/2a/2b 1 6

# Start of PUCCH ACK/NACK=11

# RBs reserved for PUCCH: 7 7 7 7 7 7 7 7 7 7

# SR resource count=220

# CQI resource count=240

# SRS resources: offsets=8 freqs=20 total=320

# GBR limits: DL=9.556 Mre/s UL=10.535 Mre/s

# Cell 0x02: nr_arfcn=632628 ul_nr_arfcn=632628 pci=500 mode=TDD rat=nr n_rb_dl=51 n_rb_ul=51 dl_mu=1 ul_mu=1 ssb_mu># GBR limits: DL=9.400 Mre/s UL=2.742 Mre/s

# Auto k1=[8,7,7,6,5,4,12,11] k2=[7,4] msg3_k2=8

enb - NR SAlog

The SA header provides the NR cell information directly under Cell 0x01. I use this entry to check the frequency, resource block counts, and numerology for the standalone cell.

This /tmp/gnb0.log uses nr_arfcn=632628 and ul_nr_arfcn=632628, with pci=500, mode=TDD, and rat=nr. Both n_rb_dl and n_rb_ul are 51. The dl_mu and ul_mu values are both 1.

The GBR limits are DL=9.400 Mre/s and UL=2.742 Mre/s. The timing line lists Auto k1=[8,7,7,6,5,4,12,11], k2=[7,4], and msg3_k2=8. The CFG line follows these cell details.

NR SA metadata with 51 resource blocks and automatic timing values

Text Version Example :

This text example uses version 2022-12-06 and keeps the NR resource block counts at 51 in each direction. The cell line is truncated at ssb_mu before the GBR limits. The final timing line also contains trailing text after msg3_k2=8.

# lteenb version 2022-12-06, gcc 9.2.1

# Licensed to 'Amarisoft' [cbe6e80b13cb6a41616c693cb3c9801b1b9662053382a8c571]

# SMP C=8 PRACH=1 DRBs=1 RF0=2/1

# Log file format:

# time layer dir ue_id {cell_id rnti sfn channel:} message

# Cell 0x01: nr_arfcn=632628 ul_nr_arfcn=632628 pci=500 mode=TDD rat=nr n_rb_dl=51 n_rb_ul=51 dl_mu=1 ul_mu=1 ssb_mu># GBR limits: DL=9.400 Mre/s UL=2.742 Mre/s

# Auto k1=[8,7,7,6,5,4,12,11] k2=[7,4] msg3_k2=8* (Section III-B)-2))

mme

The MME header identifies the core network software and defines the columns used by its log entries. I check /tmp/mme.log when I need this information for the MME component.

The software line reports ltemme version 2022-02-23 with gcc 9.2.1. The log format is time layer dir [enb_id|mme_ue_id] message. This differs from the radio log format with cell_id, rnti, sfn, and channel fields.

The CFG entry appears after the log format definition and before Started. It belongs to the MME log, so use this entry when extracting the MME configuration.

MME metadata identifying software version log columns and CFG data

ims

The IMS header identifies the software used for the IMS component and includes its configuration data. I check /tmp/ims.log separately from the eNB and MME logs.

The software line reports lteims version 2022-02-23 with gcc 9.2.1. A license line is followed by CFG and Started. This example does not include a Log file format section.

IMS metadata identifying lteims version and encoded CFG entry

Descriptions

You may understand the meaning of the information in Meta data section without any further explanation. So I would not explain those information in this page. In this section, I will explain only on those information that would require additional description.

CFG

CFG is the compression version of the all the configurations that are used for the test. You can convert this into readable test format as explained in this tutorial.

Cell - NR

Cell data for NR carries information as shown below.

Cell 0x01: nr_arfcn=632628 ul_nr_arfcn=632628 pci=500 mode=TDD rat=nr n_rb_dl=51 n_rb_ul=51 dl_mu=1 ul_mu=1 ssb_mu=1 ssb_arfcn=632544 ssb_prb=12:20 k_ssb=0 coreset0_prb=0:48 coreset0_idx=10

Some information that you want to have explanation would be as follows.