<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Detecting outlier without using Splunk Machine Learning Toolkit in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Detecting-outlier-without-using-Splunk-Machine-Learning-Toolkit/m-p/311535#M164632</link>
    <description>&lt;P&gt;@niketnilay I do not have access to the splunk system side (no admin) too. Thanks for the reply I will read up on what you share. Might have to see if it is possible to python some logic in.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Dec 2017 08:39:47 GMT</pubDate>
    <dc:creator>quahfamili</dc:creator>
    <dc:date>2017-12-04T08:39:47Z</dc:date>
    <item>
      <title>Detecting outlier without using Splunk Machine Learning Toolkit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Detecting-outlier-without-using-Splunk-Machine-Learning-Toolkit/m-p/311531#M164628</link>
      <description>&lt;P&gt;Hi all, &lt;/P&gt;

&lt;P&gt;Not sure if it is a good way to solve this. Currently I do not have access to Splunk Machine Learning Toolkit due to computer management policies. I would like to check if I can use any self written logic in Splunk to detecting outliers with a given set of data.&lt;/P&gt;

&lt;P&gt;Might be too broad of a question.&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 03:23:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Detecting-outlier-without-using-Splunk-Machine-Learning-Toolkit/m-p/311531#M164628</guid>
      <dc:creator>quahfamili</dc:creator>
      <dc:date>2017-12-04T03:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting outlier without using Splunk Machine Learning Toolkit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Detecting-outlier-without-using-Splunk-Machine-Learning-Toolkit/m-p/311532#M164629</link>
      <description>&lt;P&gt;@quahfamili, Can you install Splunk Machine Learning Toolkit (MLTK) on your personal machine? MLTK allows you to view underlying queries and macros for finding outliers, which you can then implement in your Splunk instance. However, if the query relies on an algorithm they can not be usable unless you install MLTK on the instance where you want to identify outlier.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 04:40:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Detecting-outlier-without-using-Splunk-Machine-Learning-Toolkit/m-p/311532#M164629</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-12-04T04:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting outlier without using Splunk Machine Learning Toolkit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Detecting-outlier-without-using-Splunk-Machine-Learning-Toolkit/m-p/311533#M164630</link>
      <description>&lt;P&gt;currently not possible to install on that system. &lt;/P&gt;

&lt;P&gt;I was just thinking aloud to see if it is possible to write some simple algorithm  in splunk, something like manual trend line with some threshold to build a model and check each data point against the model. &lt;/P&gt;

&lt;P&gt;I actually hope I can install the MLTK to test but I cannot.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 05:14:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Detecting-outlier-without-using-Splunk-Machine-Learning-Toolkit/m-p/311533#M164630</guid>
      <dc:creator>quahfamili</dc:creator>
      <dc:date>2017-12-04T05:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting outlier without using Splunk Machine Learning Toolkit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Detecting-outlier-without-using-Splunk-Machine-Learning-Toolkit/m-p/311534#M164631</link>
      <description>&lt;P&gt;What I meant was for &lt;CODE&gt;Standard Deviation&lt;/CODE&gt;, &lt;CODE&gt;Interqartile Range&lt;/CODE&gt; and &lt;CODE&gt;Mean Absolute deviation&lt;/CODE&gt;, you can use built in Splunk queries which are also used in Machine Learning Toolkit. These do not require MLTK to run but, in order to get those queries you will have to install MLTK somewhere (may be your personal laptop with Splunk Enterprise), not on the machine where you are building the Outlier detection.&lt;/P&gt;

&lt;P&gt;If you want to create your own custom search command you can your Python SDK for Splunk. However, it is easier and better to integrate Machine Learning Algorithms via MLTK rather that starting from scratch on your own:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dev.splunk.com/view/python-sdk/SP-CAAAEU2"&gt;http://dev.splunk.com/view/python-sdk/SP-CAAAEU2&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Search/Aboutcustomsearchcommands"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Search/Aboutcustomsearchcommands&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 07:52:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Detecting-outlier-without-using-Splunk-Machine-Learning-Toolkit/m-p/311534#M164631</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-12-04T07:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting outlier without using Splunk Machine Learning Toolkit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Detecting-outlier-without-using-Splunk-Machine-Learning-Toolkit/m-p/311535#M164632</link>
      <description>&lt;P&gt;@niketnilay I do not have access to the splunk system side (no admin) too. Thanks for the reply I will read up on what you share. Might have to see if it is possible to python some logic in.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 08:39:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Detecting-outlier-without-using-Splunk-Machine-Learning-Toolkit/m-p/311535#M164632</guid>
      <dc:creator>quahfamili</dc:creator>
      <dc:date>2017-12-04T08:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting outlier without using Splunk Machine Learning Toolkit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Detecting-outlier-without-using-Splunk-Machine-Learning-Toolkit/m-p/311536#M164633</link>
      <description>&lt;P&gt;You can detect outliers in a number of ways, e.g.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| timechart span=1h count
| streamstats window=24 avg(count) as avg stdev(count) as std 
| eval m=2, lower=avg-(std * m), upper=avg+(std * m), outlier = if(count &amp;lt; lower OR count &amp;gt; upper, 1, 0)
| table _time upper lower count outlier
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and then if you plot the outlier field on a chart overlay with a max Y axis of say, 2, you will have a vertical line showing the outliers &lt;/P&gt;

&lt;P&gt;Adjust m to get a suitable standard deviation multiplier&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 06:08:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Detecting-outlier-without-using-Splunk-Machine-Learning-Toolkit/m-p/311536#M164633</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2018-03-27T06:08:57Z</dc:date>
    </item>
  </channel>
</rss>

