<?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: General question on concatenation or joining two indexes for data in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/General-question-on-concatenation-or-joining-two-indexes-for/m-p/292164#M163783</link>
    <description>&lt;P&gt;can you give an example of data from each PaloAlto and InfoBlox with sensitive information scrubbed? I'm interested to know exactly what fields are in each index, so that I can better assist you. It sounds like you are trying to return the sourceaddress and sourcemacaddress, but if you could give an example of the desired output as well as sample data, it would be much more helpful.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jan 2018 14:12:29 GMT</pubDate>
    <dc:creator>cmerriman</dc:creator>
    <dc:date>2018-01-10T14:12:29Z</dc:date>
    <item>
      <title>General question on concatenation or joining two indexes for data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/General-question-on-concatenation-or-joining-two-indexes-for/m-p/292162#M163781</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I read a few searches on this topic but I wasn't able to get this to work for me.&lt;/P&gt;

&lt;P&gt;I have two datasources, one PaloAlto and the other Infoblox. The PaloAlto source has the events that I am attempting to match up by sourceaddress to mac (sometimes hostname) not present in Palo Alto.&lt;/P&gt;

&lt;P&gt;So I tried using index=PaloAlto or index=Infoblox and then comparing sourceaddress, destinationaddress, destinationhostname but that didn't work to return mac address to them as mac address is only in InfoBlox and the destinationaddress will not match since the destination will be that of the Infoblox gateway. Seems the only correlating factor is the destination address but what I really want to return is the source addresses and mac addresses from Infobox that are accessing the same destinationip in PaloAlto.&lt;/P&gt;

&lt;P&gt;Does this make sense? &lt;/P&gt;

&lt;P&gt;So I tried something like&lt;/P&gt;

&lt;P&gt;index= "PaloAlto" OR index = "Infoblox" | FIELDS resourcegroupname, sourceaddress, sourcemacaddress, destinationaddress, destinationhostname | destinationhostname = "yts.ag" OR destinationhostname = "zooqle.com"&lt;/P&gt;

&lt;P&gt;This did not produce the desired result at all&lt;/P&gt;

&lt;P&gt;So in this scenario - PaloAlto has the violation events, but InfoBlox has the mac address that the IP lease was assigned to and I need to return all events from the Infoblox datasource that have those destinations but maybe use eval (I think) to compare to the other index? &lt;/P&gt;

&lt;P&gt;Thoughts here on syntax?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 20:00:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/General-question-on-concatenation-or-joining-two-indexes-for/m-p/292162#M163781</guid>
      <dc:creator>brian1_tate</dc:creator>
      <dc:date>2018-01-09T20:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: General question on concatenation or joining two indexes for data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/General-question-on-concatenation-or-joining-two-indexes-for/m-p/292163#M163782</link>
      <description>&lt;P&gt;See the syntax and requirement for join command here.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Join"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Join&lt;/A&gt;&lt;BR /&gt;
You need to have field with same name in both the searches&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 13:24:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/General-question-on-concatenation-or-joining-two-indexes-for/m-p/292163#M163782</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-10T13:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: General question on concatenation or joining two indexes for data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/General-question-on-concatenation-or-joining-two-indexes-for/m-p/292164#M163783</link>
      <description>&lt;P&gt;can you give an example of data from each PaloAlto and InfoBlox with sensitive information scrubbed? I'm interested to know exactly what fields are in each index, so that I can better assist you. It sounds like you are trying to return the sourceaddress and sourcemacaddress, but if you could give an example of the desired output as well as sample data, it would be much more helpful.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 14:12:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/General-question-on-concatenation-or-joining-two-indexes-for/m-p/292164#M163783</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2018-01-10T14:12:29Z</dc:date>
    </item>
  </channel>
</rss>

