<?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: Need help with Splunk REST command, Get property value from configuration file in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-Splunk-REST-command-Get-property-value-from/m-p/159679#M185925</link>
    <description>&lt;P&gt;I was using Splunk 5.0.5 but planning to upgrade to Splunk 6.x. Thanks for the update.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Mar 2014 21:44:12 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2014-03-06T21:44:12Z</dc:date>
    <item>
      <title>Need help with Splunk REST command, Get property value from configuration file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-Splunk-REST-command-Get-property-value-from/m-p/159676#M185922</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I am trying to write a search to get values from the configuration file. An example of it will be to the minFreeSpace property from server.conf (under diskUsage stanza). &lt;/P&gt;

&lt;P&gt;So far I have written:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/properties/server/diskUsage 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This gives me list of properties defined under diskUsage stanza, but value for each property is not shown.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"author" "id                                       "published"  "splunk_server"     "title"     "updated"
"blank" "&amp;lt;someurl&amp;gt;diskUsage/minFreeSpace"          "blank"      "myhost"         "minFreeSpace" "somedate"
"blank" "&amp;lt;someurl&amp;gt;diskUsage/pollingFrequency"      "blank"      "myhost"       "pollingFrequency"   "somedate"
"blank" "&amp;lt;someurl&amp;gt;diskUsage/pollingTimerFrequency" "blank"      "myhost"      "pollingTimerFrequency"   "somedate"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Could anyone help me how to get the values too.&lt;BR /&gt;
I tried with "|REST /services/properties/server/diskUsage/minFreeSpace" but it shows no result.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2014 15:17:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-Splunk-REST-command-Get-property-value-from/m-p/159676#M185922</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-02-20T15:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Splunk REST command, Get property value from configuration file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-Splunk-REST-command-Get-property-value-from/m-p/159677#M185923</link>
      <description>&lt;P&gt;I can't test this right now, but you might be trapped in namespace hell. Give it a shot to play around with the various servicesNS options.&lt;/P&gt;

&lt;P&gt;Your second URL with the stanza and key should be the only properties endpoint to actually report a value, once namespace stuff is sorted out.&lt;/P&gt;

&lt;P&gt;As an alternative, take a look at the configs/conf-server endpoint.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2014 23:20:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-Splunk-REST-command-Get-property-value-from/m-p/159677#M185923</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-02-20T23:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Splunk REST command, Get property value from configuration file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-Splunk-REST-command-Get-property-value-from/m-p/159678#M185924</link>
      <description>&lt;P&gt;I opened a support ticket on a similar issue.  Until the latest release (v6.0.2) the rest search command would not return text value elements included in the response.  This behavior is now fixed.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 01:06:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-Splunk-REST-command-Get-property-value-from/m-p/159678#M185924</guid>
      <dc:creator>fervin</dc:creator>
      <dc:date>2014-03-06T01:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Splunk REST command, Get property value from configuration file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-with-Splunk-REST-command-Get-property-value-from/m-p/159679#M185925</link>
      <description>&lt;P&gt;I was using Splunk 5.0.5 but planning to upgrade to Splunk 6.x. Thanks for the update.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 21:44:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-with-Splunk-REST-command-Get-property-value-from/m-p/159679#M185925</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-03-06T21:44:12Z</dc:date>
    </item>
  </channel>
</rss>

