<?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 Did folderize stop working? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Did-folderize-stop-working/m-p/87366#M22355</link>
    <description>&lt;P&gt;I had an old Splunk saved search from several versions ago which successfully used folderize.&lt;/P&gt;

&lt;P&gt;However, when I ran it recently under Splunk 4.1.6 it seems to run but, finally returns the error:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[SimpleResultsTable module] Server reported HTTP status=400 while getting mode=results Error in 'folderize' command: Folderize requires an 'attr' value.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here is my search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=uad-ps sourcetype="access_combined_rsptime" | stats count(uri) by uri | folderize size=count(uri) attr=uri   sep="/"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The example in the Splunk docu. also fails with same error. Here is that search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=sources | folderize maxfolders=20 attr=source sep="/"| sort totalCount d
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I swear my search was working when I saved it. &lt;BR /&gt;
Should I submit a bug report?&lt;/P&gt;</description>
    <pubDate>Fri, 22 Apr 2011 22:02:06 GMT</pubDate>
    <dc:creator>ualbanytech</dc:creator>
    <dc:date>2011-04-22T22:02:06Z</dc:date>
    <item>
      <title>Did folderize stop working?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Did-folderize-stop-working/m-p/87366#M22355</link>
      <description>&lt;P&gt;I had an old Splunk saved search from several versions ago which successfully used folderize.&lt;/P&gt;

&lt;P&gt;However, when I ran it recently under Splunk 4.1.6 it seems to run but, finally returns the error:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[SimpleResultsTable module] Server reported HTTP status=400 while getting mode=results Error in 'folderize' command: Folderize requires an 'attr' value.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here is my search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=uad-ps sourcetype="access_combined_rsptime" | stats count(uri) by uri | folderize size=count(uri) attr=uri   sep="/"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The example in the Splunk docu. also fails with same error. Here is that search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=sources | folderize maxfolders=20 attr=source sep="/"| sort totalCount d
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I swear my search was working when I saved it. &lt;BR /&gt;
Should I submit a bug report?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2011 22:02:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Did-folderize-stop-working/m-p/87366#M22355</guid>
      <dc:creator>ualbanytech</dc:creator>
      <dc:date>2011-04-22T22:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Did folderize stop working?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Did-folderize-stop-working/m-p/87367#M22356</link>
      <description>&lt;P&gt;Hi ualbanytech,&lt;/P&gt;

&lt;P&gt;you probably should have done so. Meanwhile we arrived at Splunk verison 6.2.4 and &lt;CODE&gt;folderize&lt;/CODE&gt; works again.&lt;BR /&gt;
Running your last example &lt;CODE&gt;| metadata type=sources | folderize maxfolders=20 attr=source sep="/"| sort totalCount d&lt;/CODE&gt; will give you this result:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15i2F7E5F1FACB799F6/image-size/large?v=v2&amp;amp;px=999" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2015 02:47:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Did-folderize-stop-working/m-p/87367#M22356</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-07-29T02:47:12Z</dc:date>
    </item>
  </channel>
</rss>

