<?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 same field name exists in two indexes but with different values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/same-field-name-exists-in-two-indexes-but-with-different-values/m-p/553283#M157073</link>
    <description>&lt;P&gt;Hola splunker.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i performed a search using two indexes, but these tow indexes have different fields that uses the same field name, for example:&lt;/P&gt;&lt;P&gt;EmailServer: has the filed name&amp;nbsp;message_subject&lt;/P&gt;&lt;P&gt;EmailProxy: has the filed name&amp;nbsp;message_subject&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to search using the&amp;nbsp;&amp;nbsp;message_subject from the&amp;nbsp;EmailServer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=EmailServer OR index=EmailProxy NOT (src_ip=10.0.0.0/8 OR src_ip=192.168.0.0/16 OR src_ip=172.16.0.0/12 ) | table src_ip sender&lt;STRONG&gt; EmailServer.message_subject&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks ^_^^&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 27 May 2021 09:21:35 GMT</pubDate>
    <dc:creator>moayadalghamdi</dc:creator>
    <dc:date>2021-05-27T09:21:35Z</dc:date>
    <item>
      <title>same field name exists in two indexes but with different values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/same-field-name-exists-in-two-indexes-but-with-different-values/m-p/553283#M157073</link>
      <description>&lt;P&gt;Hola splunker.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i performed a search using two indexes, but these tow indexes have different fields that uses the same field name, for example:&lt;/P&gt;&lt;P&gt;EmailServer: has the filed name&amp;nbsp;message_subject&lt;/P&gt;&lt;P&gt;EmailProxy: has the filed name&amp;nbsp;message_subject&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to search using the&amp;nbsp;&amp;nbsp;message_subject from the&amp;nbsp;EmailServer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=EmailServer OR index=EmailProxy NOT (src_ip=10.0.0.0/8 OR src_ip=192.168.0.0/16 OR src_ip=172.16.0.0/12 ) | table src_ip sender&lt;STRONG&gt; EmailServer.message_subject&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks ^_^^&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 09:21:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/same-field-name-exists-in-two-indexes-but-with-different-values/m-p/553283#M157073</guid>
      <dc:creator>moayadalghamdi</dc:creator>
      <dc:date>2021-05-27T09:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: same field name exists in two indexes but with different values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/same-field-name-exists-in-two-indexes-but-with-different-values/m-p/553286#M157076</link>
      <description>&lt;LI-CODE lang="markup"&gt;index=EmailServer OR index=EmailProxy NOT (src_ip=10.0.0.0/8 OR src_ip=192.168.0.0/16 OR src_ip=172.16.0.0/12 ) 
| eval "EmailServer.message_subject"=if(index="EmailServer",message_subject,null)
| table src_ip sender EmailServer.message_subject&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 27 May 2021 09:26:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/same-field-name-exists-in-two-indexes-but-with-different-values/m-p/553286#M157076</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-05-27T09:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: same field name exists in two indexes but with different values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/same-field-name-exists-in-two-indexes-but-with-different-values/m-p/553288#M157077</link>
      <description>&lt;P&gt;Thanks for the answer Whisperer ^_^&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the result i got:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moayadalghamdi_0-1622108074099.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14334iB2120E3B7A0AB04B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moayadalghamdi_0-1622108074099.png" alt="moayadalghamdi_0-1622108074099.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;i forgot to tell you something, the src_ip field only exists at the EmailProxy, so the field sender is mutual,&lt;/P&gt;&lt;P&gt;so i want the stats to have:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EmailProxy.src_ip /// EmailServer.sender /// EmailServer.message_subject.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks^_^&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 09:37:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/same-field-name-exists-in-two-indexes-but-with-different-values/m-p/553288#M157077</guid>
      <dc:creator>moayadalghamdi</dc:creator>
      <dc:date>2021-05-27T09:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: same field name exists in two indexes but with different values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/same-field-name-exists-in-two-indexes-but-with-different-values/m-p/553290#M157078</link>
      <description>&lt;LI-CODE lang="markup"&gt;index=EmailServer OR index=EmailProxy NOT (src_ip=10.0.0.0/8 OR src_ip=192.168.0.0/16 OR src_ip=172.16.0.0/12 ) 
| eventstats values(src_ip) as "EmailProxy.src_ip" by sender
| eval "EmailServer.message_subject"=if(index="EmailServer",message_subject,null)
| table EmailProxy.src_ip sender EmailServer.message_subject&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 27 May 2021 09:50:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/same-field-name-exists-in-two-indexes-but-with-different-values/m-p/553290#M157078</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-05-27T09:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: same field name exists in two indexes but with different values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/same-field-name-exists-in-two-indexes-but-with-different-values/m-p/553295#M157080</link>
      <description>&lt;P&gt;w'ere getting close !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;unfortunately the src_ip field is null:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moayadalghamdi_0-1622109360103.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14335i15EC31EB975AC340/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moayadalghamdi_0-1622109360103.png" alt="moayadalghamdi_0-1622109360103.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also the are empty records/Almost empty records:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moayadalghamdi_1-1622109411926.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14336i3BAE02EB728E34A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moayadalghamdi_1-1622109411926.png" alt="moayadalghamdi_1-1622109411926.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks so much for your time, i really appreciate it, please help with this one&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;^_^&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 09:57:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/same-field-name-exists-in-two-indexes-but-with-different-values/m-p/553295#M157080</guid>
      <dc:creator>moayadalghamdi</dc:creator>
      <dc:date>2021-05-27T09:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: same field name exists in two indexes but with different values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/same-field-name-exists-in-two-indexes-but-with-different-values/m-p/553297#M157081</link>
      <description>&lt;P&gt;Can you clarify that the proxy will have events for user and src_ip and the server will have events for the user and subject, i.e. the exact same value for user exists in both sets of events? If not, how are you trying to correlate events from the two indexes?&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 10:10:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/same-field-name-exists-in-two-indexes-but-with-different-values/m-p/553297#M157081</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-05-27T10:10:49Z</dc:date>
    </item>
  </channel>
</rss>

