Add Logs to a Run
To use this guide, install the Nominal Python library with pip3 install nominal
.
See Quickstart for more details.
Please contact us if you’re not sure whether your organization has access to Nominal.
Log files are a standard output from aircraft, land vehicles, manufacturing equipment, and practically any present-day machine with an on-board computer.
Nominal makes it simple to upload log files to a Nominal Run for collaborative inspection, root-cause analysis, and automated alerting.
In Nominal, Runs are containers of multimodal test data - including Datasets, Videos, Logs, and database connections.
To see your organization’s latest Runs, head over to the Runs page
Connect to Nominal
Get your Nominal API token from your User settings page.
See the Quickstart for more details on connecting to Nominal from Python.
Create a Run
First, we’ll create an empty run to upload our log file:
If you navigate to your organization’s Runs page, you’ll see a Run at the top called “‘Frosty Flight.”
Generate a log file
We’ll generate a demo log file to add to our Run.
To make the demo log file visually interesting and distinct, we’ll add a random sparkline chart to each log file line:
Nominal log files are defined in Python as a list of tuples:
Finally, add the log file to flight_simulator_run
:
If you visit the Datasets tab of the ‘Frosty Flight’ Runs page, you’ll see “Sparkline Logs” in the datasets table.
To inspect “Sparkline Logs”, open the Run in an empty Workbook and click on the “Logs” pane at the bottom of the window.
Retrieve log files
🚧 This will be included in an upcoming release. Check back soon!