<?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 range() function in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/range-function/m-p/674910#M27839</link>
    <description>&lt;P&gt;I want to search for an Account_Name that has the maximum number of login attempts within a span of 10 minutes with range() function.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know how can i provide the parameters to this function....&lt;/P&gt;&lt;P&gt;some help will be appreciated!&lt;/P&gt;</description>
    <pubDate>Sat, 20 Jan 2024 08:27:50 GMT</pubDate>
    <dc:creator>m_nouman</dc:creator>
    <dc:date>2024-01-20T08:27:50Z</dc:date>
    <item>
      <title>range() function</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/range-function/m-p/674910#M27839</link>
      <description>&lt;P&gt;I want to search for an Account_Name that has the maximum number of login attempts within a span of 10 minutes with range() function.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know how can i provide the parameters to this function....&lt;/P&gt;&lt;P&gt;some help will be appreciated!&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jan 2024 08:27:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/range-function/m-p/674910#M27839</guid>
      <dc:creator>m_nouman</dc:creator>
      <dc:date>2024-01-20T08:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: range() function</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/range-function/m-p/674911#M27840</link>
      <description>&lt;P&gt;And how did you come up with the range() stats function? This function is for something completely different - it tells you what's the difference between lowest and highest value in your result set whereas you want to count things. The range() function is completely unsuited for this.&lt;/P&gt;&lt;P&gt;You should be doing count by Account_Name. In order to make it over sliding window, you need to use streamstats with a proper time window.&lt;/P&gt;&lt;PRE&gt;&amp;lt;your_initial_search&amp;gt;&lt;BR /&gt;| streamstats time_window=10m count by Account_Name&lt;/PRE&gt;&lt;P&gt;This will give you counts of logins over 10 minute windows. From this you'll be able to pick the one with the highest count. For example with&lt;/P&gt;&lt;PRE&gt;| sort - count | head &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jan 2024 08:56:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/range-function/m-p/674911#M27840</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-01-20T08:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: range() function</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/range-function/m-p/675045#M27863</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/264191"&gt;@m_nouman&lt;/a&gt;&amp;nbsp;- You need to use &lt;STRONG&gt;time_window&lt;/STRONG&gt; for &lt;STRONG&gt;streamstats&lt;/STRONG&gt; command, as suggested by&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For &lt;STRONG&gt;timechart&lt;/STRONG&gt; and &lt;STRONG&gt;bin&lt;/STRONG&gt; command use &lt;STRONG&gt;span=10m&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!!!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 14:17:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/range-function/m-p/675045#M27863</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2024-01-22T14:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: range() function</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/range-function/m-p/685644#M28128</link>
      <description>&lt;P&gt;from hackthebox academy it's one of their questions and the hint is to use the range() function&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 15:47:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/range-function/m-p/685644#M28128</guid>
      <dc:creator>OzRL5</dc:creator>
      <dc:date>2024-04-26T15:47:11Z</dc:date>
    </item>
  </channel>
</rss>

