<?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: Can't write data to _internal index in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Can-t-write-data-to-internal-index/m-p/20218#M208</link>
    <description>&lt;P&gt;Thank you for the response!  I apologize for the delay in my reply.&lt;/P&gt;

&lt;P&gt;I checked $SPLUNK_HOME/etc/system/default/inputs.conf as you suggested and it has the same setting you posted in your updated comment.  I did a search for other inputs.conf files on the server, but none of them defined a different index.&lt;/P&gt;

&lt;P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
[default]&lt;BR /&gt;
index         = default&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;[monitor://$SPLUNK_HOME\var\log\splunk]&lt;BR /&gt;
index = _internal&lt;BR /&gt;
&lt;/P&gt;

&lt;P&gt;Any other suggestions by any chance?&lt;/P&gt;</description>
    <pubDate>Tue, 06 Nov 2012 20:59:40 GMT</pubDate>
    <dc:creator>broth1</dc:creator>
    <dc:date>2012-11-06T20:59:40Z</dc:date>
    <item>
      <title>Can't write data to _internal index</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Can-t-write-data-to-internal-index/m-p/20215#M205</link>
      <description>&lt;P&gt;Recently, I have been handed the Splunk instance we have in our company.  We are running Splunk 4.2.2.  There's one indexer/search head, and about 75 forwarders.&lt;/P&gt;

&lt;P&gt;As I've been learning about Splunk and checking out the various apps and configurations we currently use, I noticed that when I clicked any of the Forwarders in the Deployment Monitor App for statics, no data appeared.  After looking at the code I found that the app was trying to pull the data from the _internal index.&lt;/P&gt;

&lt;P&gt;I checked the Indexes in Manager on our indexer/search head, and found that the _internal index had been disabled.  I enabled the _internal index, and restarted Splunk for good measure.  When data still wasn't being written to the _internal index, I searched this site and found the post below:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/53848/why-is-no-data-being-written-to-the-_internal-index-for-my-search-head" target="_blank"&gt;http://splunk-base.splunk.com/answers/53848/why-is-no-data-being-written-to-the-_internal-index-for-my-search-head&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;This is why you cannot find any _internal events recorded by your search-head anywhere. To correct this, add the following configuration to $SPLUNK_HOME/etc/system/local/inputs.conf:&lt;/EM&gt;&lt;BR /&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
[tcpout]&lt;BR /&gt;
forwardedindex.3.whitelist = _internal&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;I have added that as specified, restarted Splunk, and still no data is being written to _internal.&lt;/P&gt;

&lt;P&gt;I also added the following to inputs.conf in the same folder:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;
[monitor://$SPLUNK_HOME/var/log/splunk]
disabled = 0
index = _internal
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, no data gets written to _internal.  If I remove the index part, the logs are scanned and indexed, but they are placed in the "main" index.&lt;/P&gt;

&lt;P&gt;Here's the full inputs.conf from $SPLUNK_HOME/etc/system/local/outputs.conf:&lt;BR /&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
[script://$SPLUNK_HOME\bin\scripts\splunk-admon.path]&lt;BR /&gt;
disabled = 0&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;[script://$SPLUNK_HOME\bin\scripts\splunk-perfmon.path]&lt;BR /&gt;
disabled = 0&lt;/P&gt;

&lt;P&gt;[script://$SPLUNK_HOME\bin\scripts\splunk-regmon.path]&lt;BR /&gt;
disabled = 0&lt;/P&gt;

&lt;P&gt;[script://$SPLUNK_HOME\bin\scripts\splunk-wmi.path]&lt;BR /&gt;
disabled = 0&lt;/P&gt;

&lt;P&gt;[monitor://$SPLUNK_HOME/var/log/splunk]&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
&lt;/P&gt;

&lt;P&gt;And outputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;
[tcpout]
defaultGroup = 
disabled = false
forwardedindex.3.whitelist = _internal
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Again, I am new to Splunk, so there may be other configurations I should be checking, so any help would be greatly appreciated.  If you need additional information, please let me know.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:43:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Can-t-write-data-to-internal-index/m-p/20215#M205</guid>
      <dc:creator>broth1</dc:creator>
      <dc:date>2020-09-28T12:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can't write data to _internal index</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Can-t-write-data-to-internal-index/m-p/20216#M206</link>
      <description>&lt;P&gt;I recently got this working on my heavy forwarders by creating &lt;CODE&gt;$SPLUNK_HOME/etc/system/local/outputs.conf&lt;/CODE&gt; and adding the following lines:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
forwardedindex.filter.disable = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can read more in the outputs.conf &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Admin/Outputsconf"&gt;documentation&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;UPDATE&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;If data is placed in &lt;EM&gt;main&lt;/EM&gt; rather than _&lt;EM&gt;internal&lt;/EM&gt;, the inputs.conf definitions must have either been changed or duplicated, with either no index, or the main index specified (because &lt;EM&gt;main&lt;/EM&gt; is the fallback). Double check &lt;CODE&gt;$SPLUNK_HOME/etc/system/default/inputs.conf&lt;/CODE&gt; -- it should look like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://$SPLUNK_HOME/var/log/splunk]
index = _internal
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you're on Linux, find all input stanzas for &lt;CODE&gt;$SPLUNK_HOME/var/log/splunk&lt;/CODE&gt; with:&lt;/P&gt;

&lt;P&gt;sudo find /opt/splunk/etc -name 'inputs.conf' -exec grep -H "/var/log/splunk" {} \;&lt;/P&gt;

&lt;P&gt;Do this on the indexer and forwarders and examine the files to ensure that &lt;CODE&gt;index = _internal&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2012 05:02:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Can-t-write-data-to-internal-index/m-p/20216#M206</guid>
      <dc:creator>gcoles</dc:creator>
      <dc:date>2012-11-02T05:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can't write data to _internal index</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Can-t-write-data-to-internal-index/m-p/20217#M207</link>
      <description>&lt;P&gt;Thanks for the suggestion, but that did not work.&lt;/P&gt;

&lt;P&gt;I am trying to index the Splunk log files on my main Splunk Indexer/Search head server, and even when I add the line you mentioned to $SPLUNK_HOME/etc/system/local/outputs.conf, the data is still being placed into the "main" index instead of "_internal."&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:44:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Can-t-write-data-to-internal-index/m-p/20217#M207</guid>
      <dc:creator>broth1</dc:creator>
      <dc:date>2020-09-28T12:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can't write data to _internal index</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Can-t-write-data-to-internal-index/m-p/20218#M208</link>
      <description>&lt;P&gt;Thank you for the response!  I apologize for the delay in my reply.&lt;/P&gt;

&lt;P&gt;I checked $SPLUNK_HOME/etc/system/default/inputs.conf as you suggested and it has the same setting you posted in your updated comment.  I did a search for other inputs.conf files on the server, but none of them defined a different index.&lt;/P&gt;

&lt;P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
[default]&lt;BR /&gt;
index         = default&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;[monitor://$SPLUNK_HOME\var\log\splunk]&lt;BR /&gt;
index = _internal&lt;BR /&gt;
&lt;/P&gt;

&lt;P&gt;Any other suggestions by any chance?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2012 20:59:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Can-t-write-data-to-internal-index/m-p/20218#M208</guid>
      <dc:creator>broth1</dc:creator>
      <dc:date>2012-11-06T20:59:40Z</dc:date>
    </item>
  </channel>
</rss>

