<?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 split events from the same log into different indexes based on content? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-events-from-the-same-log-into-different-indexes/m-p/191746#M38181</link>
    <description>&lt;P&gt;The remaining events that do not match the regex &lt;CODE&gt;chuck&lt;/CODE&gt; will go into their configured index in inputs.conf (best practice) or into the configured default index of your Splunk (not best practice).&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
    <pubDate>Mon, 09 Dec 2019 19:16:03 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2019-12-09T19:16:03Z</dc:date>
    <item>
      <title>How to split events from the same log into different indexes based on content?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-events-from-the-same-log-into-different-indexes/m-p/191742#M38177</link>
      <description>&lt;P&gt;I have a log that contains different customer IDs. I want to be able to split different events from the same log into different Splunk indexes depending on the customer ID.&lt;/P&gt;

&lt;P&gt;The customer IDs are fairly static. Hence right now I'm thinking of placing customer IDs in a lookup and using this to route events. Is this possible?&lt;/P&gt;

&lt;P&gt;Can anyone give any advice on how they have (or would) approach and execute something like this. &lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2015 14:41:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-split-events-from-the-same-log-into-different-indexes/m-p/191742#M38177</guid>
      <dc:creator>himynamesdave</dc:creator>
      <dc:date>2015-01-12T14:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to split events from the same log into different indexes based on content?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-events-from-the-same-log-into-different-indexes/m-p/191743#M38178</link>
      <description>&lt;P&gt;Hi himynamesdave,&lt;/P&gt;

&lt;P&gt;Use props.conf and transforms.conf for this..&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; #props.conf
 [source]
 TRANSFORMS-routing_for_norris_index = route_to_norris_index

 #transforms.conf
 [route_to_norris_index]
 DEST_KEY = _MetaData:Index
 REGEX = chuck
 FORMAT = norris
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will route all events containing &lt;CODE&gt;chuck&lt;/CODE&gt; into the &lt;CODE&gt;norris&lt;/CODE&gt; index.&lt;/P&gt;

&lt;P&gt;Cheers, MuS&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2015 14:56:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-split-events-from-the-same-log-into-different-indexes/m-p/191743#M38178</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-01-12T14:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to split events from the same log into different indexes based on content?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-events-from-the-same-log-into-different-indexes/m-p/191744#M38179</link>
      <description>&lt;P&gt;Do this on the Splunk server which is doing event parsing eq a heavy forwarder or indexer &lt;A href="http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings"&gt;http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2015 14:58:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-split-events-from-the-same-log-into-different-indexes/m-p/191744#M38179</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-01-12T14:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to split events from the same log into different indexes based on content?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-events-from-the-same-log-into-different-indexes/m-p/191745#M38180</link>
      <description>&lt;P&gt;what about remaining event in which index they will go?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 15:35:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-split-events-from-the-same-log-into-different-indexes/m-p/191745#M38180</guid>
      <dc:creator>vinayakwagh</dc:creator>
      <dc:date>2019-12-09T15:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to split events from the same log into different indexes based on content?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-split-events-from-the-same-log-into-different-indexes/m-p/191746#M38181</link>
      <description>&lt;P&gt;The remaining events that do not match the regex &lt;CODE&gt;chuck&lt;/CODE&gt; will go into their configured index in inputs.conf (best practice) or into the configured default index of your Splunk (not best practice).&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 19:16:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-split-events-from-the-same-log-into-different-indexes/m-p/191746#M38181</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2019-12-09T19:16:03Z</dc:date>
    </item>
  </channel>
</rss>

