<?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: Why are manual edits to props.conf not taking effect in Splunk Light? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-manual-edits-to-props-conf-not-taking-effect-in-Splunk/m-p/224368#M43929</link>
    <description>&lt;P&gt;I think you need to check the permissions on disk of the file and make sure the user running splunk can read the file.&lt;/P&gt;

&lt;P&gt;Btool is the answer to 2 and your props looks fine.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jan 2016 12:04:10 GMT</pubDate>
    <dc:creator>esix_splunk</dc:creator>
    <dc:date>2016-01-15T12:04:10Z</dc:date>
    <item>
      <title>Why are manual edits to props.conf not taking effect in Splunk Light?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-manual-edits-to-props-conf-not-taking-effect-in-Splunk/m-p/224364#M43925</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;

&lt;P&gt;I am new to splunk and I am having troubles in getting my changes to props.conf (from &lt;CODE&gt;.../Splunk/etc/apps/search/local&lt;/CODE&gt;) to take effect in Splunk. I changed the values to my source type, but they stay like they were before.&lt;/P&gt;

&lt;P&gt;I originally created that source type as a step while "adding data" in Splunk, via the "Set Source Type" fields, then I saved the created source type via "save as" under a name in category "Custom".&lt;/P&gt;

&lt;P&gt;Then I found my created source type in the props.conf in  &lt;CODE&gt;.../Splunk/etc/apps/search/local&lt;/CODE&gt; and tried to manually edit it via text editor. After that, I restarted Splunk and wanted to add new data using my new (manually edited) source type, but unfortunately, the changes I manually edited did not take effect.&lt;/P&gt;

&lt;P&gt;Any ideas please? Thank you in advance guys!&lt;/P&gt;

&lt;P&gt;Please note:&lt;BR /&gt;
 - I am using Splunk Light&lt;BR /&gt;
 - I did restart Splunk (log out from Splunk Web session and then restart and login)&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 09:31:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-manual-edits-to-props-conf-not-taking-effect-in-Splunk/m-p/224364#M43925</guid>
      <dc:creator>SKless</dc:creator>
      <dc:date>2016-01-13T09:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why are manual edits to props.conf not taking effect in Splunk Light?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-manual-edits-to-props-conf-not-taking-effect-in-Splunk/m-p/224365#M43926</link>
      <description>&lt;P&gt;You would need to restart Splunk service (not logout and log in in SPlunk web). In windows you can use Run-&amp;gt;services.msc  and restart splunkd service OR you can use CLI to do that&lt;/P&gt;

&lt;P&gt;WIndows:&lt;BR /&gt;
YourSplunkDirecorty\bin\splunk.exe restart&lt;/P&gt;

&lt;P&gt;Linux&lt;BR /&gt;
YourSplunkDirectory/bin/splunk restart&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 18:24:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-manual-edits-to-props-conf-not-taking-effect-in-Splunk/m-p/224365#M43926</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-01-13T18:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why are manual edits to props.conf not taking effect in Splunk Light?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-manual-edits-to-props-conf-not-taking-effect-in-Splunk/m-p/224366#M43927</link>
      <description>&lt;P&gt;I would suggest using the btool to examine the configuration.&lt;/P&gt;

&lt;P&gt;./splunk btool props list --debug&lt;/P&gt;

&lt;P&gt;This will allow you to see if the configuration changes you are making based on file precedence would take affect. &lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 18:33:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-manual-edits-to-props-conf-not-taking-effect-in-Splunk/m-p/224366#M43927</guid>
      <dc:creator>dgrubb_splunk</dc:creator>
      <dc:date>2016-01-13T18:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Why are manual edits to props.conf not taking effect in Splunk Light?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-manual-edits-to-props-conf-not-taking-effect-in-Splunk/m-p/224367#M43928</link>
      <description>&lt;P&gt;Thank you for your answer! I was able to restart Splunk the way you described via CMD in Windows (as Admin).&lt;/P&gt;

