<?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: Pivot Error In handler 'datamodelreport': Pivot Error in buildSearchWithModel: error building non-tstats searchString in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Pivot-Error-In-handler-datamodelreport-Pivot-Error-in/m-p/97614#M2280</link>
    <description>&lt;P&gt;Hi I am new to splunk and I am currently facing the same problem. So my question is what is a base search is it a root search within or something else? &lt;/P&gt;</description>
    <pubDate>Mon, 07 Jul 2014 20:37:20 GMT</pubDate>
    <dc:creator>seanbrhn3</dc:creator>
    <dc:date>2014-07-07T20:37:20Z</dc:date>
    <item>
      <title>Pivot Error In handler 'datamodelreport': Pivot Error in buildSearchWithModel: error building non-tstats searchString</title>
      <link>https://community.splunk.com/t5/Reporting/Pivot-Error-In-handler-datamodelreport-Pivot-Error-in/m-p/97609#M2275</link>
      <description>&lt;P&gt;I am building a data model and it is a simple Visitor data model, with attributes of the Visitor like Country, IP Address etc. &lt;/P&gt;

&lt;P&gt;When I create a Pivot and do a Split rows or columns by any attribute, like Country I get this error &lt;/P&gt;

&lt;P&gt;In handler 'datamodelreport': Pivot Error in buildSearchWithModel: error building non-tstats searchString&lt;/P&gt;

&lt;P&gt;What am I doing wrong, or do I have to create the attribute types to some thing which I can split?&lt;/P&gt;

&lt;P&gt;I have the data (count) returned at 12,000 events for today.&lt;/P&gt;

&lt;P&gt;Interestingly, I have an attribute "User Name" which I can create split. But none of the other attributes. All attributes are auto extracted. &lt;/P&gt;

&lt;P&gt;Thanks, &lt;BR /&gt;
Rajesh&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2013 19:05:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Pivot-Error-In-handler-datamodelreport-Pivot-Error-in/m-p/97609#M2275</guid>
      <dc:creator>rjain15</dc:creator>
      <dc:date>2013-10-14T19:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Error In handler 'datamodelreport': Pivot Error in buildSearchWithModel: error building non-tstats searchString</title>
      <link>https://community.splunk.com/t5/Reporting/Pivot-Error-In-handler-datamodelreport-Pivot-Error-in/m-p/97610#M2276</link>
      <description>&lt;P&gt;Is there a stack trace var/log/splunk/python.log with more details? Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2013 17:50:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Pivot-Error-In-handler-datamodelreport-Pivot-Error-in/m-p/97610#M2276</guid>
      <dc:creator>Archana</dc:creator>
      <dc:date>2013-10-15T17:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Error In handler 'datamodelreport': Pivot Error in buildSearchWithModel: error building non-tstats searchString</title>
      <link>https://community.splunk.com/t5/Reporting/Pivot-Error-In-handler-datamodelreport-Pivot-Error-in/m-p/97611#M2277</link>
      <description>&lt;P&gt;I see the following in the splunkd.log&lt;/P&gt;

&lt;P&gt;There is no python.log file&lt;/P&gt;

&lt;P&gt;Is there are way to get some more meaningful info on what is happening in the front end -- like a search string which is being built by Pivot. &lt;/P&gt;

