<?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 troubleshoot why props.conf settings did not take effect and an index was not automatically created? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-props-conf-settings-did-not-take-effect/m-p/243313#M47148</link>
    <description>&lt;P&gt;Definately run &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk cmd btool props list --debug&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This will show you what settings are being applied from which file. You can run the command with indexes as well to see what applies for indexes.conf. &lt;/P&gt;

&lt;P&gt;What is the path of the props.conf and indexes.conf that you think are correct? &lt;/P&gt;</description>
    <pubDate>Mon, 23 Nov 2015 16:37:05 GMT</pubDate>
    <dc:creator>jplumsdaine22</dc:creator>
    <dc:date>2015-11-23T16:37:05Z</dc:date>
    <item>
      <title>How to troubleshoot why props.conf settings did not take effect and an index was not automatically created?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-props-conf-settings-did-not-take-effect/m-p/243308#M47143</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;

&lt;P&gt;I dont want to wake  up any zombies, hence I create new thread here.&lt;/P&gt;

&lt;P&gt;I have props.conf file works on my local as follow, however it didnt works on other environment (i.e. SIT).&lt;/P&gt;

&lt;P&gt;Additional info:&lt;BR /&gt;
 1. Single server machine&lt;BR /&gt;
 2. OS: UNIX&lt;BR /&gt;
 3. Index was not created automatically too&lt;/P&gt;

&lt;P&gt;Sample props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[my_sourcetype_sample]
INDEXED_EXTRACTIONS=csv
TRUNCATE = 20000
TIMESTAMP_FIELDS = "Time"
CHARSET = latin1
FIELDALIAS-alias_order_sample =  "Product" As product "Time" As time_submitted "Error State" As error_state "Order ID" As order_id "Order state" As order_state "Processed Systems" as processed_systems
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Sample inputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;monitor://$SPLUNK_HOME/etc/apps/my-sample-app/samples/sample-order-data.csv]
index = my_index_sample
sourcetype = my_sourcetype_sample
disabled = 0
initCrcLength=1024
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Sample of indexes.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[my_index_sample]
coldPath = $SPLUNK_DB/my_index_sample/colddb
homePath = $SPLUNK_DB/my_index_sample/db
thawedPath = $SPLUNK_DB/my_index_sample/thaweddb
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Sample of data:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Time,Product,Error State,Order ID,Order state,Processed Systems
6/24/2015 8:29,Mobile,No Error,893501,Succeeded,CRM
6/24/2015 8:29,Mobile,No Error,893502,Succeeded,CRM
6/24/2015 8:29,Mobile,No Error,893503,Succeeded,CRM
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any advice where I missed out?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2015 10:21:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-props-conf-settings-did-not-take-effect/m-p/243308#M47143</guid>
      <dc:creator>imanpoeiri</dc:creator>
      <dc:date>2015-11-23T10:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why props.conf settings did not take effect and an index was not automatically created?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-props-conf-settings-did-not-take-effect/m-p/243309#M47144</link>
      <description>&lt;P&gt;Can you please give some more details regarding your Splunk Environment? Are you using a single machine or a distributed environment? Where did you do the changes?&lt;/P&gt;

&lt;P&gt;The index will only be created, if you modify the indexes.conf on the indexer servers (or the master in a distributed env, and push the packages). Where have you defined inputs and props?&lt;/P&gt;

&lt;P&gt;With some more details we will sure be able to help!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2015 10:47:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-props-conf-settings-did-not-take-effect/m-p/243309#M47144</guid>
      <dc:creator>DMohn</dc:creator>
      <dc:date>2015-11-23T10:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why props.conf settings did not take effect and an index was not automatically created?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-props-conf-settings-did-not-take-effect/m-p/243310#M47145</link>
      <description>&lt;P&gt;Hi DMohn,&lt;/P&gt;

&lt;P&gt;Sorry for the incomplete of details. Thanks for the input, here you go:&lt;/P&gt;

&lt;P&gt;Additional info:&lt;BR /&gt;
1. Single server machine&lt;BR /&gt;
2. OS: UNIX&lt;BR /&gt;
3. Index was not created automatically too&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2015 11:44:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-props-conf-settings-did-not-take-effect/m-p/243310#M47145</guid>
      <dc:creator>imanpoeiri</dc:creator>
      <dc:date>2015-11-23T11:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why props.conf settings did not take effect and an index was not automatically created?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-props-conf-settings-did-not-take-effect/m-p/243311#M47146</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;When you say the props.conf didn't load, what problem are you seeing? EG&lt;BR /&gt;