&lt;P&gt;However checking via splunk btool check --debug returned the message that it cannot open file to check in &lt;CODE&gt;.../Splunk/etc/apps/search/local/props.conf&lt;/CODE&gt;. So it does not use my props.conf and most likely there is some inconsistency in props.conf. But I &lt;STRONG&gt;cannot get clues on why&lt;/STRONG&gt; my props.conf seems to be inconsistent. Strange thing, it even returns this when using the (not manually edited) props.conf that I created by using the "Set Source Type" step in Splunk Web. So at least that should work fine, since I created it within Splunk Web. Any ideas?&lt;/P&gt;

&lt;P&gt;Maybe it also helps to describe what I am trying to do:&lt;BR /&gt;
 - trying to read out XML, working fine so far, but I want to rename the fields in Splunk using aliases&lt;BR /&gt;
 - my &lt;CODE&gt;props.conf&lt;/CODE&gt; looks like this:&lt;BR /&gt;
 *[D2_XML_Test]&lt;BR /&gt;
CHARSET = UTF-8&lt;BR /&gt;
DATETIME_CONFIG = &lt;BR /&gt;
KV_MODE = xml&lt;BR /&gt;
LINE_BREAKER = &lt;BR /&gt;
NO_BINARY_CHECK = true&lt;BR /&gt;
category = Custom&lt;BR /&gt;
disabled = false&lt;BR /&gt;
pulldown_type = true&lt;BR /&gt;
BREAK_ONLY_BEFORE = &lt;BR /&gt;
TIME_PREFIX = &lt;BR /&gt;
FIELDALIAS-D2aliases = recordPayload.recordPayload.telephonyRecord.telephonyServiceUsage.nationalTelephonyServiceUsage.countryCode as ctry&lt;BR /&gt;
*&lt;/P&gt;

&lt;P&gt;So, in conclusion my question is 3-fold:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Why does it say that it is unable to open my props.conf when I run btool?&lt;/LI&gt;
&lt;LI&gt;How exactly can I trace inconsistencies with my props.conf? How can I test whether changes to my props.conf work ok?&lt;/LI&gt;
&lt;LI&gt;Do you guys see anything wrong with my aliases in my props.conf?&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:23:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-manual-edits-to-props-conf-not-taking-effect-in-Splunk/m-p/224367#M43928</guid>
      <dc:creator>SKless</dc:creator>
      <dc:date>2020-09-29T08:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why are manual edits to props.conf not taking effect in Splunk Light?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-manual-edits-to-props-conf-not-taking-effect-in-Splunk/m-p/224368#M43929</link>
      <description>&lt;P&gt;I think you need to check the permissions on disk of the file and make sure the user running splunk can read the file.&lt;/P&gt;

&lt;P&gt;Btool is the answer to 2 and your props looks fine.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 12:04:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-manual-edits-to-props-conf-not-taking-effect-in-Splunk/m-p/224368#M43929</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2016-01-15T12:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Why are manual edits to props.conf not taking effect in Splunk Light?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-manual-edits-to-props-conf-not-taking-effect-in-Splunk/m-p/224369#M43930</link>
      <description>&lt;P&gt;Ok, thank you all VERY much for your help guys! &lt;/P&gt;

&lt;P&gt;I think I found the reason. I seem to have tried to open and manually edit the props.conf WHILE it was being used by the Splunk software. I believe it somehow caused an error and from then onwards my defined source type was internally flagged as corrupt. I could not even get it to work after reloading Splunk. I completely deleted my props.conf and made a new one. Seems to work fine so far. From now on, I will make sure not to open it while it is being processed by Splunk.&lt;/P&gt;

&lt;P&gt;At least that is how I think it caused problems for me. I will report back if I still encounter problems. Regards to all and thanks for helping! Great Splunk community obviously.&lt;/P&gt;

&lt;P&gt;-SKless&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 14:09:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-manual-edits-to-props-conf-not-taking-effect-in-Splunk/m-p/224369#M43930</guid>
      <dc:creator>SKless</dc:creator>
      <dc:date>2016-01-15T14:09:08Z</dc:date>
    </item>
  </channel>
</rss>

