All Apps and Add-ons

With the OPC Data Explorer app, how do I control Machine Temperature in Splunk using tags?

manirajan
New Member

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

0 Karma

Stevelim
Communicator

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:

  • Create an alert based on your requirement
  • Trigger Script
  • Script sends a HTTP Post to the correct end point in Kepware
  • Kepware "writes" to trigger the machine shut down
0 Karma

DalJeanis
Legend

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.)

0 Karma
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...