Quantcast
Channel: Latest Questions on Splunk Answers
Viewing all articles
Browse latest Browse all 13053

phyton script

$
0
0

Hi, Before I go deeper with this, pls allow me to ask a general question first and hope we/I can sort it out step-by-step. Is it possible to call a python function with an input parameter that returns an output parameter within a search script? the said script would function like a lookup(i.e. country code/prefix/number then return the country description). I've already made the function working within python via console output. And I have tried several ways to call it within splunk like "| python script myscript.py" but no luck.


Viewing all articles
Browse latest Browse all 13053

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>