Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

How we can run splunk python sdk code in splunk as scripted input?

$
0
0
In this case ,I have Index "A" with Two fields "Latitude" and "Longitude" ,now I want my python script fetch these two fields from Index"A" and calculated distance (using internal logic) and then indexed this distance field into Index "B". For this case I have used splunk python sdk to get indexed data ,now I want this script will run by splunk as scripted input to ingest data in index "B" . Please help me out do complete this task.

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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