<?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 do you append data from a different source in the same Index? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-append-data-from-a-different-source-in-the-same-Index/m-p/459639#M93943</link>
    <description>&lt;P&gt;If above solution resolved your problem, can you please accept the answer?&lt;/P&gt;</description>
    <pubDate>Wed, 07 Nov 2018 07:05:36 GMT</pubDate>
    <dc:creator>Akumar294</dc:creator>
    <dc:date>2018-11-07T07:05:36Z</dc:date>
    <item>
      <title>How do you append data from a different source in the same Index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-append-data-from-a-different-source-in-the-same-Index/m-p/459637#M93941</link>
      <description>&lt;P&gt;I have one Index that has two different sources.  One source has current data and another has historical data. Both have the same fields. I want to append data current in historical data incase there are any changes in current data by user that should be reflected in historical data. I want one side current data in column, &amp;amp; on the other side, there would be historical data in another column.&lt;/P&gt;

&lt;P&gt;Trying below command&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="historical" PERIOD="Q1" YEAR="2012" | Table PERIOD, YEAR | append [index=prod source="current"  PERIOD="Q2" YEAR="2012" | Table PERIOD, YEAR]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Nov 2018 03:50:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-append-data-from-a-different-source-in-the-same-Index/m-p/459637#M93941</guid>
      <dc:creator>maheshsat</dc:creator>
      <dc:date>2018-11-06T03:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do you append data from a different source in the same Index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-append-data-from-a-different-source-in-the-same-Index/m-p/459638#M93942</link>
      <description>&lt;P&gt;Please try like below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="your index" source="historical" PERIOD="Q1" YEAR="2012" 
|table PERIOD, YEAR 
|join [search index=prod source="current" PERIOD="Q2" YEAR="2012" 
|table PERIOD, YEAR]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Nov 2018 10:14:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-append-data-from-a-different-source-in-the-same-Index/m-p/459638#M93942</guid>
      <dc:creator>Akumar294</dc:creator>
      <dc:date>2018-11-06T10:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do you append data from a different source in the same Index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-append-data-from-a-different-source-in-the-same-Index/m-p/459639#M93943</link>
      <description>&lt;P&gt;If above solution resolved your problem, can you please accept the answer?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2018 07:05:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-append-data-from-a-different-source-in-the-same-Index/m-p/459639#M93943</guid>
      <dc:creator>Akumar294</dc:creator>
      <dc:date>2018-11-07T07:05:36Z</dc:date>
    </item>
  </channel>
</rss>

