<?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: configured sources for index in inputs.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/configured-sources-for-index-in-inputs-conf/m-p/316671#M59213</link>
    <description>&lt;P&gt;If you want to get an overview of which inputs are configured to go to which index, I guess you could get that using the btool command:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Troubleshooting/Usebtooltotroubleshootconfigurations"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Troubleshooting/Usebtooltotroubleshootconfigurations&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;For example: &lt;CODE&gt;./splunk cmd btool inputs list&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Mar 2018 13:08:46 GMT</pubDate>
    <dc:creator>FrankVl</dc:creator>
    <dc:date>2018-03-01T13:08:46Z</dc:date>
    <item>
      <title>configured sources for index in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/configured-sources-for-index-in-inputs-conf/m-p/316669#M59211</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I would like to get all the source files configured(in inputs.conf) to particular index. Whether the source is reporting to the index or not, I want to see the values index wise.&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 07:28:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/configured-sources-for-index-in-inputs-conf/m-p/316669#M59211</guid>
      <dc:creator>charyjpmc</dc:creator>
      <dc:date>2018-03-01T07:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: configured sources for index in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/configured-sources-for-index-in-inputs-conf/m-p/316670#M59212</link>
      <description>&lt;P&gt;Hi charyjpmc,&lt;BR /&gt;
I'm not sure to understand your need: do you want to send all the inputs in one index?&lt;/P&gt;

&lt;P&gt;To do this you have to insert in every room of your inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=my_index
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If instead you don't want to insert this option in every room of inputs.conf, you can configure your Indexers to override index value.&lt;BR /&gt;
To do this, you have to insert in every Indexers or heavy forwarder:&lt;BR /&gt;
 in your props.conf &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [mysourcetype]
 TRANSFORMS-index = overrideindex
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;in your transforms.conf &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [overrideindex]
 DEST_KEY =_MetaData:Index
 REGEX = .
 FORMAT = my_new_index
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In this way, every event with sourcetype=mysourcetype will be sent to my_new_index.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:17:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/configured-sources-for-index-in-inputs-conf/m-p/316670#M59212</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-29T18:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: configured sources for index in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/configured-sources-for-index-in-inputs-conf/m-p/316671#M59213</link>
      <description>&lt;P&gt;If you want to get an overview of which inputs are configured to go to which index, I guess you could get that using the btool command:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Troubleshooting/Usebtooltotroubleshootconfigurations"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Troubleshooting/Usebtooltotroubleshootconfigurations&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;For example: &lt;CODE&gt;./splunk cmd btool inputs list&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 13:08:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/configured-sources-for-index-in-inputs-conf/m-p/316671#M59213</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-03-01T13:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: configured sources for index in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/configured-sources-for-index-in-inputs-conf/m-p/316672#M59214</link>
      <description>&lt;P&gt;Hey charyjpmc,&lt;/P&gt;

&lt;P&gt;You can run the following query:&lt;BR /&gt;
| metadata type=sources index=yourindex&lt;/P&gt;

&lt;P&gt;Hope this helps!!!&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 10:08:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/configured-sources-for-index-in-inputs-conf/m-p/316672#M59214</guid>
      <dc:creator>deepashri_123</dc:creator>
      <dc:date>2018-03-05T10:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: configured sources for index in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/configured-sources-for-index-in-inputs-conf/m-p/316673#M59215</link>
      <description>&lt;P&gt;Thanks for reply ..&lt;/P&gt;

&lt;P&gt;This query will help me to all the sources but if we have any rolling logs then it bring all those too..&lt;BR /&gt;
I want only configured logs in inputs.conf file.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 08:38:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/configured-sources-for-index-in-inputs-conf/m-p/316673#M59215</guid>
      <dc:creator>charyjpmc</dc:creator>
      <dc:date>2018-03-16T08:38:48Z</dc:date>
    </item>
  </channel>
</rss>

