<?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: SDK for PHP Search with Append Throws Error in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/SDK-for-PHP-Search-with-Append-Throws-Error/m-p/115416#M1693</link>
    <description>&lt;P&gt;Apparently there is a bug in the PHP SDK. If I get a resolution I'll post it here.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jun 2014 15:59:06 GMT</pubDate>
    <dc:creator>kmattern</dc:creator>
    <dc:date>2014-06-25T15:59:06Z</dc:date>
    <item>
      <title>SDK for PHP Search with Append Throws Error</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/SDK-for-PHP-Search-with-Append-Throws-Error/m-p/115415#M1692</link>
      <description>&lt;P&gt;I'm playing with the Splunk SDK for PHP and am enjoying it but whenever I use an append function in a search it throws the following error&lt;/P&gt;

&lt;P&gt;•[EXCEPTION] HTTP 200 OK&lt;/P&gt;

&lt;P&gt;The PHP code for the search looks like this:&lt;/P&gt;

&lt;P&gt;$search='search index=portal sourcetype="portal" earliest=-7d@d latest=-d /SAR/ARH/gen_info*  WebPage!="index.htm*" &lt;BR /&gt;
| stats count(WebPage) as "General Information"&lt;BR /&gt;
| append [search index=portal sourcetype="portal" earliest=-7d@d latest=-d /SAR/faq* WebPage!="index.htm*" &lt;BR /&gt;
| stats count(WebPage)  as "Help Line"]&lt;BR /&gt;
| append [search index=portal sourcetype="portal" earliest=-7d@d latest=-d /SAR/ARH/media* WebPage!="index.htm*" &lt;BR /&gt;
| stats count(WebPage)  as "Media"]'; &lt;/P&gt;

&lt;P&gt;If I just run the first search I get results. Do I have to do anything special with append? I use it a lot.&lt;/P&gt;

&lt;P&gt;I get the same error if I call this as a saved search. Other saved searches work in the SDK but this one will not. It runs perfectly in it's dashboard or manually.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:54:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/SDK-for-PHP-Search-with-Append-Throws-Error/m-p/115415#M1692</guid>
      <dc:creator>kmattern</dc:creator>
      <dc:date>2020-09-28T16:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: SDK for PHP Search with Append Throws Error</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/SDK-for-PHP-Search-with-Append-Throws-Error/m-p/115416#M1693</link>
      <description>&lt;P&gt;Apparently there is a bug in the PHP SDK. If I get a resolution I'll post it here.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2014 15:59:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/SDK-for-PHP-Search-with-Append-Throws-Error/m-p/115416#M1693</guid>
      <dc:creator>kmattern</dc:creator>
      <dc:date>2014-06-25T15:59:06Z</dc:date>
    </item>
  </channel>
</rss>

