# InfluxDB

{% hint style="info" %}
The content of this documentation is under revision and may change. We appreciate your understanding as we work to improve it.
{% endhint %}

**InfluxDB** interacts with InfluxDB v1, a time series database.

## **Parameters**

Take a look at the configuration options for the component. Parameters supported by [Double Braces expressions](https://docs.digibee.com/documentation/connectors-and-triggers/double-braces/overview) are marked with `(DB)`.

### **General tab**

<table data-full-width="true"><thead><tr><th>Parameter</th><th>Description</th><th>Default value</th><th>Data type</th></tr></thead><tbody><tr><td><strong>Connection Bean</strong> <code>(DB)</code></td><td>Connection to the Influx database. The class should be InfluxDB.class.</td><td>N/A</td><td>String</td></tr><tr><td><strong>Fail On Error</strong></td><td>If the option is activated, the pipeline's execution with an error will be interrupted. Otherwise, the pipeline execution proceeds, but the result will show a false value for the <code>"success"</code> property.</td><td>False</td><td>Boolean</td></tr></tbody></table>

### **Optional tab**

<table data-full-width="true"><thead><tr><th>Parameter</th><th>Description</th><th>Default value</th><th>Data type</th></tr></thead><tbody><tr><td><strong>Auto Create Database</strong></td><td>Define if the database should be created automatically if it doesn’t exist.</td><td>False</td><td>Boolean</td></tr><tr><td><strong>Batch</strong></td><td>Define whether this operation is a batch operation or not.</td><td>False</td><td>Boolean</td></tr><tr><td><strong>Check Database Existence</strong></td><td>Define whether to verify the existence of the database when starting the endpoint.</td><td>False</td><td>Boolean</td></tr><tr><td><strong>Database Name</strong> <code>(DB)</code></td><td>The name of the database where the time series will be stored.</td><td>N/A</td><td>String</td></tr><tr><td><strong>Operation</strong> <code>(DB)</code></td><td>Define whether this operation is an insert or a query.</td><td>insert</td><td>String</td></tr><tr><td><strong>Query</strong> <code>(DB)</code></td><td>Define the query to be executed when the operation is “query”.</td><td>N/A</td><td>String</td></tr><tr><td><strong>Retention Policy</strong> <code>(DB)</code></td><td>The string that specifies the retention policy for data created by the endpoint.</td><td>default</td><td>String</td></tr></tbody></table>

### **Headers tab**

<table data-full-width="true"><thead><tr><th>Parameter</th><th>Description</th><th>Default value</th><th>Data type</th></tr></thead><tbody><tr><td><strong>Retention Policy</strong> <code>(DB)</code></td><td>The string that specifies the retention policy for data created by the endpoint.</td><td>N/A</td><td>String</td></tr><tr><td><strong>Database Name</strong> <code>(DB)</code></td><td>The name of the database where the time series will be stored.</td><td>N/A</td><td>String</td></tr><tr><td><strong>Query</strong> <code>(DB)</code></td><td>Define the query to be executed when the operation is “query”.</td><td>N/A</td><td>String</td></tr></tbody></table>

### **Documentation tab**

<table data-full-width="true"><thead><tr><th>Parameter</th><th>Description</th><th>Default value</th><th>Data type</th></tr></thead><tbody><tr><td><strong>Documentation</strong></td><td>Section for documenting any necessary information about the connector configuration and business rules.</td><td>N/A</td><td>String</td></tr></tbody></table>
