3.2.6. Sample Log
![Sample log](../../_images/samplelog_shot.png)
This view is a table that logs the received samples from one or more Topics.
Data for the rows in this view are stored in memory, so be careful when adjusting the log depth. Smaller log depths may be necessary as the size of the data samples grow, otherwise Admin Console could run low on memory.
Toolbar/Context Menu Actions
Auto adjust column size: Resizes all table columns
automatically, corresponding to their content.
Pause UI updating: Pause/Resume updating the table.
Regardless of the state of this button, data is still received and accumulated in the background.
Clear Log: Clears all logged samples.
Export table contents to CSV file: Opens a file dialog and exports the contents of the table to a comma-separated-value (CSV) file.
Configure…: Opens the Sample Log Configuration dialog to configure the sample log. For example, you can add/remove topics, change value fields, and change columns. See Sample Log Configuration Dialog.
Note
Cells with blue text are linked to the corresponding entity in the system. For example, clicking on publication_handle will open the Process View and select the DataWriter that wrote the data sample displayed in that row. You can disable the links through the configuration dialog.
3.2.6.1. Sample Log Configuration Dialog
![Sample log configure dialog](../../_images/samplelog_configure_dialog.png)
This dialog configures the properties of a Sample Log.
View Name: Name of the view, which is used to identify this view.
Log Depth: The total number of samples that will be kept in memory. When this limit is reached, the oldest sample will be discarded upon receipt of each new sample.
Topics: Selects the Topics whose data should be displayed in this Sample Log. If the Topic has not yet been subscribed to, checking it will invoke the Create Subscription dialog.
Select Value Column Fields: Selects the fields whose values will appear in the Values of selected fields column.
![Sample log configure dialog visible columns](../../_images/samplelog_configure_visible_columns_dialog.png)
Visible Columns:
Index: The index of the received sample from the point of view of this Sample Log (across all Topics).
Domain: The DDS domain ID associated with the sample.
Topic: The name of the Topic associated with the sample.
Instance: Value(s) of the key field(s). It only shows the value without the key name.
Instance (with key name): The name(s) and value(s) of the key field(s).
Reception Time: The reception time of the sample.
Source Time: The time when the sample was written by DataWriter.
Values of Selected fields: The name and value of selected fields.
Data Type Name: The data type name. It may be different than the data type of the DataWriter, but it should be compatible with it in order to receive its data.
Host Name: The name of the host that sent the sample.
Host IP: The IP address(es) of the host that sent the sample.
Process: The name and ID of the process that sent the sample.
Publication Name: The publication name QoS of the DataWriter that wrote the sample.
Publication Handle: The instance handle of the DataWriter that wrote the sample.
Participant Name: The Participant Name QoS of the DomainParticipant that contains the DataWriter that wrote the sample.