<?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: Create a new sourcetype on the fly in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Create-a-new-sourcetype-on-the-fly/m-p/30128#M5241</link>
    <description>&lt;P&gt;can I create a new index then which has the results of this search ?&lt;/P&gt;</description>
    <pubDate>Thu, 19 Apr 2012 16:28:11 GMT</pubDate>
    <dc:creator>asarolkar</dc:creator>
    <dc:date>2012-04-19T16:28:11Z</dc:date>
    <item>
      <title>Create a new sourcetype on the fly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-a-new-sourcetype-on-the-fly/m-p/30126#M5239</link>
      <description>&lt;P&gt;I have a &lt;EM&gt;subsearch&lt;/EM&gt; like this:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;sourcetype="syslog" SERIAL=* | eval SERIAL_NUM=SERIAL | lookup FileLookup SERIAL_NUM &lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;I want to take this and turn it into a new sourcetype.&lt;/P&gt;

&lt;P&gt;Any ideas how to go about it ?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:41:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-a-new-sourcetype-on-the-fly/m-p/30126#M5239</guid>
      <dc:creator>asarolkar</dc:creator>
      <dc:date>2020-09-28T11:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new sourcetype on the fly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-a-new-sourcetype-on-the-fly/m-p/30127#M5240</link>
      <description>&lt;P&gt;sourcetype for a log event is set at index-time, and as such you cannot change it afterwards.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2012 07:37:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-a-new-sourcetype-on-the-fly/m-p/30127#M5240</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-04-19T07:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new sourcetype on the fly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-a-new-sourcetype-on-the-fly/m-p/30128#M5241</link>
      <description>&lt;P&gt;can I create a new index then which has the results of this search ?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2012 16:28:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-a-new-sourcetype-on-the-fly/m-p/30128#M5241</guid>
      <dc:creator>asarolkar</dc:creator>
      <dc:date>2012-04-19T16:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new sourcetype on the fly</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-a-new-sourcetype-on-the-fly/m-p/30129#M5242</link>
      <description>&lt;P&gt;Not CREATE it on the fly, but you can certainly write the results of a search to another index. Check out the docs on summary indexing: &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.1/Knowledge/Usesummaryindexing"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.1/Knowledge/Usesummaryindexing&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You'll likely want to make use of the collect command: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/searchreference/collect"&gt;http://docs.splunk.com/Documentation/Splunk/latest/searchreference/collect&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Apr 2012 07:09:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-a-new-sourcetype-on-the-fly/m-p/30129#M5242</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-04-21T07:09:14Z</dc:date>
    </item>
  </channel>
</rss>

