<?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: How to combine multiple events from two indexes in Splunk in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-events-from-two-indexes-in-Splunk/m-p/656226#M226657</link>
    <description>&lt;P&gt;But we have some events of job in indexA and some events of job in indexB ,suppose if we want to create a table all events of same job,how can we do that&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2023 09:57:43 GMT</pubDate>
    <dc:creator>welcome</dc:creator>
    <dc:date>2023-08-31T09:57:43Z</dc:date>
    <item>
      <title>How to combine multiple events from two indexes in Splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-events-from-two-indexes-in-Splunk/m-p/655468#M226422</link>
      <description>&lt;P&gt;1st query:&amp;nbsp; index="A" event_tag="event1" build_number=1 job_name=job1 type=completed&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2nd query:&amp;nbsp; index="B" event_tag="event2" build_number=1 job_name=job1&lt;/P&gt;&lt;P&gt;We have some events in indexA and some events in indexB ,how to combine these using common fileds are build_number and job_name.&lt;/P&gt;&lt;P&gt;What will the query&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 11:29:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-events-from-two-indexes-in-Splunk/m-p/655468#M226422</guid>
      <dc:creator>welcome</dc:creator>
      <dc:date>2023-08-24T11:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine multiple events from two indexes in Splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-events-from-two-indexes-in-Splunk/m-p/655472#M226425</link>
      <description>&lt;P&gt;There are a few ways to combine searches, but the preferred way uses the general form:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(&amp;lt;&amp;lt;query 1&amp;gt;&amp;gt;) OR (&amp;lt;&amp;lt;query 2&amp;gt;&amp;gt;)
| stats values(*) as * by &amp;lt;&amp;lt;common fields&amp;gt;&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 24 Aug 2023 12:21:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-events-from-two-indexes-in-Splunk/m-p/655472#M226425</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-08-24T12:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine multiple events from two indexes in Splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-events-from-two-indexes-in-Splunk/m-p/655503#M226437</link>
      <description>&lt;P&gt;It is showing statistical information but not merging ,I want events from indexA and indexB together as single event .What will be the query and how can I know merging was happened .&lt;BR /&gt;I don't want table or statistics format&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 14:30:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-events-from-two-indexes-in-Splunk/m-p/655503#M226437</guid>
      <dc:creator>welcome</dc:creator>
      <dc:date>2023-08-24T14:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine multiple events from two indexes in Splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-events-from-two-indexes-in-Splunk/m-p/655560#M226457</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;join&lt;/FONT&gt; command should produce the format you seek, but you'll be unhappy with the performance.&amp;nbsp; That's why the previous method I suggested is preferred.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;&amp;lt;query 1&amp;gt;&amp;gt;
| join &amp;lt;&amp;lt;common fields&amp;gt;&amp;gt; [ &amp;lt;&amp;lt;query 2&amp;gt;&amp;gt; ]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 00:19:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-events-from-two-indexes-in-Splunk/m-p/655560#M226457</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-08-25T00:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine multiple events from two indexes in Splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-events-from-two-indexes-in-Splunk/m-p/655577#M226467</link>
      <description>&lt;P&gt;Join command is ok ,but how can know these two index events are combined,how can I see the combined data.Please give the proper answer&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 04:07:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-events-from-two-indexes-in-Splunk/m-p/655577#M226467</guid>
      <dc:creator>welcome</dc:creator>
      <dc:date>2023-08-25T04:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine multiple events from two indexes in Splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-events-from-two-indexes-in-Splunk/m-p/655654#M226485</link>
      <description>&lt;P&gt;The indexed events are not combined.&amp;nbsp; Indexed data is never changed so the events will forever remain separated.&amp;nbsp; All we can do is correlate data from the indexes and display it in an appropriate format.&amp;nbsp; You can, however, write the correlated data to a summary index using the &lt;FONT face="courier new,courier"&gt;collect&lt;/FONT&gt; command then fetch the events in the summary index to see a combined event.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 13:23:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-events-from-two-indexes-in-Splunk/m-p/655654#M226485</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-08-25T13:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine multiple events from two indexes in Splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-events-from-two-indexes-in-Splunk/m-p/656226#M226657</link>
      <description>&lt;P&gt;But we have some events of job in indexA and some events of job in indexB ,suppose if we want to create a table all events of same job,how can we do that&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 09:57:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-events-from-two-indexes-in-Splunk/m-p/656226#M226657</guid>
      <dc:creator>welcome</dc:creator>
      <dc:date>2023-08-31T09:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine multiple events from two indexes in Splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-events-from-two-indexes-in-Splunk/m-p/656253#M226667</link>
      <description>&lt;P&gt;My first answer said how to create a table with events of the same job from both indexes, but then you said you don't want a table.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 12:00:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-events-from-two-indexes-in-Splunk/m-p/656253#M226667</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-08-31T12:00:32Z</dc:date>
    </item>
  </channel>
</rss>

