<?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 How to convert inline pivot expression into equivalent non-pivot search expression? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-inline-pivot-expression-into-equivalent-non-pivot/m-p/252319#M75484</link>
    <description>&lt;P&gt;I have a pivot query that produces a one-million row table with ~50 columns. I'd like to extend the limit for that table to at least 10-million rows, but pivot tables can't do this.&lt;/P&gt;

&lt;P&gt;To deal with the issue I'd like to convert the pivot expression into an &lt;EM&gt;equivalent&lt;/EM&gt; non-pivot search expression.&lt;/P&gt;

&lt;P&gt;To do this manually, the only solution I've thought of so far involves ~50 joins (one for each column). I'm confident that splunk has done something smarter to generate the pivot.&lt;/P&gt;

&lt;P&gt;Is there an easy way to convert a pivot expression into a non-pivot search?&lt;/P&gt;</description>
    <pubDate>Wed, 12 Oct 2016 15:35:48 GMT</pubDate>
    <dc:creator>bhawkins1</dc:creator>
    <dc:date>2016-10-12T15:35:48Z</dc:date>
    <item>
      <title>How to convert inline pivot expression into equivalent non-pivot search expression?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-inline-pivot-expression-into-equivalent-non-pivot/m-p/252319#M75484</link>
      <description>&lt;P&gt;I have a pivot query that produces a one-million row table with ~50 columns. I'd like to extend the limit for that table to at least 10-million rows, but pivot tables can't do this.&lt;/P&gt;

&lt;P&gt;To deal with the issue I'd like to convert the pivot expression into an &lt;EM&gt;equivalent&lt;/EM&gt; non-pivot search expression.&lt;/P&gt;

&lt;P&gt;To do this manually, the only solution I've thought of so far involves ~50 joins (one for each column). I'm confident that splunk has done something smarter to generate the pivot.&lt;/P&gt;

&lt;P&gt;Is there an easy way to convert a pivot expression into a non-pivot search?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2016 15:35:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-inline-pivot-expression-into-equivalent-non-pivot/m-p/252319#M75484</guid>
      <dc:creator>bhawkins1</dc:creator>
      <dc:date>2016-10-12T15:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert inline pivot expression into equivalent non-pivot search expression?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-inline-pivot-expression-into-equivalent-non-pivot/m-p/252320#M75485</link>
      <description>&lt;P&gt;You can open you inline Pivot search in the Job inspector to see how Splunk translates the Pivot into other commands like &lt;CODE&gt;tstats&lt;/CODE&gt;.  &lt;/P&gt;

&lt;P&gt;If you run the search in the UI, you should be able to click the "job inspector" icon and expand the details to see the contents of the &lt;CODE&gt;litsearch&lt;/CODE&gt;, &lt;CODE&gt;reportsearch&lt;/CODE&gt;, etc. fields. The non-pivot equivalent is basically those pieces put together.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2016 15:39:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-inline-pivot-expression-into-equivalent-non-pivot/m-p/252320#M75485</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2016-10-12T15:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert inline pivot expression into equivalent non-pivot search expression?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-inline-pivot-expression-into-equivalent-non-pivot/m-p/252321#M75486</link>
      <description>&lt;P&gt;Note, this suggestion is not going to be the optimal solution, but it is a solution. Having that many joins is concerning, so the optimal solution would depend on many other factors like how many datamodels are you searching, how many different datamodel objects, accelerated or not accelerated datamodels, etc.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2016 15:40:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-inline-pivot-expression-into-equivalent-non-pivot/m-p/252321#M75486</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2016-10-12T15:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert inline pivot expression into equivalent non-pivot search expression?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-inline-pivot-expression-into-equivalent-non-pivot/m-p/252322#M75487</link>
      <description>&lt;P&gt;Thanks! I can see that the pivot is working by simply appending a &lt;CODE&gt;| sort limit=1000000 key&lt;/CODE&gt; to the end of the query. Removing or otherwise changing this should remove the limit - correct?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2016 15:52:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-inline-pivot-expression-into-equivalent-non-pivot/m-p/252322#M75487</guid>
      <dc:creator>bhawkins1</dc:creator>
      <dc:date>2016-10-12T15:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert inline pivot expression into equivalent non-pivot search expression?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-inline-pivot-expression-into-equivalent-non-pivot/m-p/252323#M75488</link>
      <description>&lt;P&gt;you will want to use &lt;CODE&gt;sort 0 key&lt;/CODE&gt; to have unlimited results&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2016 15:56:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-inline-pivot-expression-into-equivalent-non-pivot/m-p/252323#M75488</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2016-10-12T15:56:50Z</dc:date>
    </item>
  </channel>
</rss>

