<?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: After creating and setting a new index in inputs.conf on the universal forwarder, why do I see no search results on the search head? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/After-creating-and-setting-a-new-index-in-inputs-conf-on-the/m-p/170323#M34416</link>
    <description>&lt;P&gt;You also need to create the new index in &lt;CODE&gt;indexes.conf&lt;/CODE&gt; on all of your indexers:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.3/admin/Indexesconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.3/admin/Indexesconf&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jun 2015 13:31:21 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-06-23T13:31:21Z</dc:date>
    <item>
      <title>After creating and setting a new index in inputs.conf on the universal forwarder, why do I see no search results on the search head?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-creating-and-setting-a-new-index-in-inputs-conf-on-the/m-p/170322#M34415</link>
      <description>&lt;P&gt;I'm trying to create a new index called 'winevents_endpoint'. I've added this index to the Search Head, Indexer, and Heavy Forwarder (not sure if it's needed on all of them?). When I set an input in inputs.conf on the Universal Forwarder, I set the index to 'winevents_endpoint'.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog://Security]
disabled = 0 
index = winevents_endpoint
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, if I search 'index=winevents_endpoint' on my Search Head, nothing comes up. Does anyone know what could be the issue? I can see that when I changed the index from 'main' to 'winevents_endpoint', the Universal Forwarder stopped sending stuff (AKA the index of winevents_endpoint isn't making it through, but it took effect).&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:20:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-creating-and-setting-a-new-index-in-inputs-conf-on-the/m-p/170322#M34415</guid>
      <dc:creator>nce054</dc:creator>
      <dc:date>2020-09-28T20:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: After creating and setting a new index in inputs.conf on the universal forwarder, why do I see no search results on the search head?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-creating-and-setting-a-new-index-in-inputs-conf-on-the/m-p/170323#M34416</link>
      <description>&lt;P&gt;You also need to create the new index in &lt;CODE&gt;indexes.conf&lt;/CODE&gt; on all of your indexers:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.3/admin/Indexesconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.3/admin/Indexesconf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 13:31:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-creating-and-setting-a-new-index-in-inputs-conf-on-the/m-p/170323#M34416</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-23T13:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: After creating and setting a new index in inputs.conf on the universal forwarder, why do I see no search results on the search head?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-creating-and-setting-a-new-index-in-inputs-conf-on-the/m-p/170324#M34417</link>
      <description>&lt;P&gt;I see. I was under the impression that doing it through the Web interface was sufficient. There are paths that I have to designate, for coldPath, homePath, etc.&lt;BR /&gt;
    [main]&lt;BR /&gt;
    homePath   = $SPLUNK_DB\defaultdb\db&lt;BR /&gt;
    coldPath   = $SPLUNK_DB\defaultdb\colddb&lt;BR /&gt;
    thawedPath = $SPLUNK_DB\defaultdb\thaweddb&lt;/P&gt;

&lt;P&gt;Do I just declare them, like homePath = $SPLUNK_DB\winevents_endpointdb\db , and they create themselves? Or do I need to go deeper and create these?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:20:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-creating-and-setting-a-new-index-in-inputs-conf-on-the/m-p/170324#M34417</guid>
      <dc:creator>nce054</dc:creator>
      <dc:date>2020-09-28T20:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: After creating and setting a new index in inputs.conf on the universal forwarder, why do I see no search results on the search head?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-creating-and-setting-a-new-index-in-inputs-conf-on-the/m-p/170325#M34418</link>
      <description>&lt;P&gt;You need to prepare each of your indexers such that the amount of space that you are telling Splunk to use and where you are telling it to use it actually exists.  Then you need to deploy &lt;CODE&gt;indexes.conf&lt;/CODE&gt; to each indexers and restart each Splunk instance.  Then, yes, Splunk will create it's proprietary DB in that spot.  Also, you need to change &lt;CODE&gt;main&lt;/CODE&gt; in your stanza header to &lt;CODE&gt;winevents_endpoint&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 14:08:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-creating-and-setting-a-new-index-in-inputs-conf-on-the/m-p/170325#M34418</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-23T14:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: After creating and setting a new index in inputs.conf on the universal forwarder, why do I see no search results on the search head?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-creating-and-setting-a-new-index-in-inputs-conf-on-the/m-p/170326#M34419</link>
      <description>&lt;P&gt;Okay, I've now added the indexers.conf to each etc\system\local on my two Indexers, and added the correct stanza, where &lt;CODE&gt;main&lt;/CODE&gt; is now &lt;CODE&gt;winevents_endpoint&lt;/CODE&gt;. The only thing I do not understand is why I need to push inputs.conf to the Indexer; isn't that only configured on the Universal Forwarder? My inputs.conf on my Indexers looks like `[default]&lt;BR /&gt;
host = HOUMSMGTLOG301&lt;/P&gt;

&lt;P&gt;[script://$SPLUNK_HOME\bin\scripts\splunk-wmi.path]&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
`&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 14:17:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-creating-and-setting-a-new-index-in-inputs-conf-on-the/m-p/170326#M34419</guid>
      <dc:creator>nce054</dc:creator>
      <dc:date>2015-06-23T14:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: After creating and setting a new index in inputs.conf on the universal forwarder, why do I see no search results on the search head?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-creating-and-setting-a-new-index-in-inputs-conf-on-the/m-p/170327#M34420</link>
      <description>&lt;P&gt;I accidentally wrote &lt;CODE&gt;inputs.conf&lt;/CODE&gt; when I meant  &lt;CODE&gt;indexes.conf&lt;/CODE&gt; (I went back and changed it). You need to put &lt;CODE&gt;indexes.conf&lt;/CODE&gt; on your indexers and &lt;CODE&gt;inputs.conf&lt;/CODE&gt; on your forwarders.  The indexer has the physical DB that contains the events that are in each &lt;CODE&gt;index&lt;/CODE&gt;.  Think about it; you need a bunch of disk space &lt;EM&gt;somewhere&lt;/EM&gt;, right?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 14:31:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-creating-and-setting-a-new-index-in-inputs-conf-on-the/m-p/170327#M34420</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-23T14:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: After creating and setting a new index in inputs.conf on the universal forwarder, why do I see no search results on the search head?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-creating-and-setting-a-new-index-in-inputs-conf-on-the/m-p/170328#M34421</link>
      <description>&lt;P&gt;Right, the Indexers are where the DB's are that the Search Head looks into when it is performing a search. So I've configured &lt;CODE&gt;indexes.conf&lt;/CODE&gt; on &lt;EM&gt;both&lt;/EM&gt; of my Indexers. Now, when I have a stanza like &lt;CODE&gt;[WinEventLog://Security]&lt;BR /&gt;
disabled = 0 &lt;BR /&gt;
index = winevents_endpoint&lt;/CODE&gt; on my &lt;CODE&gt;inputs.conf&lt;/CODE&gt; on my Universal Forwarder, it should send it to the DB purposed for the index of &lt;CODE&gt;winevents_endpoint&lt;/CODE&gt;. However, on my Search Head, the &lt;CODE&gt;WinEventLog://Security&lt;/CODE&gt; events are still showing up with the index &lt;CODE&gt;main&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 14:36:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-creating-and-setting-a-new-index-in-inputs-conf-on-the/m-p/170328#M34421</guid>
      <dc:creator>nce054</dc:creator>
      <dc:date>2015-06-23T14:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: After creating and setting a new index in inputs.conf on the universal forwarder, why do I see no search results on the search head?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-creating-and-setting-a-new-index-in-inputs-conf-on-the/m-p/170329#M34422</link>
      <description>&lt;P&gt;It's also worth noting that I have these events going through a filter on my Heavy Forwarder. However, to my knowledge, this shouldn't be changing the index. It goes as follows:&lt;BR /&gt;
&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::WinEventLog...]
SHOULD_LINEMERGE = false
MAX_TIMESTAMP_LOOKAHEAD=30
LINE_BREAKER = ([\r\n](?=\d{2}/\d{2}/\d{2,4} \d{2}:\d{2}:\d{2} [aApPmM]{2}))
REPORT-MESSAGE = wel-message, wel-eq-kv, wel-col-kv
KV_MODE=none
TRANSFORMS-FIELDS = events-null, events-filter
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[events-filter]
REGEX=(?msi)^EventCode=(7|100)
DEST_KEY = queue
FORMAT = indexQueue

[events-null]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Jun 2015 14:46:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-creating-and-setting-a-new-index-in-inputs-conf-on-the/m-p/170329#M34422</guid>
      <dc:creator>nce054</dc:creator>
      <dc:date>2015-06-23T14:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: After creating and setting a new index in inputs.conf on the universal forwarder, why do I see no search results on the search head?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-creating-and-setting-a-new-index-in-inputs-conf-on-the/m-p/170330#M34423</link>
      <description>&lt;P&gt;Are you sure you are not looking at old events?  Changing &lt;CODE&gt;indexes.conf&lt;/CODE&gt; and &lt;CODE&gt;inputs.conf&lt;/CODE&gt; now will not change where the older events went; they will still be in &lt;CODE&gt;main&lt;/CODE&gt;.  What was the output when you restarted Splunk on one of your indexers (you did restart Splunk, right)?  If there was a problem with your configuration, it should have complained about it.  Also try this search on your search head:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=_internal err* OR warn* OR winevents_endpoint
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Jun 2015 15:35:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-creating-and-setting-a-new-index-in-inputs-conf-on-the/m-p/170330#M34423</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-23T15:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: After creating and setting a new index in inputs.conf on the universal forwarder, why do I see no search results on the search head?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-creating-and-setting-a-new-index-in-inputs-conf-on-the/m-p/170331#M34424</link>
      <description>&lt;P&gt;Yes, I am looking at new events that are still going to main. That search yielded some warnings for issues other than what I'm dealing with (other hosts that don't have the index I'm working on). There was no output when I restarted Splunk. I restarted the Search Head, Indexers, and Heavy Forwarder.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 15:38:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-creating-and-setting-a-new-index-in-inputs-conf-on-the/m-p/170331#M34424</guid>
      <dc:creator>nce054</dc:creator>
      <dc:date>2015-06-23T15:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: After creating and setting a new index in inputs.conf on the universal forwarder, why do I see no search results on the search head?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/After-creating-and-setting-a-new-index-in-inputs-conf-on-the/m-p/170332#M34425</link>
      <description>&lt;P&gt;Got it working!! I had forgotten to restart the Universal Forwarders. I thought that pushing the configuration files to them was sufficient. Thanks for your help, woodcock. Slowly but surely, you're getting all of my coins &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 16:05:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/After-creating-and-setting-a-new-index-in-inputs-conf-on-the/m-p/170332#M34425</guid>
      <dc:creator>nce054</dc:creator>
      <dc:date>2015-06-23T16:05:55Z</dc:date>
    </item>
  </channel>
</rss>

