---
title: LE-Native TO InfluxDBv2
slug: solutions/le-native-to-influxdbv2
docTags: 
createdAt: 2023-04-21T09:38:59.000Z
---

# Overview

![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/j2Z1QuW5Zw7MtzXELyWBx_functiondiagramsolutions-nativetoinfluxv2drawio.png)

## Running the application using the downloaded Tar File

- After Checkout, a tar.gz file is expected to be downloaded
- Log in to your LitmusEdge, Navigate to Applications -> Images
- Click on (\[27-icon icon="fa fa-plus"]) Upload Image and upload the tar file there
- Once uploaded successfully, Navigate to Applications -> Containers and enter the following command there:

:::BlockQuote
*An example to run the container (change the env variables with your configs)*
:::

docker run -d --name le-to-influxdbv2 --network host
-e INFLUX\_HOST=http\://127.0.0.1:8087
-e INFLUX\_ORG=Litmus
-e INFLUX\_TOKEN=superSecureToken
-e INFLUX\_BUCKET=le-to-influxdbv2
-e NATS\_SUBJECTS="devicehub.alias.CMX.Shared\_Current\_average"
-e TELEGRAF\_MAX\_UNDELIVERED\_MESSAGES=10000
-e TELEGRAF\_METRIC\_BUFFER\_LIMIT=30000
-e TELEGRAF\_BATCH\_SIZE=10000
-e TELEGRAF\_NATS\_FLUSH\_INTERVAL=1s
-e TELEGRAF\_HC\_FLUSH\_INTERVAL=1s
-e TELEGRAF\_HC\_COLLECT\_INTERVAL=1s
-e TELEGRAF\_DEBUG=true
-e LE\_NAME=LE-VM-A -e LE\_DISABLE\_CONTEXT=true
-e LE\_ENABLE\_METADATA=false
-e LE\_ENABLE\_DESCRIPTION=false \<imgName>:\<tagName>
