<?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: Reload database.conf without restarting Splunk. in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Reload-database-conf-without-restarting-Splunk/m-p/155983#M7818</link>
    <description>&lt;P&gt;If some like this:&lt;/P&gt;

&lt;P&gt;http(s)://SPLUNKHOST:8000/debug/refresh&lt;/P&gt;

&lt;P&gt;Doesn't work, the only way is restarting.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Dec 2014 19:37:32 GMT</pubDate>
    <dc:creator>changux</dc:creator>
    <dc:date>2014-12-10T19:37:32Z</dc:date>
    <item>
      <title>Reload database.conf without restarting Splunk.</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Reload-database-conf-without-restarting-Splunk/m-p/155982#M7817</link>
      <description>&lt;P&gt;We're monitoring a lot of databases and we have to change passwords frequently.&lt;BR /&gt;
We have a password manager that changes an account's DB password and then calls a python script with the account name and the new password. Our python script uses a DBX python script to encrypt the password and then our script replaces the old encrypted password with the new one but Splunk does not see the change until we restart Splunk. &lt;/P&gt;

&lt;P&gt;I know that I can reload input.conf by running &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk _internal call /services/data/inputs/monitor/_reload -auth admin:$ADMINPWD
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but this doesn't seem to reload "/opt/splunk/etc/apps/dbx/local/database.conf"&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Is there a command that will reload database.conf?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2014 17:06:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Reload-database-conf-without-restarting-Splunk/m-p/155982#M7817</guid>
      <dc:creator>dfronck</dc:creator>
      <dc:date>2014-12-10T17:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Reload database.conf without restarting Splunk.</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Reload-database-conf-without-restarting-Splunk/m-p/155983#M7818</link>
      <description>&lt;P&gt;If some like this:&lt;/P&gt;

&lt;P&gt;http(s)://SPLUNKHOST:8000/debug/refresh&lt;/P&gt;

&lt;P&gt;Doesn't work, the only way is restarting.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2014 19:37:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Reload-database-conf-without-restarting-Splunk/m-p/155983#M7818</guid>
      <dc:creator>changux</dc:creator>
      <dc:date>2014-12-10T19:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reload database.conf without restarting Splunk.</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Reload-database-conf-without-restarting-Splunk/m-p/155984#M7819</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;splunk _internal call /services/apps/local/dbx/_reload -auth admin:$ADMINPWD
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Restarts the DBX app. Restarting the app also encrypts plaintext passwords in database.conf so we're updating our script to just replace the old encrypted password with the new plaintext password. Much simpler.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Dec 2014 01:20:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Reload-database-conf-without-restarting-Splunk/m-p/155984#M7819</guid>
      <dc:creator>dfronck</dc:creator>
      <dc:date>2014-12-11T01:20:21Z</dc:date>
    </item>
  </channel>
</rss>

