<?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: Same Column Value Difference in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Same-Column-Value-Difference/m-p/406669#M117510</link>
    <description>&lt;P&gt;@vnravikumar  can we make a generic solution ?&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jul 2019 14:39:00 GMT</pubDate>
    <dc:creator>reverse</dc:creator>
    <dc:date>2019-07-25T14:39:00Z</dc:date>
    <item>
      <title>Same Column Value Difference</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Same-Column-Value-Difference/m-p/406663#M117504</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;C1 C2
A 12
A 120
B 45
B 78
C 98
C 90
D 0
D 86
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;how to find difference in values  of C2  for every same C1 value&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 14:16:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Same-Column-Value-Difference/m-p/406663#M117504</guid>
      <dc:creator>reverse</dc:creator>
      <dc:date>2019-07-25T14:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Same Column Value Difference</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Same-Column-Value-Difference/m-p/406664#M117505</link>
      <description>&lt;P&gt;@Vijeta Please guide.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 14:16:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Same-Column-Value-Difference/m-p/406664#M117505</guid>
      <dc:creator>reverse</dc:creator>
      <dc:date>2019-07-25T14:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Same Column Value Difference</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Same-Column-Value-Difference/m-p/406665#M117506</link>
      <description>&lt;P&gt;Example, please&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 14:19:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Same-Column-Value-Difference/m-p/406665#M117506</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-07-25T14:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Same Column Value Difference</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Same-Column-Value-Difference/m-p/406666#M117507</link>
      <description>&lt;P&gt;It is there .. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;C1 C2
A 12
A 120
B 45
B 78
C 98
C 90
D 0
D 86
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Jul 2019 14:21:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Same-Column-Value-Difference/m-p/406666#M117507</guid>
      <dc:creator>reverse</dc:creator>
      <dc:date>2019-07-25T14:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Same Column Value Difference</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Same-Column-Value-Difference/m-p/406667#M117508</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="diff.csv" host="ind1" sourcetype="csv" 
| table C1 C2 
| sort C1 
| stats values(C2) as C2 by C1 
| eval num1 = mvindex(C2,0) 
| eval num2 = mvindex(C2,1) 
| eval diff = num2-num1 
| table C1,C2,diff
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Jul 2019 14:31:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Same-Column-Value-Difference/m-p/406667#M117508</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-07-25T14:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Same Column Value Difference</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Same-Column-Value-Difference/m-p/406668#M117509</link>
      <description>&lt;P&gt;It worked!!!&lt;/P&gt;

&lt;P&gt;Thank you !!!.. but what if there are multiple As Bs Cs and  Ds&lt;BR /&gt;
As of now this solution is perfect for 2 same values.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 14:37:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Same-Column-Value-Difference/m-p/406668#M117509</guid>
      <dc:creator>reverse</dc:creator>
      <dc:date>2019-07-25T14:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Same Column Value Difference</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Same-Column-Value-Difference/m-p/406669#M117510</link>
      <description>&lt;P&gt;@vnravikumar  can we make a generic solution ?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 14:39:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Same-Column-Value-Difference/m-p/406669#M117510</guid>
      <dc:creator>reverse</dc:creator>
      <dc:date>2019-07-25T14:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Same Column Value Difference</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Same-Column-Value-Difference/m-p/406670#M117511</link>
      <description>&lt;P&gt;@Vijeta @jnudell_2 You around folks ?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 15:01:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Same-Column-Value-Difference/m-p/406670#M117511</guid>
      <dc:creator>reverse</dc:creator>
      <dc:date>2019-07-25T15:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Same Column Value Difference</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Same-Column-Value-Difference/m-p/406671#M117512</link>
      <description>&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/760695/generic-solution-to-same-column-value-difference.html?minQuestionBodyLength=80"&gt;https://answers.splunk.com/answers/760695/generic-solution-to-same-column-value-difference.html?minQuestionBodyLength=80&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 16:42:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Same-Column-Value-Difference/m-p/406671#M117512</guid>
      <dc:creator>reverse</dc:creator>
      <dc:date>2019-07-25T16:42:06Z</dc:date>
    </item>
  </channel>
</rss>

