Skip to main content

OIAnalytics®

The OIAnalytics® North Connector sends files and values to the OIAnalytics® SaaS application, supporting both JSON payloads and file-based data.

OIAnalytics® can process:

  • JSON time-values payloads: Formatted data points from South protocols (e.g., OPC UA, MQTT).
  • Files: Transmitted as-is (compressed or uncompressed). Supported formats include CSV, TXT, and XLSX.

OIAnalytics® includes built-in file parsers, eliminating the need for pre-processing. Parsing is configured directly in the SaaS application.

Example Use Cases:

  • Real-time Analytics: Send JSON payloads for immediate processing.
  • Historical Data Storage: Transmit files for archiving and analysis.
  • Integration: Combine with OIAnalytics® dashboards, alerts, and analysis tools.

Specific Settings

SettingDescriptionExample Value
Use OIAnalytics registrationUse connection settings from OIAnalytics registration.Enabled/Disabled
TimeoutDuration (in milliseconds) before a connection failure is reported.30000
Compress dataCompress data if not already compressed. Adds .gz extension to files and compresses JSON payloads.Enabled/Disabled

Manual Configuration (if registration is not used)

SettingDescriptionExample Value
HostHostname of the OIAnalytics® SaaS application.https://optimistik.oianalytics.com
Accept unauthorized certificateEnable if HTTP queries pass through a firewall that strips certificates.Enabled/Disabled

Authentication

SettingDescriptionExample Value
AuthenticationAuthentication method.Access key/Secret, Azure Active Directory with client secret, Azure Active Directory with certificate
Access keyAccess key. Required for Access key/Secret.my-access-key
SecretSecret key. Required for Access key/Secret.••••••••
Tenant IDAzure AD tenant ID. Required for AAD methods.xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Client IDApplication (client) ID. Required for AAD methods.xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Client secretApplication client secret. Required for Azure Active Directory with client secret.••••••••
CertificateApplication certificate. Required for Azure Active Directory with certificate.(selected from list)
ScopeOAuth2 scope. Required for Azure Active Directory with certificate.https://example.com/.default

Proxy Configuration

If your network infrastructure requires requests to pass through a proxy server to reach OIAnalytics®, enable Use proxy and configure the proxy details below.

SettingDescriptionExample Value
Use proxyRoute requests through a proxy server.Enabled/Disabled
Proxy URLURL of the proxy server.http://proxy.example.com:8080
Proxy usernameUsername for proxy authentication (if required).proxy_user
Proxy passwordPassword for proxy authentication (if required).••••••••

Connecting OIBus to OIAnalytics®

  1. Register OIBus on OIAnalytics® for seamless integration and secure communication.
  2. Enable Use OIAnalytics registration in the North connector settings.
    • This eliminates the need to manually transfer API keys, enhancing security.
OIBus Registration in OIAnalytics®

For the complete registration procedure, refer to the OIAnalytics registration guide.

Alternative Approach: API Key Authentication

If you choose not to register OIBus on OIAnalytics®, obtain an API key:

  1. In OIAnalytics®, navigate to Configuration → Users.
  2. Select the user and click the key icon to generate an API key.
  3. Copy and securely store both the API key and its associated password.
  4. Enter the API key and secret key in OIBus.

Generating an OIAnalytics API Key

Password Retrieval

The password is only displayed once during API key generation. If lost, you must generate a new API key.

API User Management
  • Create a dedicated API user in OIAnalytics® with exclusive API access.
  • Assign a unique API key to each OIBus instance for easier management and security.

Data Format

  • OIBus time values are sent as JSON payloads to OIAnalytics®.
  • OIAnalytics® directly references external data in time values pointId field (no file parser needed).