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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...