ABB Knowledge Manager Connector — User Guide¶
How to deploy, configure, and verify the VirtualForge ABB Knowledge Manager connector. For what the connector is and why it is shaped this way, start with ABB Knowledge Manager Connector for Seeq.
Overview¶
The connector is a Seeq datasource connector that brings ABB Knowledge Manager (ABB KM) content
into Seeq: the tag catalog, the signals, and their time-series history. It runs inside a Seeq Link
remote agent and reads from Knowledge Manager over ABB's ExtDataAccess WebAPI.
It is a pull connector, and one connection maps to one Seeq datasource. Sample data is served from Knowledge Manager on demand as users trend and analyze, so Seeq never becomes a second copy of the historian.
Seeq Server
│
Seeq Link remote agent ← on your infrastructure
│
ABB KM connector ← one connection per KM server
│
ABB KM ExtDataAccess WebAPI ← your Knowledge Manager installation
Indexing is full-only. ABB Knowledge Manager has no change feed — nothing in the source can tell the connector what changed since last time — so each index run rebuilds the catalog rather than applying a delta. The incremental hook that other VirtualForge connectors use is present but inert here, which is a property of the source rather than a gap in the connector. Plan the index schedule accordingly: weekly is the shipped default, and daily is common.
Installation¶
Prerequisites¶
- A Seeq Server with a Seeq Link remote agent
- Java 21+ on the remote agent host
- Network reachability from the agent host to the ABB KM
ExtDataAccessWebAPI endpoint - A Knowledge Manager account the connector can authenticate as, with read access to the tag catalog and tag data
- A license file issued for the agent host (see Licensing)
Which Seeq version a given release was validated against is stated with that release — see Versions & Seeq Compatibility.
Deployment steps¶
-
Obtain the connector ZIP from your Endeavor Engineering contact.
-
Deploy it to the remote agent — either copy the ZIP to the agent machine and extract it into the agent's connector plugins directory, or use Seeq Admin → Remote Agents → Upload Connector.
-
Create the configuration file at
<agent data folder>/configuration/link/ABB KM Connector V3.json. The connector ships a template at that name with placeholder values; see Configuration file structure. -
Install the license. On its first start the connector creates the license folder and writes a host-fingerprint file. Send that file to Endeavor Engineering, then place the license you receive back at the path named in the agent log.
-
Restart the remote agent.
-
Verify:
- The agent log shows the connector loading, and a license line reading
state=LICENSED - In Seeq, under Administration → Datasources, the datasource appears and reports connected
- After the first index run completes, the asset tree and its signals appear in Workbench
Licensing¶
The connector is licensed per host, and the license is bound to a fingerprint of that host — a copied license file fails rather than working somewhere else.
Until a license issued for that host is installed, the connector starts normally, logs its state, and registers zero active datasources. There is no grace window. So an empty asset tree on an otherwise healthy-looking agent is the expected appearance of a missing license, not a fault — check the log before looking anywhere else.
The license is never stored in the configuration file, and its path is resolved outside config. A Seeq configuration reset therefore cannot remove your license.
Configuration file structure¶
The connector is configured through ABB KM Connector V3.json. The shipped template, with
placeholders where your values go:
Leave the
Versionline exactly as it is. It identifies the file's format, not a product version, and is the same value the legacy connector wrote. Seeq ignores a file whoseVersionit does not recognize and starts the connector with an empty configuration.
{
"Version": "com.abbkmv4.seeq.link.connector.ABBKMConnectorConfigV4",
"VForge": {
"VirtualForgeEnabled": false
},
"Connections": [
{
"Name": "ABBKM-Default Connection",
"Id": "d1c4dade-947e-433b-8187-c31e0500acfd",
"Enabled": false,
"Indexing": {
"Frequency": "1w",
"OnStartupAndConfigChange": false,
"Next": null
},
"WebServiceMethod": "http",
"WebServiceIP": "your-abb-km-server",
"WebServicePort": 80,
"WebServiceURL": "/ExtDataAccess/api",
"WebServiceTimeout": 180000,
"UserName": "VFORGE_SECRETS",
"Password": "VFORGE_SECRETS",
"Domain": "VFORGE_SECRETS",
"HierarchyMode": "tagid",
"UserTimeZone": "GMT+00:00",
"StopLogs": {
"Enabled": false,
"MaxDuration": "30d",
"NameFilter": "",
"Properties": ["MajorCause", "ReasonText", "Shift", "StopType"],
"LastCertain": {
"Mode": "Default",
"Period": "7d"
}
},
"VForge": {
"Http": {
"MaxRetries": 3,
"BackoffBaseMs": 200,
"BackoffMaxMs": 20000,
"RequestsPerSecond": 0,
"CircuitBreakerEnabled": true,
"AdaptiveConcurrency": true,
"Tls": {
"Trust": "Any",
"TrustStore": null
}
},
"Indexing": {
"IncrementalIndexingFrequency": null,
"MaxIndexingDuration": "2h",
"PostFlushSettle": "2s"
},
"Monitoring": {
"Enabled": false,
"SignalLocation": "FILE_SIGNAL_STORAGE"
},
"Tree": {
"Enabled": false,
"Parent": {
"DatasourceClass": null,
"DatasourceId": null,
"DataId": null,
"SeeqId": null
}
},
"Samples": {
"DebounceWindow": "0 s",
"TargetChunkSamples": 50000,
"MinChunkDuration": "1h",
"LastCertain": {
"Mode": "Default",
"Period": "1d"
}
}
}
}
]
}
The file name and the
V3/V4strings in it are on-disk identifiers, not the product version. They are the literal names Seeq and the connector use to find each other, so renaming them breaks an existing configuration. Leave them as they are. Likewise keep the generatedId— it is what ties this connection to its Seeq datasource across restarts.
Two fields to change first: Enabled ships as false so a freshly deployed connector does
nothing until configured, and WebServiceIP is a placeholder. Nothing indexes until both are set.
Then give the connection its Knowledge Manager account with vf-agent secrets set (see
Credentials); the configuration itself keeps VFORGE_SECRETS.
Configuration parameters¶
Connection¶
| Parameter | Type | Required | Description |
|---|---|---|---|
Name |
String | Yes | Display name for the connection, and the Seeq datasource name |
Id |
String | Yes | Unique identifier — keep the generated value |
Enabled |
Boolean | Yes | Enable or disable this connection. Ships false |
ABB Knowledge Manager endpoint¶
| Parameter | Type | Required | Description |
|---|---|---|---|
WebServiceMethod |
String | Yes | "http" or "https" |
WebServiceIP |
String | Yes | Hostname or address of the Knowledge Manager server |
WebServicePort |
Integer | Yes | Port the ExtDataAccess WebAPI listens on |
WebServiceURL |
String | Yes | API path — "/ExtDataAccess/api" unless your installation differs |
WebServiceTimeout |
Integer | No | Per-request timeout in milliseconds. Default 180000 |
UserName |
String | Yes | VFORGE_SECRETS (the default): take the account from the secrets store. See Credentials |
Password |
String | Yes | VFORGE_SECRETS (the default). A password written here still works but is deprecated |
Domain |
String | No | VFORGE_SECRETS (the default). The account's Windows domain is kept in the store with it |
Authentication is NTLM / Kerberos, which is what Knowledge Manager expects. Use https wherever
your installation offers it, and see TLS certificate validation for
whether the connector checks the server's certificate.
Catalog shape and time¶
| Parameter | Type | Required | Description |
|---|---|---|---|
HierarchyMode |
String | No | How the tag catalog is arranged into an asset tree. Default and recommended: "tagid". See Hierarchy modes |
UserTimeZone |
String | No | Time zone applied when converting Knowledge Manager timestamps, e.g. "GMT+00:00". Set this to the zone your KM data is recorded in |
Indexing¶
| Parameter | Type | Required | Description |
|---|---|---|---|
Indexing.Frequency |
String | Yes | Full index interval. "1w" weekly, "1d" daily |
Indexing.OnStartupAndConfigChange |
Boolean | No | Index immediately on agent start and after a config change. false is recommended for large catalogs, so a restart does not trigger a long run |
Indexing.Next |
String | Auto | Next scheduled run — managed by the connector |
VForge.Indexing.MaxIndexingDuration |
String | No | Ceiling on a single run, after which it stops cleanly rather than running indefinitely. Default "2h" |
VForge.Indexing.IncrementalIndexingFrequency |
String | — | Not used by this connector. Leave null — ABB KM has no change feed |
Frequency format: s seconds · m minutes · h hours · d days · w weeks · mo months
Sample retrieval¶
How the connector answers Seeq's requests for data. The defaults suit most installations; the block can be left out entirely, and the defaults apply.
| Parameter | Type | Description |
|---|---|---|
VForge.Samples.DebounceWindow |
String | The Debounce Window property the connector sets on every signal. Default "0 s": Seeq's recommended interim setting, which keeps Seeq requesting later data for signals with gaps. Leave it blank to use Seeq's own default |
VForge.Samples.TargetChunkSamples |
Integer | The most samples the connector asks Knowledge Manager for in one call. Default 50000 |
VForge.Samples.MinChunkDuration |
String | The shortest time span asked for in one call, such as "1h" or "30m". Default "1h" |
VForge.Samples.LastCertain.Mode |
String | How far the connector tells Seeq its data is final. "Default" (the default): leave it to Seeq. "LatestOf" (recommended for Knowledge Manager): data up to the later of the last value and now minus the period is final, so history is drawn as certain straight away. "Fixed": only data older than now minus the period is final, for recent values that can still be revised |
VForge.Samples.LastCertain.Period |
String | How late a value can still be written, such as "1d" or "3h". Default "1d". The connector adds one period of each signal's type, because Knowledge Manager writes an hourly, daily or monthly value when that period ends |
The connector reads Knowledge Manager a piece at a time, only as far as Seeq actually reads, so a long trend does not make it fetch data Seeq never uses. It never asks for more than 30 days of raw (primary) data, or 10,000 days of aggregated data, in one call. An invalid value is logged as a warning and the default is used.
Telling Seeq how far the data is final means Workbench draws history as certain straight away, instead of showing
parts of a trend dashed until Seeq checks again. If values can be written into Knowledge Manager later than the
period after their time, raise the period (or choose "Default"), or Seeq will not show them until its cache is
cleared.
HTTP resilience¶
These govern how the connector behaves when Knowledge Manager is slow, throttling, or briefly unavailable. The defaults are sensible; change them when you know something specific about your server's capacity.
| Parameter | Type | Description |
|---|---|---|
VForge.Http.MaxRetries |
Integer | Retry attempts for a failed request. Default 3 |
VForge.Http.BackoffBaseMs |
Integer | Initial backoff before a retry, in ms. Default 200 |
VForge.Http.BackoffMaxMs |
Integer | Ceiling on backoff growth, in ms. Default 20000 |
VForge.Http.RequestsPerSecond |
Integer | Outbound rate limit. 0 means unlimited |
VForge.Http.CircuitBreakerEnabled |
Boolean | Stop hammering a failing endpoint and recover deliberately. Default true |
VForge.Http.AdaptiveConcurrency |
Boolean | Adjust in-flight request count to what the server is actually absorbing. Default true |
Leaving the last two enabled is strongly recommended: together they turn an overloaded historian into visible, recoverable throttling rather than silent gaps in an index run.
TLS¶
Used only when WebServiceMethod is "https". See
TLS certificate validation.
| Parameter | Type | Description |
|---|---|---|
VForge.Http.Tls.Trust |
String | Which server certificates to accept: "Any" (default), "System" or "File". Not case-sensitive. A missing block or null means "Any" |
VForge.Http.Tls.TrustStore |
String | Path to a PEM or DER certificate file on the agent host. Used by "File" only |
Stop logs¶
Knowledge Manager's stop logs (each recorded stop of a piece of equipment, with its cause, reason and shift) can
appear in Seeq as conditions, one per stop log, with one capsule per stop. Off by default: with
StopLogs.Enabled false the connector makes no stop-log request to Knowledge Manager and creates no condition, so
nothing changes until you turn it on. What it makes possible: Stop Logs as Seeq Conditions.
Turn it on only for a Knowledge Manager that keeps stop logs. With stop logs on, an index that gets no stop logs
back is treated as a problem on the Knowledge Manager side: it writes the signals, archives nothing, and is shown as
failed in Seeq, with a NO RESULTS warning in the log. On a Knowledge Manager without stop logs, leave the setting
off.
"StopLogs": {
"Enabled": true,
"MaxDuration": "30d",
"NameFilter": "",
"Properties": ["MajorCause", "ReasonText", "Shift", "StopType"],
"LastCertain": { "Mode": "Default", "Period": "7d" }
}
| Parameter | Type | Description |
|---|---|---|
StopLogs.Enabled |
Boolean | Index stop logs as conditions and serve their stops. Default false |
StopLogs.MaxDuration |
String | The conditions' maximum capsule duration, such as "30d" or "720h". Default "30d". A longer stop is shown up to this length and flagged Truncated; its real length stays in Duration (h), and the log notes it. A larger value shows long stops whole, at the cost of a wider request to Knowledge Manager each time Seeq asks |
StopLogs.NameFilter |
String | Only the stop logs whose names match, with * and ? wildcards, such as "5*". Blank (the default): all stop logs |
StopLogs.Properties |
List | The stop fields copied onto each capsule. Default MajorCause, ReasonText, Shift, StopType. Also available: ReasonText2, ErpStatus, ExternalId, SortName, AuxCause1–3, AuxText1–2, D1L1Cause to D3L3Cause. Duration (h) is always added |
StopLogs.LastCertain.Mode |
String | How far the stop-log conditions are final in Seeq. "Default": final up to the latest stop, which suits a site where causes are entered when the stop is recorded. "Fixed": only stops older than now minus the period are final, for a site where causes and reasons are entered or corrected later. "LatestOf": the later of the two |
StopLogs.LastCertain.Period |
String | How long after a stop its fields can still change, such as "7d". Default "7d" |
In the Data tab, stop logs appear under a Stop Logs asset under the plant, then their Knowledge Manager
folders, read the same way as the signals' folders. The signal tree is not changed. Each condition carries the stop
log's KM TagID, KM Path, Group Number and Channel Number.
A stop still in progress is shown up to the present and is uncertain (drawn hatched) until it ends, with
Open = true. A stop Knowledge Manager never closed and that started longer ago than MaxDuration is shown with that
length and flagged Open and Truncated.
Not offered: UserName and Explanation. These name the person who entered the reason and hold free text.
Capsule properties are visible to everyone who can read the datasource in Seeq, often a wider group than Knowledge
Manager's own users, and attributing stops to people can need agreement under privacy rules or with employee
representatives. If your site needs either field, tell us; it can be added as an explicit opt-in.
Each stop log is identified by its Knowledge Manager TagID, so renaming or moving a log in Knowledge Manager keeps
the same condition in Seeq. A stop log without a TagID is left out and named in the log. If Knowledge Manager's stop
log list cannot be read during an index, or comes back empty, the conditions stay as they are (nothing is
archived), as for signals. To remove stop-log conditions, turn StopLogs.Enabled off and archive them in Seeq.
Asset tree placement¶
By default the datasource's root asset is at the top of the Data tab. These settings place it under an existing Seeq asset instead, for example one shared asset that groups several datasources.
| Parameter | Type | Description |
|---|---|---|
VForge.Tree.Enabled |
Boolean | Place this datasource's root asset under an existing Seeq asset (VForge.Tree.Parent) instead of at the top of the Data tab. Default false: the root is a tree root |
VForge.Tree.Parent |
Object | The asset to place the root under, by DatasourceClass, DatasourceId and DataId (the same on every Seeq server where the asset was made the same way), or by SeeqId. When both are given, the three coordinates win. An incomplete parent disables the setting at the next start, with a log line saying what is missing. A change takes effect when the connection next connects (an agent restart, or a configuration change while the agent runs): turning it on moves an existing root under the parent, and turning it off with the parent left in place moves the root back to the top |
Monitoring and platform connectivity¶
| Parameter | Type | Description |
|---|---|---|
VForge.Monitoring.Enabled |
Boolean | Publish the connector's own health and indexing activity into Seeq as a monitoring asset tree, trendable in Workbench. See Connectors ++ |
VForge.VirtualForgeEnabled |
Boolean | Connector-level. The VirtualForge platform-connectivity switch, and disabled in the current release — the integration is architecture-present and runtime-off. See the optional VirtualForge connection |
Security¶
Credentials¶
The connector signs in to Knowledge Manager as a service account. From this release that account's user name, password and domain are kept in the VForge secrets store on the Seeq agent host, not in the connector configuration, so they are not part of the configuration that Seeq administrators can view.
How it works
- One file per agent host,
vforge/secrets/credentials.jsonin the agent's data folder, shared by every Endeavor Engineering connector on that agent. - Each connection's credential is found by the connection's
Id. Nothing is added to the configuration for this. VFORGE_SECRETSmeans "use the store". The shipped template setsUserName,PasswordandDomainto it. When the store has no credential for a connection yet, the connector adds an empty entry for it, logs what to do, and leaves that connection inactive until the entry is filled in.- One account for many connections. If several Knowledge Manager servers use the same service account, store it once as a shared credential and point each connection at it.
- Seeq's secrets-file references work too. A value such as
SECRETS_FILE:keys/abbkm-km.key, in the configuration or in the store, is read from that file on the agent host, as Seeq's own connectors do.
Managing credentials with vf-agent
vf-agent is the command-line tool for the store, included with the connector. How to run it, set it
up in PowerShell, Command Prompt or bash, and every command and option are on the
vf-agent reference; step-by-step tasks with
what you should see are on Using vf-agent.
This section gives what is specific to the ABB Knowledge Manager connector.
| For this connector | Value |
|---|---|
Product ID, in every secrets command |
seeq-connector-abbkm |
| A connection's ID | The Id of the connection in the configuration |
| Configuration file | configuration\link\ABB KM Connector V3.json in the agent's data folder |
| Credential fields that say "use the store" | UserName, Password, Domain, each set to VFORGE_SECRETS |
| Credential type | User name and password, with an optional Windows domain (NTLM or Kerberos) |
| Retire a connection | Set "Enabled": false on it before removing its credential |
Examples, with vfa set up as on the reference page:
vfa secrets verify --product seeq-connector-abbkm
vfa secrets set seeq-connector-abbkm <connection Id> --username svc-km --domain CORP
vfa secrets migrate --product seeq-connector-abbkm --all
Adding a connection. vf-agent adds it from this connector's own defaults, with no hand edit. Set
the connection's server with --set (the settings are those of a connection in the configuration, such
as WebServiceIP, WebServiceMethod, WebServicePort, HierarchyMode):
vfa datasources add seeq-connector-abbkm --name "KM Plant 2" --set WebServiceIP=km2.example.com --set WebServiceMethod=https --set WebServicePort=443 --apply --agent-stopped
It starts disabled, with VFORGE_SECRETS in UserName, Password and Domain, and prints the
vf-agent secrets set line for its credential. Then datasources enable it. See
Add a connection with vf-agent.
If you add a connection by hand instead, give it VFORGE_SECRETS in UserName, Password and
Domain, as in the shipped template, and run vfa config check seeq-connector-abbkm before starting the
agent. On its next start the connector adds an empty entry for it, keeps it inactive, and logs the
command to run, with the connection's Id already in it:
Fill it with: vf-agent secrets set seeq-connector-abbkm <connection Id> --username USER --domain DOMAIN
Retiring a connection. To remove it and its signals and assets, archive its datasource in Seeq
(Administration → Datasources → Archive, with its items). Seeq turns the connection off in
ABB KM Connector V3.json straight away, and removes it at the agent's next start; then remove its
credential with vfa secrets remove seeq-connector-abbkm --stale. Deleting the connection from the
configuration instead leaves its items in Seeq. To stop it but keep it, disable it: vfa datasources
disable seeq-connector-abbkm <connection Id> --apply --agent-stopped. See
Retire a connection.
Replacing a connection. Seeq keeps its own copy of this configuration and matches it to the file by
each connection's Id. Add the new connection, start the agent and check it connects, and only then
disable or delete the old one; never replace the whole file. See
Replace a connection.
Editing credentials.json by hand is possible, but not recommended. A formatting mistake, such as a
missing comma or quote, makes the file unreadable: the connector keeps using the last copy it could
read and logs an error, and connections that need a change wait until the file is fixed. A mistyped
connection Id leaves that connection without a credential. vf-agent writes the file safely, even
while the connector is running. If you do edit it, run vf-agent secrets verify afterwards.
Credentials in the configuration still work, for now. A connection whose configuration still holds
its password keeps connecting: the connector uses the password, logs a warning that this is deprecated,
and copies it into the store. vf-agent secrets migrate then replaces the configuration's values with
VFORGE_SECRETS (with --apply, which asks before writing, and the Seeq agent stopped). Support for passwords in the configuration will be
removed in a later release, announced in the release notes at least 30 days ahead.
Where the password exists, once moved
- The store file on the agent host. It is plain text, protected by file permissions. An
administrator of the agent host can read it, the same boundary as Seeq's own secrets file. Limit it
to the account that runs the Seeq agent and to administrators; on Linux the connector creates it
readable by its owner only.
vf-agent secrets verifyreports wider access. If an account has access on purpose, such as a backup or monitoring account, name it with--allow-access <account>(repeatable):verifythen accepts it and lists it in the result, so the record shows what was allowed. - Nowhere else on the host. The connector's configuration backups (in
vforge/config-backups/) never contain a password: values are replaced by********. Backups written by earlier versions are masked the next time the connector starts. - Not in Seeq. Seeq's view of the configuration (Administration, and the Seeq REST API) shows
VFORGE_SECRETS. Check this after moving an installation.
Where it does not go. The connector uses the password only to authenticate to your Knowledge Manager server, over NTLM or Kerberos. Neither protocol sends the password itself over the network. The connector does not write the password to its logs or reports, and it makes no calls to Endeavor Engineering.
What we recommend
- Use a dedicated service account with read-only access to the Knowledge Manager WebAPI, and no interactive sign-in. Do not use a person's account.
- Move every connection to the store with
vf-agent secrets migrate, and confirm withvf-agent secrets verify --require-store, which fails any connection whose password is still in the configuration. - Protect the agent data folder as you would the password. Limit it to the account that runs the
Seeq agent and to administrators. On Linux, run
vf-agentas that account. - Rotate the password on your normal schedule with
vf-agent secrets set(orset-shared); it asks before replacing the old one (--yesin a script). The connector picks up the change the next time the connection connects. - Use
httpswhere your Knowledge Manager server offers it.
Where this is heading. If your organization needs more, tell us. Endeavor Engineering will add it in collaboration with you, matched to your environment and security policies. Options we already have in mind:
| Option | What it would do | Notes |
|---|---|---|
| Integrated Windows authentication | The Seeq agent runs as a domain service account, ideally a group Managed Service Account, and the connector authenticates as that account | No password stored at all. Requires your Knowledge Manager server and Active Directory to accept the service account |
| Encrypted store | The store's values are encrypted for the agent host, for example with Windows Data Protection | Protects copies of the file. Does not protect against an administrator of the agent host |
| Operating-system credential store | The store's entry names an entry in Windows Credential Manager | Native on Windows agents; Linux agents would need an equivalent |
TLS certificate validation¶
With WebServiceMethod: "https", the connection to Knowledge Manager is encrypted. Whether the
connector also checks the server's certificate is set per connection by VForge.Http.Tls.Trust:
Trust |
Certificate check | Hostname check | When to use it |
|---|---|---|---|
Any (default) |
None: any certificate is accepted | None | The behavior of every earlier release. Knowledge Manager servers often use self-signed certificates, so this stays the default, and upgrading changes nothing |
System |
On a Windows agent: the Windows trust store and the Java trust store. On a Linux agent: the Java trust store | Yes | Your Knowledge Manager certificate is issued by a certificate authority your Windows machines already trust. Many sites distribute their internal CA this way |
File |
Only the certificates in the file named by TrustStore |
Yes | Your internal CA is not in the Windows trust store, the agent runs on Linux, or you want to pin one self-signed server certificate |
The hostname check is always on for System and File. The name in WebServiceIP must match a
name in the certificate. If WebServiceIP is an IP address, the certificate must list that address.
Otherwise the connection is refused even though the certificate is otherwise trusted: a valid
certificate for a different server proves nothing.
To pin a self-signed certificate: export the Knowledge Manager server's certificate (the public
part only, as a .cer or .pem file), copy it to the agent host, and set:
"Tls": { "Trust": "File", "TrustStore": "C:\\ProgramData\\Seeq\\data\\keys\\km-server.pem" }
A certificate file holds no secret, but keep it where only administrators can replace it: whoever can swap the file decides which server the connector trusts. Pinning also means that when the server's certificate is renewed, you replace the file.
What you will see in the log. Once per connection at startup, a connection on https with Any
logs a warning that certificate validation is off. A connection that validates logs which trust it
uses. A setting the connector cannot honor, such as an unknown Trust value, File without a
TrustStore, or a file it cannot read, is logged as an error, and that connection does not
connect. It never falls back to accepting any certificate. Other connections are unaffected.
If validation fails against a server that should be trusted, the log names the reason: an untrusted certificate chain, or a certificate that does not match the host name.
Hierarchy modes¶
HierarchyMode decides how the flat Knowledge Manager tag catalog is arranged into a Seeq asset
tree. All four modes produce the same item identities and the same signal names for a given tag —
only the tree position differs.
| Mode | Shape |
|---|---|
tagid |
Default and recommended. Organized by ABB TagId |
kmlogs |
Organized by Knowledge Manager log structure |
ptypes |
Organized by period type |
flat |
No hierarchy — every signal at one level |
Because identity does not change with the mode, switching modes re-shapes the tree without breaking existing worksheets that reference the signals in it. Changing mode does require a full index run to take effect.
What happens during an index run¶
Two phases, in order:
- Asset hierarchy, built sequentially from the Knowledge Manager tag catalog.
- Signals, created concurrently, arranged according to
HierarchyMode.
Group Number and Channel Number are attached to each signal as properties, so they are searchable and filterable in Seeq alongside the signal itself.
Sample data is not moved during indexing. It is fetched from Knowledge Manager on demand when a user
trends a signal, in bounded time chunks, with the connection's UserTimeZone applied.
What a full index archives. Seeq archives any item of the datasource that a full index does not write, so a tag removed from Knowledge Manager disappears from Seeq at the next index. That only happens when the index read Knowledge Manager's tag list. If the list cannot be read (the request fails after its retries, the answer is empty, or it is not a tag list), the connector stops the index and tells Seeq to archive nothing. A list with no tags at all archives nothing either, with a warning: a configured plant always has tags, so an empty list means a problem on the Knowledge Manager side. The existing signals and assets stay available until an index reads a list with tags again. To retire a datasource with everything in it, archive it in Seeq.
Known behaviors¶
Worth knowing before they surprise you in an analysis:
- Conditions come only from stop logs, and only when turned on. With
StopLogs.Enabledtrue, each Knowledge Manager stop log is a condition (see Stop logs). Otherwise the connector produces signals only, as before. - A null source value becomes a
0.0sample rather than a gap. This is deliberate parity with the behavior of the connector's production predecessor, held pending customer confirmation rather than changed unilaterally — because silently reinterpreting historical data is worse than a documented quirk. If this matters to your analysis, tell us; it is tracked. - Malformed tags are skipped. A tag whose name does not parse to a well-formed identity (one that
does not split into exactly four
|-separated parts, for instance) is left out rather than admitted with a broken identity, and the rest of the tags index normally. - A backslash Knowledge Manager did not escape is read as a backslash, except before
t,n,r,b,f,/,"or a four-digitucode. JSON reads those pairs as special characters (for example a tab), so a name containing one cannot be told apart from what Knowledge Manager meant. - Samples are ordered before they reach Seeq. Seeq rejects out-of-order samples, so the connector sorts ascending by timestamp first. This is what makes daylight-saving boundaries a non-event.
Troubleshooting¶
The connector does not appear in Seeq¶
Check that the ZIP was extracted into the agent's connector plugins directory and that the agent was restarted. The agent log states which connectors it loaded.
The datasource appears but nothing indexes¶
In order of likelihood:
Enabledis stillfalse— it ships that way.- No valid license for this host. The log states the license state; without one the connector registers zero active datasources by design. See Licensing.
WebServiceIPis still the placeholder, or the endpoint is unreachable from the agent host.- No index run has happened yet. With
OnStartupAndConfigChangeset tofalse, the first run waits for the schedule. Trigger one from Seeq if you do not want to wait.
The Data tab shows only the plant asset, or an index changed nothing¶
With this release, an index that cannot read Knowledge Manager's tag list, or gets an empty one, leaves the
datasource as it was: nothing new appears and nothing is archived. Seeq shows that index as failed: on the
Datasources page Currently Indexed keeps the time of the last complete index, and the status does not show
Success. A Currently Indexed time older than the schedule is the sign to look. The agent log (jvm-link.log)
has NO RESULTS for an empty list, Archiving skipped for this index run: with the reason, and
Index run NOT completed, followed by the agent's own Metadata sync failure (Seeq message SQ-1304). The
reason is usually one of:
- An error from Knowledge Manager (for example
HTTP 500), or the server is unreachable. Check the Knowledge Manager web service (ExtDataAccess) and its IIS application. The connector has already retried. - An answer that is not a tag list, such as an error page. The log line quotes the start of the answer.
- An empty tag list (
ABB KM returned an empty tag list): Knowledge Manager answered, but with no tags. Check Knowledge Manager's own logs and its tag-list configuration.
Fix the cause and trigger an index from Seeq, or wait for the next scheduled one.
A backslash Knowledge Manager did not escape in a tag or folder name no longer causes this. The connector reads
the list anyway and logs read it after escaping … backslash(es) KM did not escape.
With the legacy connector 4.5.2 or an earlier release, the same failure made the index write only the
plant asset, and Seeq archived every signal under it. The next successful index restores them, with the same
identities, so worksheets and analyses work again once it has run.
Authentication failures¶
Confirm the account, and whether it needs Domain set. NTLM authentication is connection-bound, so a
misconfigured domain typically shows as consistent rejection rather than intermittent failure.
An https connection is refused after enabling certificate validation¶
The log line starting Cannot connect to ABB KM WebAPI server: gives the reason:
PKIX path building failed: the certificate is not trusted by the chosenTrust. WithSystem, check that the issuing CA is in the agent host's trust store; withFile, check that the file holds the CA (or the pinned server certificate) that actually signed it.doesn't match any of the subject alternative names: the certificate is trusted but was issued for a different name. SetWebServiceIPto a name the certificate lists (often the fully qualified host name rather than a short name or IP address), or have the certificate reissued.
Setting Trust back to "Any" restores the previous behavior while you sort it out.
Indexing is slow, or does not finish¶
Large catalogs take time, and MaxIndexingDuration stops a run cleanly at its ceiling — a run that
ends early is doing what it was told. If runs routinely hit the ceiling, either raise it or lengthen
Frequency. If the historian is the bottleneck, leave AdaptiveConcurrency on and consider
RequestsPerSecond to be a better citizen on a shared server.
Signals exist but return no data¶
Indexing and sample retrieval are separate operations against different Knowledge Manager calls, so
a catalog can index while data pulls fail. Check UserTimeZone first — a wrong zone puts samples
outside the window being trended — then the account's read access to tag data as distinct from the
tag list.
Support¶
Include your Seeq version, the connector version, the connection's HierarchyMode, and the relevant
agent log section. See Support for what EEI commits to and how to reach us — and note
that however you raise an issue, with us or with Seeq, we work it through with Seeq support rather
than handing it back to you.
Related¶
- ABB Knowledge Manager Connector for Seeq — what the connector is and what it provides.
- In Your OT Environment — where it sits in a Seeq deployment.
- Versions & Seeq Compatibility — how to read the version number and which Seeq version a release was validated against.
- Frequently asked questions
- Connectors ++ — the shared capability set this connector inherits.
- Seeq Connectivity — datasources, agents, and connectors, and how they relate.