When I try to run the Python script in Splunk Linux server with below command
python controlFlow IT-PTE-TEST '[{"rtfEnv": "IT-PTE-TEST","appId": "exx-xx-xx","appName": " app-two","flowName": "xyz::api-main"}]'
and give results as
Environment GroupName ApplicationName FlowName
IT-PTE-TEST exx-xx-xx app-two xyz::api-main
When I try to call the same script from the Splunk UI
|script controlFlow IT-PTE-TEST "[{\"rtfEnv\": \"IT-PTE-TEST \",\"appId\": \"exx-xx-xx \",\"appName\": \"app-two\",\"flowName\": \"xyz::api-main"}]" check
| [{"rtfEnv": "IT-PTE-TEST" | appId | appName | flowName |
| Environment | GroupName | ApplicationName | FlowName |
| IT-PTE-TEST | exx-xx-xx | app-two | xyz::api-main |
Here passing argument is coming as outcome fields. Can you help to resolve the issue.
Want to get the same result as we run in the server.
Hi All,
Issue is resolved, its fixed in the Python code itself. They made change in getting the arguments. It fixes the issue.
Thanks,
Suresh M