&lt;P&gt;10-15-2013 10:43:28.917 -0400 ERROR AdminManager - Pivot Error in buildSearchWithModel: error building non-tstats searchString&lt;BR /&gt;
10-15-2013 10:43:34.467 -0400 WARN  DispatchSearch - Unable to save search history for user=nobody, app=CompuwareAPM, sid=1381848214.6398, search='| tstats count AS "Count of Visit"  from sid=1381848117.6375 prestats=true | stats count AS "Count of Visit"  | fields , "Count of Visit"| fillnull "Count of Visit"'&lt;BR /&gt;
10-15-2013 10:43:44.953 -0400 WARN  DispatchSearch - Unable to save search history for user=nobody, app=CompuwareAPM, sid=1381848224.6400, search='| tstats dc("Visit.converted") AS "Distinct Count of converted"  from sid=1381848117.6375 prestats=true | stats dc("Visit.converted") AS "Distinct Count of converted"  | fields , "Distinct Count of converted"| fillnull "Distinct Count of converted"'&lt;BR /&gt;
10-15-2013 10:44:03.077 -0400 ERROR AdminManager - Pivot Error in buildSearchWithModel: error building non-tstats searchString&lt;BR /&gt;
10-15-2013 10:44:41.964 -0400 WARN  DispatchSearch - Unable to save search history for user=nobody, app=CompuwareAPM, sid=1381848281.6402, search='| tstats count AS "Count of Visit"  from sid=1381848117.6375 prestats=true | stats count AS "Count of Visit"  | fields , "Count of Visit"| fillnull "Count of Visit"'&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2013 19:09:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Pivot-Error-In-handler-datamodelreport-Pivot-Error-in/m-p/97611#M2277</guid>
      <dc:creator>rjain15</dc:creator>
      <dc:date>2013-10-16T19:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Error In handler 'datamodelreport': Pivot Error in buildSearchWithModel: error building non-tstats searchString</title>
      <link>https://community.splunk.com/t5/Reporting/Pivot-Error-In-handler-datamodelreport-Pivot-Error-in/m-p/97612#M2278</link>
      <description>&lt;P&gt;What's the best way for us to take a look at your data model? e.g. are there fields with spaces in fieldname?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2013 21:28:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Pivot-Error-In-handler-datamodelreport-Pivot-Error-in/m-p/97612#M2278</guid>
      <dc:creator>Archana</dc:creator>
      <dc:date>2013-10-18T21:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Error In handler 'datamodelreport': Pivot Error in buildSearchWithModel: error building non-tstats searchString</title>
      <link>https://community.splunk.com/t5/Reporting/Pivot-Error-In-handler-datamodelreport-Pivot-Error-in/m-p/97613#M2279</link>
      <description>&lt;P&gt;Hi Archana&lt;/P&gt;

&lt;P&gt;Yes the fields have spaces in them. If I create a datamodel with Base Search and rename the fields, it works. But I create the same model using events, and rename the fields it doesn;t work. &lt;/P&gt;

&lt;P&gt;Here is a raw event: As you can see the dimensions.Country of Visits has spaces in it. If I rename it as "dimensions.Country of Visits" as Country in the Base Search and then creating a Search Object works. &lt;/P&gt;

&lt;P&gt;But just renaming it in the Object Time of Event doesn't work. &lt;/P&gt;

&lt;P&gt;{"name":"Detailed Visit Data","application":"easyTravel portal","type":"VISIT","startTime":"2013-11-04 14:56:08.962-0500","endTime":"2013-11-04 14:56:29.98-0500","dimensions":{"Client Type of Visits":"Synthetic Agent","Client Family of Visits":"Gomez Agent","Country of Visits":"Japan","Landing Page of Visits":"\u0027easyTravel - One step to happiness\u0027","Operating System of Visits":"unknown","User Experience Index of Visits":"satisfied","Client IP Address of Visit":"60.238.151.3","Client of Visits":"Gomez Agent","Connection Type of Visits":"DSL medium (768 kb/s)","Exit Page of Visits":"\u0027easyTravel - Contact\u0027"},"measures":{"Visit Count":1.0,"Action Count":3.0,"Failed Actions Count":0.0,"Bounce Rate":0.0},"visitId":4082344,"apdex":1.0,"converted":false}&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2013 20:25:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Pivot-Error-In-handler-datamodelreport-Pivot-Error-in/m-p/97613#M2279</guid>
      <dc:creator>rjain15</dc:creator>
      <dc:date>2013-11-04T20:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Error In handler 'datamodelreport': Pivot Error in buildSearchWithModel: error building non-tstats searchString</title>
      <link>https://community.splunk.com/t5/Reporting/Pivot-Error-In-handler-datamodelreport-Pivot-Error-in/m-p/97614#M2280</link>
      <description>&lt;P&gt;Hi I am new to splunk and I am currently facing the same problem. So my question is what is a base search is it a root search within or something else? &lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2014 20:37:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Pivot-Error-In-handler-datamodelreport-Pivot-Error-in/m-p/97614#M2280</guid>
      <dc:creator>seanbrhn3</dc:creator>
      <dc:date>2014-07-07T20:37:20Z</dc:date>
    </item>
  </channel>
</rss>

