Hi,
I added Kepware OPC as one of my data inputs in Splunk Enterprise.
I am able to read the Machine Temperature in Splunk Search using Tags.
I need to write back to kepware tag in Splunk based on some analysis.
Example:
I need to automatically shutdown the machine if it reaches 100F temperature.
How do we obtain this? Is it possible in Splunk?
Regards,
Manirajan.V
To write back, you can trigger a REST Call to the Tag in question. You will however, need the use of the IoT Gateway instead of the IDF for Splunk Plugin.
So steps in general:
Everything is possible, one way or another. What you need to do may depend on a large number of details you haven't included.
Basically, you will need to create an alert that detects the machine temperature going over your threshold.
Depending on your use case, you may want the alert to write a record to a summary index for tracking purposes.
The alert then needs to fire a custom alert action using a method appropriate to send the message to the relevant machine to shut down.
What that method might be would depend on the machine that is supposed to receive the instruction.
It might be more helpful in terms of getting quick and good advice, to join the Splunk Slack channel and ask in the subchannel that's devoted to app developers, or the channel for IoT discussions.
This link will take you to a page that has an always-current link to join the Splunk Slack channel.
https://www.splunk.com/blog/2017/10/09/get-into-the-splunk-community.html
(We apologize for having to click through, but if we put a direct link in each relevant answer, then they would each have to be kept updated over time.)