Splunk
The Splunk module enables transferring data to a Splunk server.
The Splunk module receives messages from a message broker and writes them to a buffer. The resulting queue is emptied cyclically and the content is sent via HTTP POST event to the Splunk Event Collector.[1]
The timestamp of the data message payload is used as the Splunk timestamp. Alternatively, the timestamp of the data message payload is replaced by the Splunk indexing time. The contents of the source metadata are written to the Splunk field "Source". The scope metadata is transmitted to the additionally created Splunk field "Scope".
Configuration Parameters
The following parameters are required for using the Splunk module.
Connection
| Parameter | Description |
|---|---|
URL | URL of the HTTP Event Collector (default port: 8088) |
Proxy | Specification of an HTTP proxy for the connection between RoboGate Edge and Splunk; optional. |
Access Token | Created in the Splunk system being used. This is required for input in the HTTP Event Collector instance (creation see below). |
Host | The hostname, IP address, or fully qualified domain name of the network host from which the event originates can be used as the event host. The host can be used to specifically search and evaluate data in Splunk that originates from a particular source. |
Creating the Access Token in Splunk:
Log in to Splunk and open "Settings"
Select "Data Inputs"
Select "HTTP Event Collection"
Click the "New Token" button in the upper right corner
Edit the "Select Source" tab and click "Next"
Edit the Input Settings tab and click "Next"
Edit the Review tab and click "Next"
Edit the Done tab
The token is available for input in the RoboGate Edge UI after creation.
Settings
| Parameter | Description |
|---|---|
Send Timestamp | When the switch is turned off (sendTimestamp = false), the timestamp information from the messages is discarded before sending to Splunk. Splunk sets an event time that corresponds to the time the message arrives at the Splunk server. |
Source Type | Source Type is one of the standard fields that Splunk assigns to all incoming data. It specifies the data structure of an event (_json). |
Enable persistent Queue | Queue persistence is enabled. In the event of connection problems, untransmitted messages are cyclically persisted and are therefore not lost in the event of an intermediate restart of the application/device. |
Messages / Topics
One of the following two modes must be selected for message transmission.
| Parameter | Description |
|---|---|
Telemetry Messages | Messages are transmitted to the Splunk server without transformation, according to the schema: |
Event Messages | Incoming messages are converted into individual event messages. The following schema applies: |
Configuration in the UI
The Splunk module can be accessed and configured by selecting the module on the start page or via the left menu bar of the RoboGate Edge UI.
Configure Connection
The module must be configured according to your requirements. The parameters are described in more detail above. After entering the URL, optionally the proxy, the access token, and the host, topics can be added.
After completing the configuration, it is saved using the save button in the upper right corner. By saving the configuration, it becomes available in RoboGate Edge (Figure 1).

Configure Messages
Under Telemetry Messages and Event Messages, output topics of other RoboGate Edge modules can be added by clicking "+". These contain the data to be evaluated in Splunk.
By saving the entire configuration of the Splunk module, the data of the selected topics is sent to Splunk and is available for evaluation in Splunk.
Figure 2 shows the evaluation for Telemetry Messages using the example topic "ModbusRTUPollGroup1" and Figure 3 the evaluation for Event Messages using the example topic "OPCUAPOLL1".


In the "Module State" section (Figure 4), you can see whether the module was able to establish a connection to Splunk.

Delete Topic
Topics can be deleted within the Splunk module configuration. To do so, the topic to be deleted must be removed by clicking "x". By saving the configuration change, it becomes available in RoboGate Edge (Figure 5).

Reset Configuration
The complete configuration of the module can be reset to factory settings using the button in the horizontal menu bar.
After clicking the button, a confirmation dialog with "Yes" and "No" appears, asking whether the operation should actually be performed.
This will also delete the entire history on the RoboGate Edge!