Auto-Tag Logs#

This section explains how to use the tag_ulog action to automatically tag ULog files based on detected errors, enabling efficient search for files with specific issues.

The tag_ulog action scans ULog console logs and tags the files with error messages from specific modules.

Tags follow the format:

ERROR_<module_name>

For example, ERROR_commander indicates that the ULog file contains errors from the commander module.

The code for the tag_ulog action can be found in our open-source robologs-px4 repository.

Run Tag ULog action#

  1. Select the ULog file in the file browser that you want to analyze. Click on the Selected button and click Invoke Action.

Select action
  1. In the Action dialog, select the roboto-public/tag_ulog action from the Action Hub tab. Click Invoke Action.

Invoke action
  1. Wait until the invocation status shows Completed. You can now navigate back to the dataset file browser and verify that the tag was added to the file by clicking the blue chevron next to the file, or by right-clicking and selecting Metadata from the context menu.

View metadata

In this example, the ULog file is tagged with ERROR_commander. You can search for ULog files with specific error tags on the Search page. To learn how to search across multiple ULog files based on tags, metadata, and topic statistics, refer to the next section on search.

You can configure a trigger to automatically run the tag_ulog action when a ULog file is uploaded to the platform.