{"id":65218,"date":"2024-02-20T07:57:01","date_gmt":"2024-02-19T23:57:01","guid":{"rendered":"https:\/\/oihelp.corporate.ifs.com\/help\/?page_id=65218"},"modified":"2025-05-08T15:50:49","modified_gmt":"2025-05-08T07:50:49","slug":"influxdb-adaptor","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/datasources\/influxdb-adaptor\/","title":{"rendered":"InfluxDB Adaptor Features"},"content":{"rendered":"\n<p class=\"left-bar\">The InfluxDB Adaptor supports both InfluxDB v2 and v1.\u00a0<\/p>\n<p class=\"intro-text\">The InfluxDB Adaptor creates a tag for every Influx measurement-tag_key-tag_value-field_key combination during tag discovery. It supports both native and fallback sampling for GET requests, and also supports PUT requests.<\/p>\n<p class=\"intro-text\">The adaptor can be installed via the Explorer installer.<\/p>\n<hr \/>\n<h2 class=\"page-subheading\">Adaptor Requirements<\/h2>\n<p class=\"intro-text\">The user that the adaptor will use to access the \"bucket\" needs read and write permissions for the bucket.<\/p>\n<p class=\"intro-text\">To enable a user to access the Influx bucket, run the following command (this example uses InfluxDB v1, there may be changes to security mechanisms in v2):<\/p>\n<p class=\"code-fragment\">influx v1 auth create --username [user_name] --password [password] --read-bucket [bucket_id] --write-bucket [bucket_id] -o [organization_name]<\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h2 class=\"page-subheading\"><span id=\"PI_Adaptor_Settings\">InfluxDB Adaptor Settings<\/span><\/h2>\n<p class=\"intro-text\">The following table lists the adaptor's parameters, along with the\u00a0<em>name<\/em>\u00a0and\u00a0<em>type<\/em>\u00a0to be used in the Import\/Export spreadsheet.<\/p>\n<table>\n<tbody class=\"intro-text\">\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"width: 218px;\" width=\"170\"><strong>Parameter<\/strong><\/td>\n<td style=\"width: 450px;\"><strong>Description and example<\/strong><\/td>\n<td style=\"width: 126px;\"><strong>Name<\/strong><\/td>\n<td style=\"width: 165px;\"><strong>Type<\/strong><\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"width: 218px;\"><span style=\"color: #800080;\"><strong>Use HTTPS<\/strong><\/span><\/td>\n<td style=\"width: 450px;\">When selected, uses HTTPS to connect to the host; otherwise uses HTTP.<\/td>\n<td style=\"width: 126px;\">UseHTTPS<\/td>\n<td style=\"width: 165px;\">Boolean<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"width: 218px;\"><span style=\"color: #800080;\"><strong>Host Name<\/strong><\/span><\/td>\n<td style=\"width: 450px;\">Fully-qualified name of the server machine on which InfuxDB\u00a0 is hosted.<\/td>\n<td style=\"width: 126px;\">HostName<\/td>\n<td style=\"width: 165px;\">String<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"width: 218px;\"><span style=\"color: #800080;\"><strong>Port Number<\/strong><\/span><\/td>\n<td style=\"width: 450px;\">Port number of the InfluxDB on the host.<\/td>\n<td style=\"width: 126px;\">PortNumber<\/td>\n<td style=\"width: 165px;\">Integer<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"width: 218px;\"><span style=\"color: #800080;\"><strong>Database Name<\/strong><\/span><\/td>\n<td style=\"width: 450px;\">The name of the InfluxDB database to use.<\/td>\n<td style=\"width: 126px;\">DatabaseName<\/td>\n<td style=\"width: 165px;\">String<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"width: 218px;\"><span style=\"color: #800080;\"><strong>User Name<\/strong><\/span><\/td>\n<td style=\"width: 450px;\">User Name to use to connect to the host.<\/td>\n<td style=\"width: 126px;\">UserName<\/td>\n<td style=\"width: 165px;\">String<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"width: 218px;\"><span style=\"color: #800080;\"><strong>Password<\/strong><\/span><\/td>\n<td style=\"width: 450px;\">Password for the User Name used to connect to the host.<\/td>\n<td style=\"width: 126px;\">Password<\/td>\n<td style=\"width: 165px;\">EncryptedString<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"width: 218px;\"><span style=\"color: #800080;\"><strong>Use Native Sampling<\/strong><\/span><\/td>\n<td style=\"width: 450px;\">When selected, uses the historian's built-in native sampling; otherwise, use IFS OI Server's own fallback sampling.<\/td>\n<td style=\"width: 126px;\">UseNativeSampling<\/td>\n<td style=\"width: 165px;\">Boolean<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"width: 218px;\"><span style=\"color: #800080;\"><strong>Maximum Parallel Request Count<\/strong><\/span><\/td>\n<td style=\"width: 450px;\">The maximum number of requests to be sent in parallel to the host.<\/td>\n<td style=\"width: 126px;\">MaximumParallelRequestCount<\/td>\n<td style=\"width: 165px;\">Integer<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"width: 218px;\"><span style=\"color: #800080;\"><strong>Confidence Field<\/strong><\/span><\/td>\n<td style=\"width: 450px;\">The name of the field which contains the confidence value. If not field is configured, or the field is not found, then the default confidence of 100 will be applied to all fetched values.<\/td>\n<td style=\"width: 126px;\">ConfidenceField<\/td>\n<td style=\"width: 165px;\">String<\/td>\n<\/tr>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"width: 218px;\"><span style=\"color: #800080;\"><strong>Timestamp Precision<\/strong><\/span><\/td>\n<td style=\"width: 450px;\">The precision to use on the timestamp which is used to fetch and write values.\u00a0<\/td>\n<td style=\"width: 126px;\">TimestampPrecision<\/td>\n<td style=\"width: 165px;\">String<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h2 class=\"page-subheading\"><span id=\"Release_History\">Release History<\/span><\/h2>\n<ul class=\"intro-text\">\n<li>InfluxDB Adaptor Features 4.15\n<ul class=\"intro-text\">\n<li>Initial Release<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The InfluxDB Adaptor supports both InfluxDB v2 and v1.\u00a0 The InfluxDB Adaptor creates a tag for every Influx measurement-tag_key-tag_value-field_key combination during tag discovery. It supports both native and fallback sampling for GET requests, and also supports PUT requests. The adaptor can be installed via the Explorer installer. Adaptor Requirements The\u2026<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/datasources\/influxdb-adaptor\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":70252,"parent":3668,"menu_order":21,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[9],"tags":[1190],"class_list":["post-65218","page","type-page","status-publish","has-post-thumbnail","hentry","category-tech-ref","tag-influx","Version-4-15","Product-srv"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/65218","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/comments?post=65218"}],"version-history":[{"count":9,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/65218\/revisions"}],"predecessor-version":[{"id":67519,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/65218\/revisions\/67519"}],"up":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/3668"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media\/70252"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=65218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=65218"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=65218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}