<?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: Correlate value between 2 columns in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Correlate-value-between-2-columns/m-p/475351#M192557</link>
    <description>&lt;P&gt;Hi @mfirmanf,&lt;BR /&gt;
could you share an example of your logs?&lt;BR /&gt;
it's difficoult to help you whitout them.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Mon, 13 Apr 2020 07:06:55 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2020-04-13T07:06:55Z</dc:date>
    <item>
      <title>Correlate value between 2 columns</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Correlate-value-between-2-columns/m-p/475350#M192556</link>
      <description>&lt;P&gt;hi, i am a newbie in Splunk here and i am not a native speaker, so please bare my grammar.&lt;BR /&gt;
can someone explain how to correlate between two columns that is present in a table and remove the other values?&lt;/P&gt;

&lt;P&gt;for example table below, &lt;BR /&gt;
i want to correlate between the Number and Router, because &lt;STRONG&gt;one Number only belongs to one Router&lt;/STRONG&gt;.&lt;BR /&gt;
and the first digit of the Number is correlated to the R(1-7)&lt;BR /&gt;
for example: &lt;BR /&gt;
- Number 21938 belongs to SWW- &lt;STRONG&gt;R2&lt;/STRONG&gt; -896&lt;BR /&gt;
- Number 12439 belongs to HIT- &lt;STRONG&gt;R1&lt;/STRONG&gt; -141&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8693iD03607D730A35668/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;and i need to remove the other value that is not correlated, so there is only one Number, one IP Address and one Router in each row. so the proper table would look like below.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8694iE95E7EBEACD1A491/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;any answer and help would be really appreciated.&lt;BR /&gt;
thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2020 02:03:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Correlate-value-between-2-columns/m-p/475350#M192556</guid>
      <dc:creator>mfirmanf</dc:creator>
      <dc:date>2020-04-13T02:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Correlate value between 2 columns</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Correlate-value-between-2-columns/m-p/475351#M192557</link>
      <description>&lt;P&gt;Hi @mfirmanf,&lt;BR /&gt;
could you share an example of your logs?&lt;BR /&gt;
it's difficoult to help you whitout them.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2020 07:06:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Correlate-value-between-2-columns/m-p/475351#M192557</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-04-13T07:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Correlate value between 2 columns</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Correlate-value-between-2-columns/m-p/475352#M192558</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;....
|eval head_num=substr(NUMBER,1,1), head_r=substr(ROUTER,6,1)
| where head_num==head_r
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Apr 2020 09:17:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Correlate-value-between-2-columns/m-p/475352#M192558</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-13T09:17:44Z</dc:date>
    </item>
  </channel>
</rss>

