Configure Splunk Edge Hub Software to connect to an OPC server
To collect metrics from hardware that uses the OPC Unified Architecture (OPC-UA) protocol, configure Splunk Edge Hub to connect to the OPC servers that you want to get data from.
OPC server data uses the edge_hub_logs index and splunk_edge_hub_opcua sourcetype.
Prerequisites and requirements
Complete the following requirements and prerequisites before configuring Splunk Edge Hub Software to support OPC-UA.
Requirements
Your organization is using hardware that supports the OPC-UA protocol and you're using Splunk Edge Hub for AR version or 4.1.3 or higher.
Prerequisites
Register your Splunk Edge Hub and launch the Edge Hub Advance Settings.
- Register your Splunk Edge Hub. See Register or unregister your Splunk Edge Hub.
- Create an index for OPC-UA data. See Create indexes for Splunk Edge Hub Software.
- Complete the steps at Access the Edge Hub Advance Settings.
Steps
In the Edge Hub Advance Settings, compete the following steps:
- Navigate to the OPC-UA tab.
- Enter the OPC server name that you want to collect data from.
- Enter the server URL.
- Configure the connection details. Select Anonymous or Username and password.
Anonymous doesn't require authentication. Username and password prompts you to enter your OPC-UA server credentials. - Select Next. The Edge Hub Advance Settings verifies the OPC-UA connection.
- Select the metric sources you want to collect data from. You can browse or search for a metric source. The Splunk Edge Hub Software sends data from selected tags that have a
Value
attribute. - Select Next.
- Configure the sampling frequency. You can choose the publishing interval for data updates. Splunk Splunk Edge Hub Software gathers data using a Data Change Subscription on the OPC server.
- Select Next to complete the configuration.
View data from the OPC server in Splunk Web
In the Search and Reporting app, run the following search:
index="edge-hub-logs" sourcetype=splunk_edge_hub_opcua
Collect and organize managed IP device information using the SNMP protocol | Configure HTTPS for the Edge Hub Advanced Settings page server |
This documentation applies to the following versions of Splunk® Edge Hub OS: beta1.3.1, beta1.3.2, 1.4.2
Feedback submitted, thanks!