No data at all?&lt;BR /&gt;
Incorrect timestamps?&lt;BR /&gt;
Incorrect field extractions?&lt;BR /&gt;
Splunk won't start due to syntax errors?&lt;BR /&gt;
Missing index?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2015 12:07:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-props-conf-settings-did-not-take-effect/m-p/243311#M47146</guid>
      <dc:creator>jplumsdaine22</dc:creator>
      <dc:date>2015-11-23T12:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why props.conf settings did not take effect and an index was not automatically created?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-props-conf-settings-did-not-take-effect/m-p/243312#M47147</link>
      <description>&lt;P&gt;Hi @jplumsdaine22,&lt;/P&gt;

&lt;P&gt;Thanks to point that out, here you go what I have done:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Index was not created automatically after first bounce - indicates that indexes.conf not working&lt;/LI&gt;
&lt;LI&gt;I create index manually via splunk web to check whether data problem or not&lt;/LI&gt;
&lt;LI&gt;Index was created and I can see data from csv file indexed properly&lt;/LI&gt;
&lt;LI&gt;I notice that field-alias not working - indicates that props.conf not working too&lt;/LI&gt;
&lt;LI&gt;Checked here and there but still not working&lt;/LI&gt;
&lt;LI&gt;Those file config working fine on my local&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Mon, 23 Nov 2015 15:53:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-props-conf-settings-did-not-take-effect/m-p/243312#M47147</guid>
      <dc:creator>imanpoeiri</dc:creator>
      <dc:date>2015-11-23T15:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why props.conf settings did not take effect and an index was not automatically created?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-props-conf-settings-did-not-take-effect/m-p/243313#M47148</link>
      <description>&lt;P&gt;Definately run &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk cmd btool props list --debug&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This will show you what settings are being applied from which file. You can run the command with indexes as well to see what applies for indexes.conf. &lt;/P&gt;

&lt;P&gt;What is the path of the props.conf and indexes.conf that you think are correct? &lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2015 16:37:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-props-conf-settings-did-not-take-effect/m-p/243313#M47148</guid>
      <dc:creator>jplumsdaine22</dc:creator>
      <dc:date>2015-11-23T16:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why props.conf settings did not take effect and an index was not automatically created?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-props-conf-settings-did-not-take-effect/m-p/243314#M47149</link>
      <description>&lt;P&gt;Hi @jplumsdaine22,&lt;/P&gt;

&lt;P&gt;You are right, I run it on my local and I managed to find my application configuration in there. But it is not happen on SIT environment where the config files that was read is few only:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/etc/system/default/props.conf
/opt/splunk/etc/apps/splunk_management_console/default
/opt/splunk/etc/apps/learned/local/props.conf
/opt/splunk/etc/apps/mobile_access/default/props.conf
/opt/splunk/etc/apps/search/default/props.conf
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 Nov 2015 07:20:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-props-conf-settings-did-not-take-effect/m-p/243314#M47149</guid>
      <dc:creator>imanpoeiri</dc:creator>
      <dc:date>2015-11-24T07:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why props.conf settings did not take effect and an index was not automatically created?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-props-conf-settings-did-not-take-effect/m-p/243315#M47150</link>
      <description>&lt;P&gt;Try adding your indexes, props and inputs .confs to  &lt;CODE&gt;/opt/splunk/etc/system/local&lt;/CODE&gt; and then restart splunk. Run btool again to check that they're being picked up. Not sure where you have them at the moment. &lt;/P&gt;

&lt;P&gt;If you have conflicting stanza names in other config files, they are processed in the following order - that could be your issue&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;OL&gt;
&lt;LI&gt;System local directory -- highest priority&lt;/LI&gt;
&lt;LI&gt;App local directories &lt;/LI&gt;
&lt;LI&gt;App default directories &lt;/LI&gt;
&lt;LI&gt;System default directory -- lowest priority&lt;/LI&gt;
&lt;/OL&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;See &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.1/Admin/Wheretofindtheconfigurationfiles"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.1/Admin/Wheretofindtheconfigurationfiles&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2015 09:47:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-props-conf-settings-did-not-take-effect/m-p/243315#M47150</guid>
      <dc:creator>jplumsdaine22</dc:creator>
      <dc:date>2015-11-24T09:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why props.conf settings did not take effect and an index was not automatically created?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-props-conf-settings-did-not-take-effect/m-p/243316#M47151</link>
      <description>&lt;P&gt;Hey @jplumsdaine22,&lt;/P&gt;

&lt;P&gt;Copy all from folder called default and paste it into folder called local and works like magic!&lt;/P&gt;

&lt;P&gt;Thanks &amp;amp; appreciate that!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2015 03:42:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-props-conf-settings-did-not-take-effect/m-p/243316#M47151</guid>
      <dc:creator>imanpoeiri</dc:creator>
      <dc:date>2015-11-25T03:42:59Z</dc:date>
    </item>
  </channel>
</rss>

