- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
03-31-2023 06:39 AM
Hello,
I'm trying to build a transformer that given a IP gives back the reverse dns. However, it seems that using commands in transformers is not allowed. Am I wrong?
04-03-2023 02:02 AM
Can you provide some more context and examples so we can better understand the issue? In general, you can use a transformer in an automation script and then save the object under a new variable. Once completed you can run the command with the transformed data object. Just so that you understand the term transform is used to convert data into other types or forms such as strip() and Regex. You can run the command with the data.
04-03-2023 01:32 PM
Hello Michael,
Automation scripts can be tagged as "Transformer". This allows you to use them as transformer inside "filters and transformers" when a variable is set.
My problem is that I can perfectly create a transformer and make it work, however when I try to use an "execute.command" like Dig (execute.command("Dig", ....)) inside the automation tagged with "Transformer", the transformer doesn't work.
The main question is why is not working? Is not allowed to use "execute.command" in an automation used as a "transformer"?
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!