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 Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...