<?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: Custom index for forwarded data in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Custom-index-for-forwarded-data/m-p/411967#M118796</link>
    <description>&lt;P&gt;Hello David,&lt;/P&gt;

&lt;P&gt;Correct, and I did just as you suggest, and it even works!!&lt;/P&gt;

&lt;P&gt;Thanks Again,&lt;/P&gt;

&lt;P&gt;Eholz1&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jun 2019 16:32:02 GMT</pubDate>
    <dc:creator>eholz1</dc:creator>
    <dc:date>2019-06-11T16:32:02Z</dc:date>
    <item>
      <title>Custom index for forwarded data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Custom-index-for-forwarded-data/m-p/411962#M118791</link>
      <description>&lt;P&gt;Hello all,&lt;BR /&gt;
I have a working universal forwarder that happily sends data to my Enterprise indexer.&lt;BR /&gt;
The data shows up under the forwarder's hostname on the indexer. &lt;BR /&gt;
I would like to have a custom index for the data that comes from the Universal forwarder (my_fwd_server.net)&lt;BR /&gt;
I can search the data by entering the hostname in the search field:  &lt;CODE&gt;host="my_fwd_server.net&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I would like to be able to create a search string like: &lt;CODE&gt;host="my_fwd_server.net" index="fwd_index"&lt;/CODE&gt;, etc.&lt;BR /&gt;
Is this possible or is this unnecessary for the data coming from the forwarder since I know the hostname?&lt;/P&gt;

&lt;P&gt;Thanks for outstanding product,&lt;/P&gt;

&lt;P&gt;eholz1&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:50:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Custom-index-for-forwarded-data/m-p/411962#M118791</guid>
      <dc:creator>eholz1</dc:creator>
      <dc:date>2020-09-30T00:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom index for forwarded data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Custom-index-for-forwarded-data/m-p/411963#M118792</link>
      <description>&lt;P&gt;You want to create a new index for each forwarder server OR just a new index which will hold data from all forwarders? Which index your data is going to right now?&lt;/P&gt;

&lt;P&gt;Read this to understand why people generally create multiple indexes.  If it's just for having a separate search for each forwarder, then I don't think you need a new index for each forwarder. The field &lt;CODE&gt;host&lt;/CODE&gt; is a metadata and can uniquely identify data coming from that host (or data that has host field set your forwarder's name)&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.0/Indexer/Setupmultipleindexes#Why_have_multiple_indexes.3F"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.0/Indexer/Setupmultipleindexes#Why_have_multiple_indexes.3F&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 20:39:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Custom-index-for-forwarded-data/m-p/411963#M118792</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2019-06-10T20:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Custom index for forwarded data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Custom-index-for-forwarded-data/m-p/411964#M118793</link>
      <description>&lt;P&gt;Hello somesoni2,&lt;BR /&gt;
Thank you for the reply - much appreciated.&lt;/P&gt;

&lt;P&gt;I have only one forwarder. currently the data is going into the "main" index. I just thought that it would be a&lt;BR /&gt;
good idea or practice to put the data from the forwarder in a different index.&lt;/P&gt;

&lt;P&gt;As always, I am open to suggestions&lt;/P&gt;

&lt;P&gt;eholz&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 15:35:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Custom-index-for-forwarded-data/m-p/411964#M118793</guid>
      <dc:creator>eholz1</dc:creator>
      <dc:date>2019-06-11T15:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Custom index for forwarded data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Custom-index-for-forwarded-data/m-p/411965#M118794</link>
      <description>&lt;P&gt;Hello Again,&lt;BR /&gt;
just modified the inputs.conf file on the forwarder to see if it will use the &lt;BR /&gt;
custom index I created on the indexer.&lt;BR /&gt;
thanks&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 15:46:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Custom-index-for-forwarded-data/m-p/411965#M118794</guid>
      <dc:creator>eholz1</dc:creator>
      <dc:date>2019-06-11T15:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Custom index for forwarded data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Custom-index-for-forwarded-data/m-p/411966#M118795</link>
      <description>&lt;P&gt;Hi @eholz,&lt;/P&gt;

&lt;P&gt;Yes by all means split your data into multiple indexes. Also, make sure you have a different &lt;CODE&gt;sourcetype&lt;/CODE&gt; for the various types of data you're sending.&lt;/P&gt;

&lt;P&gt;You want to keep your data well separated for better scalability, easier access control management and performance. If you mix everything up into one &lt;CODE&gt;index&lt;/CODE&gt; then you will just end up slowing down all your searches because Splunk would have to read everything to find the relevant information you're looking for in your queries. &lt;/P&gt;

&lt;P&gt;Before defining a new target index on your forwarder in &lt;CODE&gt;inputs.conf&lt;/CODE&gt;, make sure you create it first on your indexer as follows :&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Indexer/Setupmultipleindexes#Create_events_indexes_2"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Indexer/Setupmultipleindexes#Create_events_indexes_2&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Let me know if you need more help.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
David&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 16:21:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Custom-index-for-forwarded-data/m-p/411966#M118795</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-06-11T16:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Custom index for forwarded data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Custom-index-for-forwarded-data/m-p/411967#M118796</link>
      <description>&lt;P&gt;Hello David,&lt;/P&gt;

&lt;P&gt;Correct, and I did just as you suggest, and it even works!!&lt;/P&gt;

&lt;P&gt;Thanks Again,&lt;/P&gt;

&lt;P&gt;Eholz1&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 16:32:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Custom-index-for-forwarded-data/m-p/411967#M118796</guid>
      <dc:creator>eholz1</dc:creator>
      <dc:date>2019-06-11T16:32:02Z</dc:date>
    </item>
  </channel>
</rss>

