<?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: Edit props.conf programatically in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-props-conf-programatically/m-p/44632#M2192</link>
    <description>&lt;P&gt;Hi Chris,&lt;/P&gt;

&lt;P&gt;I do a field update on MYSQL database. At this time, I need to update the conf file present in deployment-apps from java program. Using some kind of REST API. Then fschange of splunk takes these changes from deployment-apps and deploy to apps of respective nodes.&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Strive&lt;/P&gt;</description>
    <pubDate>Tue, 27 Nov 2012 16:24:29 GMT</pubDate>
    <dc:creator>strive</dc:creator>
    <dc:date>2012-11-27T16:24:29Z</dc:date>
    <item>
      <title>Edit props.conf programatically</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-props-conf-programatically/m-p/44628#M2188</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;We are using splunk 4.3.4. Is it possible to programmatically edit props.conf under deployment-apps directory. &lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Strive&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2012 10:56:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-props-conf-programatically/m-p/44628#M2188</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2012-11-26T10:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Edit props.conf programatically</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-props-conf-programatically/m-p/44629#M2189</link>
      <description>&lt;P&gt;Please explain what you mean by "programmatically edit".&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2012 13:30:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-props-conf-programatically/m-p/44629#M2189</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2012-11-26T13:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Edit props.conf programatically</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-props-conf-programatically/m-p/44630#M2190</link>
      <description>&lt;P&gt;Hi Strive,&lt;/P&gt;

&lt;P&gt;Since the .conf files are all text files, any "sed" type of program would work along with the staple scripting languages like PERL, Python, Ruby, etc.  You can create a copy of the .conf file, make your changes based on what you put in the script, then push the changes to where ever you have your deployment server looking for new .conf files and bingo, done.  Is this what you mean by "programmatically" edit?&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2012 13:59:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-props-conf-programatically/m-p/44630#M2190</guid>
      <dc:creator>sd23c109</dc:creator>
      <dc:date>2012-11-26T13:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Edit props.conf programatically</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-props-conf-programatically/m-p/44631#M2191</link>
      <description>&lt;P&gt;Hi jKat,&lt;/P&gt;

&lt;P&gt;I do a field update on MYSQL database. At this time, I need to update the conf file present in deployment-apps from java program. Using some kind of REST API. &lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Strive&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2012 16:19:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-props-conf-programatically/m-p/44631#M2191</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2012-11-27T16:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Edit props.conf programatically</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-props-conf-programatically/m-p/44632#M2192</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;

&lt;P&gt;I do a field update on MYSQL database. At this time, I need to update the conf file present in deployment-apps from java program. Using some kind of REST API. Then fschange of splunk takes these changes from deployment-apps and deploy to apps of respective nodes.&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Strive&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2012 16:24:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-props-conf-programatically/m-p/44632#M2192</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2012-11-27T16:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Edit props.conf programatically</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-props-conf-programatically/m-p/44633#M2193</link>
      <description>&lt;P&gt;Hi Strive,&lt;/P&gt;

&lt;P&gt;What is the MYSQL DB for?  What "java" program are you referring to?  I am not sure you need a REST API to update the conf file, but I would like to understand more about this REST API.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Chris Schaft&lt;BR /&gt;
MKAdvantage&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2012 16:40:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-props-conf-programatically/m-p/44633#M2193</guid>
      <dc:creator>sd23c109</dc:creator>
      <dc:date>2012-11-27T16:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Edit props.conf programatically</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-props-conf-programatically/m-p/44634#M2194</link>
      <description>&lt;P&gt;There is a RESTful API for Splunk, and you can use it to update configuration files. What I don't know is whether you can use the API to update configuration files in the deployment-apps hierarchy, as it would tend to write to the active apps instead.&lt;/P&gt;

&lt;P&gt;More information about the REST API can be found here:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESTlist"&gt;http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESTlist&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2012 16:44:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-props-conf-programatically/m-p/44634#M2194</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2012-11-27T16:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Edit props.conf programatically</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-props-conf-programatically/m-p/44635#M2195</link>
      <description>&lt;P&gt;As far as I know you cannot access the apps in the deployment-apps directory through the REST API.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2012 20:52:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Edit-props-conf-programatically/m-p/44635#M2195</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-11-27T20:52:34Z</dc:date>
    </item>
  </channel>
</rss>

