Splunk Search

SPL that will call a script and use indexed data as input

teddyidc1101
Communicator

The requirement is to do forecasting on indexed data. A python script will be developed and use in Splunk to use the indexed data for forecasting. Is this possible? if yes, how?

Thanks!

0 Karma

niketn
Legend

@teddyidc1101 if you are using scikit-learn, pandas, statsmodel, numpy, or scipy libraries as forecasting algorithm you should check out Splunk Machine Learning Toolkit (MLTK) and if any of currently supported ML libraries are not already present in MLTK you can extend and import your own algorithm using ML SPL API

Also refer to State Space Forecast algorithm introduced in 4.2 which allows you to fit and apply learnt model for time series forecasting: https://docs.splunk.com/Documentation/MLApp/latest/User/Algorithms#StateSpaceForecast

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

riddhichandaran
Explorer

Yes it is possible you can create custom command and pass indexed data as a parameter

Reference:
http://dev.splunk.com/view/python-sdk/SP-CAAAEU2

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...