<?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: error piping commands in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/error-piping-commands/m-p/65430#M16249</link>
    <description>&lt;P&gt;Perfect.  Thanks!!&lt;/P&gt;</description>
    <pubDate>Mon, 29 Aug 2011 14:23:32 GMT</pubDate>
    <dc:creator>DTERM</dc:creator>
    <dc:date>2011-08-29T14:23:32Z</dc:date>
    <item>
      <title>error piping commands</title>
      <link>https://community.splunk.com/t5/Splunk-Search/error-piping-commands/m-p/65428#M16247</link>
      <description>&lt;P&gt;I'm getting error an on piping one command into another. The result is a "Search operation 'earliest' is unknown. You might not have permission to run this operation." &lt;/P&gt;

&lt;P&gt;Both commands work individually, not sure why I can't pipe the output of one into the other.  I'd like to know why this fails if you don't find.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;First Query&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;index=myapp lastOccurrence=* firstOccurrence=* | where lastOccurrence=firstOccurrence&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Second Query&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;index=myapp earliest=-30d@d-14h | eval Shift=if(10&amp;lt;=date_hour and date_hour&amp;lt;22,"Shift1","Shift2") | timechart span=1d count by Shift&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Combined Query&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;index=myapp lastOccurrence=* firstOccurrence=* | where lastOccurrence=firstOccurrence | earliest=-30d@d-14h | eval Shift=if(10&amp;lt;=date_hour and date_hour&amp;lt;22,"Shift1","Shift2") | timechart span=1d count by Shift&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:50:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/error-piping-commands/m-p/65428#M16247</guid>
      <dc:creator>DTERM</dc:creator>
      <dc:date>2020-09-28T09:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: error piping commands</title>
      <link>https://community.splunk.com/t5/Splunk-Search/error-piping-commands/m-p/65429#M16248</link>
      <description>&lt;P&gt;earliest is not a command you can pipe to. It must be part of your base search.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2011 21:15:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/error-piping-commands/m-p/65429#M16248</guid>
      <dc:creator>rroberts</dc:creator>
      <dc:date>2011-08-26T21:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: error piping commands</title>
      <link>https://community.splunk.com/t5/Splunk-Search/error-piping-commands/m-p/65430#M16249</link>
      <description>&lt;P&gt;Perfect.  Thanks!!&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2011 14:23:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/error-piping-commands/m-p/65430#M16249</guid>
      <dc:creator>DTERM</dc:creator>
      <dc:date>2011-08-29T14:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: error piping commands</title>
      <link>https://community.splunk.com/t5/Splunk-Search/error-piping-commands/m-p/65431#M16250</link>
      <description>&lt;P&gt;Perhaps you can accept the answer?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2011 21:54:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/error-piping-commands/m-p/65431#M16250</guid>
      <dc:creator>melting</dc:creator>
      <dc:date>2011-08-31T21:54:21Z</dc:date>
    </item>
  </channel>
</rss>

