> ## Documentation Index
> Fetch the complete documentation index at: https://docs.siftstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Stream and import telemetry from FlexLogger

> Stream FlexLogger Channels to Sift live or via file import after each Run.

After completing this workflow, you can live stream or import FlexLogger telemetry into Sift and confirm its arrival.

## Before you begin

* You are familiar with how [Sift organizes telemetry into Assets, Channels, and Runs](https://docs.siftstack.com/documentation/get-started/data-model.md).

## How the FlexLogger plugins work

The Sift FlexLogger plugin package adds two plugins to FlexLogger. Each plugin sends data to the Sift Asset you name in its settings.

## Install the Sift FlexLogger plugins

1. From the latest `flexlogger-plugins` release on the [sift-labview Releases page](https://github.com/sift-stack/sift-labview/releases), download `flexlogger_dist.zip`.
2. In the unzipped folder, run `install_flexlogger_plugins.bat`. The script installs both plugins and `sift_proxy`, which the plugins require.
3. Optional: On the Windows machine running FlexLogger, set the `SIFT_API_KEY`, `SIFT_API_GRPC_URL`, and `SIFT_API_REST_URL` environment variables before you add a plugin to a project. Each plugin's settings then pre-fill with your API key and base URLs.

## Stream live telemetry to Sift

1. In **FlexLogger**, configure the Channels you want to stream.
2. Select **Add channels > Plug-in > Sift Stream**.
3. On the **Sift Stream** plugin, click the gear button to open the plugin settings.
4. Fill out the plugin settings:
   1. In the **Asset Name** field, enter the name of the Sift Asset to stream data to. By default, the Asset name is the machine's hostname.
   2. In the **Sift API gRPC URL**, **Sift API REST URL**, and **Sift API Key** fields, enter your gRPC and REST [base URLs](https://docs.siftstack.com/documentation/manage/set-up-api-access.md#obtain-the-base-url) and your [API key](https://docs.siftstack.com/documentation/manage/set-up-api-access.md#create-an-api-key).
      * If you set the environment variables when you installed the plugins, these fields are already filled in.
   3. In the **Sample Rate (Hz)** field, enter the rate at which to stream all Channels. Use a lower rate than the source data rate in FlexLogger. For full-rate data, use the [Sift TDMS Uploader](#import-telemetry-from-a-file-into-sift) instead.
   4. In **Select Channels**, select the FlexLogger Channels to stream to Sift.
   5. In the **Channel Name Prefix** field, enter a prefix for streamed Channel names in Sift. The prefix distinguishes streamed Channels from imported TDMS Channels. The default prefix is `telemetry.`.

## Import telemetry from a file into Sift

1. In **FlexLogger**, configure the Channels you want to log.
2. Select **Add channels > Plug-in > Sift TDMS Uploader**.
3. On the **Sift TDMS Uploader** plugin, click the gear button to open the plugin settings.
4. Fill out the plugin settings:
   1. In the **Name** field, enter a display name for this plugin instance in FlexLogger.
   2. In the **Sift API gRPC URL**, **Sift API REST URL**, and **Sift API Key** fields, enter your gRPC and REST [base URLs](https://docs.siftstack.com/documentation/manage/set-up-api-access.md#obtain-the-base-url) and your [API key](https://docs.siftstack.com/documentation/manage/set-up-api-access.md#create-an-api-key).
      * If you set the environment variables when you installed the plugins, these fields are already filled in.
   3. In the **Asset Name** field, enter the name of the Sift Asset to import data to.
5. Optional: To change the Run name, edit the TDMS file name in FlexLogger's **Logging Specification** tab.
6. In FlexLogger, click **Run**, then click **Stop Run**. The plugin imports the generated TDMS file into Sift as a Run, as long as the plugin is configured in that project.

## Check the FlexLogger telemetry

1. Select **Runs** in the navigation.
2. In the **Runs** table, find the new Run for the Asset you entered in the plugin settings, then click the Run.
3. Click  **EXPLORE**.
4. If you are streaming, click  **LIVE** in the **Explore** toolbar.
5. In the  **Channels** tab, confirm each FlexLogger Channel you selected appears. Streamed Channel names start with the **Channel Name Prefix** you set.
6. Click a Channel name to plot it.
7. Confirm the time range, units, and values look right, without gaps.
8. Decide whether FlexLogger data is arriving as expected.
   * If no data appears, confirm the API key, gRPC URL, and REST URL in the plugin settings. For error details from the Sift Stream plugin, check the log files in this folder:

     ```text theme={null}
     C:\Users\Public\Documents\National Instruments\FlexLogger\Plugins\IOPlugins\Sift Stream
     ```

## What's next

* [Monitor telemetry in real time](https://docs.siftstack.com/documentation/analyze/monitor-telemetry-in-real-time.md): Watch streamed Channels update as data arrives.
* [Analyze a Run](https://docs.siftstack.com/documentation/analyze/analyze-a-run.md): Plot and explore the FlexLogger Channels across Panels.
