<?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: How can I &amp;quot;paginate&amp;quot; a single very wide row as multiple rows with a new &amp;quot;page break&amp;quot; every 4 columns. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-quot-paginate-quot-a-single-very-wide-row-as-multiple/m-p/176839#M50812</link>
    <description>&lt;P&gt;I would search answers for keyword &lt;CODE&gt;paginate&lt;/CODE&gt; and see if somebody else has had/fixed something similar.  I gave you the best I can; I cannot think of any good way to "re-cell" the way you need it to.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jun 2015 22:25:36 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-06-29T22:25:36Z</dc:date>
    <item>
      <title>How can I "paginate" a single very wide row as multiple rows with a new "page break" every 4 columns.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-quot-paginate-quot-a-single-very-wide-row-as-multiple/m-p/176836#M50809</link>
      <description>&lt;P&gt;I have no idea how to paginate a tables.&lt;/P&gt;

&lt;P&gt;Splunk builds rows by default:&lt;BR /&gt;
1&lt;BR /&gt;
2&lt;BR /&gt;
3&lt;BR /&gt;
4&lt;BR /&gt;
5&lt;BR /&gt;
6&lt;BR /&gt;
7&lt;BR /&gt;
8&lt;/P&gt;

&lt;P&gt;I can convert to a very long row with &lt;CODE&gt;transpose&lt;/CODE&gt; and get this:&lt;BR /&gt;
1 2 3 4 5 6 7 8&lt;/P&gt;

&lt;P&gt;But I need this:&lt;BR /&gt;
1 2 3 4&lt;BR /&gt;
5 6 7 8&lt;/P&gt;

&lt;P&gt;I can currently manipulate the individual cells, such as replacing an integer with an icon/highlighting. But how the heck do I make a JavaScript file to render the table in a matrix format?&lt;/P&gt;

&lt;P&gt;Before:&lt;/P&gt;

&lt;P&gt;source="StatesTest.csv"  | table State Name | sort State&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/427i924BF38922710CF4/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Desired Output:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/428i6ABDE38741F84E30/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;I appreciate the help!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2015 20:04:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-quot-paginate-quot-a-single-very-wide-row-as-multiple/m-p/176836#M50809</guid>
      <dc:creator>huy7070</dc:creator>
      <dc:date>2015-06-25T20:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can I "paginate" a single very wide row as multiple rows with a new "page break" every 4 columns.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-quot-paginate-quot-a-single-very-wide-row-as-multiple/m-p/176837#M50810</link>
      <description>&lt;P&gt;I know that this is not exactly what you would like but maybe it will get you by until you get a better answer:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="Cars.csv" | table State Name | sort State | streamstats current=t count AS row | eval page=round((row+1)/4,0) | eval combo=State . "," . Name| stats values(combo) AS combo by page | nomv combo | fields combo
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 Jun 2015 15:31:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-quot-paginate-quot-a-single-very-wide-row-as-multiple/m-p/176837#M50810</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-26T15:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: How can I "paginate" a single very wide row as multiple rows with a new "page break" every 4 columns.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-quot-paginate-quot-a-single-very-wide-row-as-multiple/m-p/176838#M50811</link>
      <description>&lt;P&gt;Thanks. We're getting closer. I'm having trouble replacing the "state" which are 1s and 0s with icons. Before I used this to access individual cells: &lt;A href="http://blogs.splunk.com/2014/03/17/custom-icons-in-splunk-6-tables/"&gt;http://blogs.splunk.com/2014/03/17/custom-icons-in-splunk-6-tables/&lt;/A&gt;. Based on your solution the data is one row now, so accessing the "state" value doesn't work anymore. Do you know how to work around this?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2015 19:09:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-quot-paginate-quot-a-single-very-wide-row-as-multiple/m-p/176838#M50811</guid>
      <dc:creator>huy7070</dc:creator>
      <dc:date>2015-06-26T19:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can I "paginate" a single very wide row as multiple rows with a new "page break" every 4 columns.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-quot-paginate-quot-a-single-very-wide-row-as-multiple/m-p/176839#M50812</link>
      <description>&lt;P&gt;I would search answers for keyword &lt;CODE&gt;paginate&lt;/CODE&gt; and see if somebody else has had/fixed something similar.  I gave you the best I can; I cannot think of any good way to "re-cell" the way you need it to.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2015 22:25:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-quot-paginate-quot-a-single-very-wide-row-as-multiple/m-p/176839#M50812</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-29T22:25:36Z</dc:date>
    </item>
  </channel>
</rss>

