<?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: copy sourcetype and regex from one index to other index in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/copy-sourcetype-and-regex-from-one-index-to-other-index/m-p/168153#M47927</link>
    <description>&lt;P&gt;Regex (field extraction) as coupled with sourcetype itself, so you don't need anything to be done there. Sourcetype and index are not directly related and their relationship is defined via inputs. While configuring inputs, you specify data from the input should go to which index and follow properties of which sourcetype. So if you want data for one sourcetype to be stored in indexB instead on indexA, you need to change your input to index data in indexB-sourcetype instead of (current) indexA-sourcetype.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Dec 2013 17:22:50 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2013-12-05T17:22:50Z</dc:date>
    <item>
      <title>copy sourcetype and regex from one index to other index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/copy-sourcetype-and-regex-from-one-index-to-other-index/m-p/168151#M47925</link>
      <description>&lt;P&gt;how i can copy sourcetype and regex from one index to other index?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2013 16:05:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/copy-sourcetype-and-regex-from-one-index-to-other-index/m-p/168151#M47925</guid>
      <dc:creator>felipesewaybric</dc:creator>
      <dc:date>2013-12-05T16:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: copy sourcetype and regex from one index to other index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/copy-sourcetype-and-regex-from-one-index-to-other-index/m-p/168152#M47926</link>
      <description>&lt;P&gt;You don't. sourcetype is set at the Inputs level. Regex is set for Search time. It doesn't matter which index the data is residing in, as long as the sourcetypes are the same. &lt;/P&gt;

&lt;P&gt;You will want to review this: &lt;CODE&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Prerequisitesforknowledgemanagement" target="test_blank"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Prerequisitesforknowledgemanagement&lt;/A&gt;&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2013 16:19:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/copy-sourcetype-and-regex-from-one-index-to-other-index/m-p/168152#M47926</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2013-12-05T16:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: copy sourcetype and regex from one index to other index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/copy-sourcetype-and-regex-from-one-index-to-other-index/m-p/168153#M47927</link>
      <description>&lt;P&gt;Regex (field extraction) as coupled with sourcetype itself, so you don't need anything to be done there. Sourcetype and index are not directly related and their relationship is defined via inputs. While configuring inputs, you specify data from the input should go to which index and follow properties of which sourcetype. So if you want data for one sourcetype to be stored in indexB instead on indexA, you need to change your input to index data in indexB-sourcetype instead of (current) indexA-sourcetype.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2013 17:22:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/copy-sourcetype-and-regex-from-one-index-to-other-index/m-p/168153#M47927</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2013-12-05T17:22:50Z</dc:date>
    </item>
  </channel>
</rss>

