<?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: incremental value in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/incremental-value/m-p/459470#M168050</link>
    <description>&lt;P&gt;its not sum.&lt;BR /&gt;
we need to have a sequence of no if value are same we need to mark it as 1 . if current sequence changes to other set of no. we need to increase the value by 1&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jul 2018 10:19:21 GMT</pubDate>
    <dc:creator>DataOrg</dc:creator>
    <dc:date>2018-07-30T10:19:21Z</dc:date>
    <item>
      <title>incremental value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/incremental-value/m-p/459468#M168048</link>
      <description>&lt;P&gt;I have sequence no of to populate . first column is the sequence of no and answers need to like in the second column&lt;/P&gt;

&lt;P&gt;for Example&lt;BR /&gt;
value  value to populate&lt;BR /&gt;
10         1&lt;BR /&gt;
10          1&lt;BR /&gt;
10         1&lt;BR /&gt;
15         2&lt;BR /&gt;
15         2&lt;BR /&gt;
10        3&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 09:56:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/incremental-value/m-p/459468#M168048</guid>
      <dc:creator>DataOrg</dc:creator>
      <dc:date>2018-07-30T09:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: incremental value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/incremental-value/m-p/459469#M168049</link>
      <description>&lt;P&gt;If increment is added for every NO ...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(your search)| streamstats sum(value)  by no
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 30 Jul 2018 10:07:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/incremental-value/m-p/459469#M168049</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2018-07-30T10:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: incremental value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/incremental-value/m-p/459470#M168050</link>
      <description>&lt;P&gt;its not sum.&lt;BR /&gt;
we need to have a sequence of no if value are same we need to mark it as 1 . if current sequence changes to other set of no. we need to increase the value by 1&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 10:19:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/incremental-value/m-p/459470#M168050</guid>
      <dc:creator>DataOrg</dc:creator>
      <dc:date>2018-07-30T10:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: incremental value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/incremental-value/m-p/459471#M168051</link>
      <description>&lt;P&gt;How's this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; (your search)
|autoregress p=1 no as no_old
|eval change=if(no=no_old,0,1)
| streamstats sum(change) as inc_value
|table no inc_value
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 30 Jul 2018 13:41:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/incremental-value/m-p/459471#M168051</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2018-07-30T13:41:28Z</dc:date>
    </item>
  </channel>
</rss>

