# Parameters

### General <a href="#h.iy2j3qpghg0m" id="h.iy2j3qpghg0m"></a>

* **Host:** contains target IP address or database server hostname.
* **Port:** contains database server port (8086 by default).
* **Database:** contains name of the database.
* **Retention Policy:** contains the retention policy.
* **Measurement:** contains name of measurement.

{% hint style="info" %}
Note that if database, retention policy or measurement do not exist in the database server, reading and writing will not be performed
{% endhint %}

* **Items per Request:** contains maximum number of items (values) that can be read per one request.
* **Query Template:** contains query text for data fetch. The information about how the query result is associated with the variables can be found further. Query text can contain the following keywords for replacement:
  * *{DATABASE\_NAME}* - is replaced with the name of database specified in the device.
  * *{RETENTION\_POLICY\_NAME}* - is replaced with the name of retention policy specified in the device.
  * *{MEASUREMENT\_NAME}* - is replaced with the name of the measurement specified in the device.
  * *{WHERE\_CONDITION}* - is replaced with WHERE condition: *("tsid" = 'Group1.Series1' AND "tsc" = 'Room\_25') OR ("tsid" = 'Group2.Series3' AND "tsc" = 'Room\_228')*, generated for addresses in the block.
  * *{TAG\_KEYS}* - is replaced with a list of tag keys used in the block, e.g.: *"tsid", "tsc", "location"*
  * *{FIELD\_NAMES}* - is replaced with a list of fields used in the block, e.g.: *"value", "time", "flag"*
  * *{ITEMS\_COUNT}* - is replaced with a quantity of unique tags combinations used in the block.
* **Inter-request Delay:** contains timeout interval (in milliseconds) before the next query is sent. &#x20;
* **Request Timeout** - contains time interval (in milliseconds) within which the response from the database server must be received. If the response is not received during the specified interval an error occurs. &#x20;

### Security <a href="#h.mxh7apafhfs0" id="h.mxh7apafhfs0"></a>

* **Use Credentials:** specifies that it is necessary to use credentials (Base64 Auth in HTTP-header).
* **Username:** contains the username.
* **Password:** contains the password.
* **Use SSL:** specifies that it is necessary to verify database server SSL certificate.
* **SSL Verification:** contains verification mode of database server SSL certificate:
  * Accept any.
  * Verify chain of trust by using a store of certificates of the operating system.
  * Verify chain of trust by using custom certificate of certification authority.
* &#x20;**Custom CA File:** contains custom certificate of certification authority.

Most of the parameters described above are available as OPC UA items. More information about editing server object properties via OPC UA is described [<mark style="color:blue;">here</mark>](/basics/opc-ua/access-to-object-settings.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.monokot.io/tags-and-devices/influxdb-connectivity-connector/parameters.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
