Skip to content

feat(inputs.opcua): Discover nodes by browse-path glob patterns#18831

Draft
skartikey wants to merge 1 commit intoinfluxdata:masterfrom
skartikey:feat/opcua-browse-discovery
Draft

feat(inputs.opcua): Discover nodes by browse-path glob patterns#18831
skartikey wants to merge 1 commit intoinfluxdata:masterfrom
skartikey:feat/opcua-browse-discovery

Conversation

@skartikey
Copy link
Copy Markdown
Contributor

Summary

Adds browse-based node discovery for the OPC-UA input plugins, allowing users to specify glob patterns over browse paths instead of enumerating every node explicitly. This is the first of several PRs implementing the feature proposed in #18529; this one targets inputs.opcua. A follow-up PR will wire the same infrastructure into inputs.opcua_listener.

Pattern syntax

  • * -> single segment (or any chars within a segment)
  • ** -> recursive descent (zero or more segments)
  • ? -> single character
  • [abc] -> character class
  • \ -> escape

Example

[inputs.opcua.browse]
  root = "ns=0;i=85"
  depth = 10

  [[inputs.opcua.browse.paths]]
    pattern = "Objects/Plant1/*/MV*"
    name = "motor_valves"

    [inputs.opcua.browse.paths.default_tags]
      plant = "plant1"

Checklist

Related issues

resolves #

@telegraf-tiger telegraf-tiger Bot added area/opcua feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels May 1, 2026
@skartikey skartikey marked this pull request as draft May 1, 2026 15:18
@skartikey skartikey self-assigned this May 1, 2026
@telegraf-tiger
Copy link
Copy Markdown
Contributor

telegraf-tiger Bot commented May 1, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/opcua feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant