<?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: Rest command from saved search in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Rest-command-from-saved-search/m-p/101286#M21209</link>
    <description>&lt;P&gt;Update: I tried adding "|collect index=my_summary" to the end of the search and nothing was saved to the summary index. It didn't matter if I ran it interactively. I can see the results in the GUI, but nothing gets written to the summary index.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Jan 2013 02:27:09 GMT</pubDate>
    <dc:creator>reed_kelly</dc:creator>
    <dc:date>2013-01-28T02:27:09Z</dc:date>
    <item>
      <title>Rest command from saved search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Rest-command-from-saved-search/m-p/101285#M21208</link>
      <description>&lt;P&gt;I'm trying to capture index disk utilization to a summary index using a rest command. The command is something like:&lt;BR /&gt;
    |rest /services/data/indexes |table splunk_server,title,currentDBSizeMB&lt;/P&gt;

&lt;P&gt;This produces a nice table with indexers, indexes and how much disk space each index is taking.&lt;/P&gt;

&lt;P&gt;When I run this from a scheduled search, however, I get the following warning in the Inspect screen:&lt;BR /&gt;
...&lt;BR /&gt;
WARN: Unable to fetch REST endpoint '/services/data/indexes' from "&lt;/P&gt;

&lt;P&gt;In addition, nothing shows up in the specified summary index.&lt;/P&gt;

&lt;P&gt;Any suggestions for getting disk utilization by index saved to a summary index for trend reporting?&lt;/P&gt;

&lt;P&gt;Search head is Splunk 4.3.1.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2013 01:51:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Rest-command-from-saved-search/m-p/101285#M21208</guid>
      <dc:creator>reed_kelly</dc:creator>
      <dc:date>2013-01-28T01:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Rest command from saved search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Rest-command-from-saved-search/m-p/101286#M21209</link>
      <description>&lt;P&gt;Update: I tried adding "|collect index=my_summary" to the end of the search and nothing was saved to the summary index. It didn't matter if I ran it interactively. I can see the results in the GUI, but nothing gets written to the summary index.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2013 02:27:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Rest-command-from-saved-search/m-p/101286#M21209</guid>
      <dc:creator>reed_kelly</dc:creator>
      <dc:date>2013-01-28T02:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Rest command from saved search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Rest-command-from-saved-search/m-p/101287#M21210</link>
      <description>&lt;P&gt;i am not sure if it is a typo but "server" doesnot exist(splunk_server is the right field)  and when i do the following it works for me:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/data/indexes | table splunk_server,title,currentDBSizeMB | sort - currentDBSizeMB | collect index=summary_rest
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Jan 2013 09:17:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Rest-command-from-saved-search/m-p/101287#M21210</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2013-01-28T09:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Rest command from saved search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Rest-command-from-saved-search/m-p/101288#M21211</link>
      <description>&lt;P&gt;Are you saying that your summary index gets populated? What version are you running?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2013 13:08:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Rest-command-from-saved-search/m-p/101288#M21211</guid>
      <dc:creator>reed_kelly</dc:creator>
      <dc:date>2013-01-28T13:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rest command from saved search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Rest-command-from-saved-search/m-p/101289#M21212</link>
      <description>&lt;P&gt;OK. It's working now. I have no idea why it took so long to populate. The typo was in the above question, but it was not in the query on the server. I don't have an explanation, but I'm going to accept your answer.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2013 13:34:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Rest-command-from-saved-search/m-p/101289#M21212</guid>
      <dc:creator>reed_kelly</dc:creator>
      <dc:date>2013-01-28T13:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Rest command from saved search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Rest-command-from-saved-search/m-p/101290#M21213</link>
      <description>&lt;P&gt;for records i am running v5.0.1&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2013 17:22:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Rest-command-from-saved-search/m-p/101290#M21213</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2013-01-28T17:22:20Z</dc:date>
    </item>
  </channel>
</rss>

