<?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: day by day comparison in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/day-by-day-comparison/m-p/40639#M9377</link>
    <description>&lt;P&gt;great much appreciated!&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jul 2011 12:47:38 GMT</pubDate>
    <dc:creator>fwd4</dc:creator>
    <dc:date>2011-07-11T12:47:38Z</dc:date>
    <item>
      <title>day by day comparison</title>
      <link>https://community.splunk.com/t5/Splunk-Search/day-by-day-comparison/m-p/40637#M9375</link>
      <description>&lt;P&gt;I'm trying to build a graph in Splunk to provide a day-by-day comparison of particular response codes.  &lt;/P&gt;

&lt;P&gt;For example I currently monitor the last 24 hours of logs looking for a string D101 (resp_code="D101") and graph it in a timechart. What I would like to do is run a second query for the same D101 message but from the previous 24hours - then end result being a graph with 2 lines showing me today against yesterday.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;resp_code="D101" latest=now earliest=-24h | timechart count by resp_code | appendcols [resp_code="D101" latest=-24h earliest=-48h | timechart count by resp_code]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I think I need to be looking in or around the &lt;STRONG&gt;appendcols&lt;/STRONG&gt; function but I'm receiving the below error, it's obviously not parsing what I've written in the way I'd hope:&lt;/P&gt;

&lt;P&gt;"&lt;EM&gt;Search operation 'resp' is unknown. You might not have permission to run this operation.&lt;/EM&gt;"&lt;/P&gt;

&lt;P&gt;Am I barking up the wrong tree with &lt;STRONG&gt;appendcols&lt;/STRONG&gt;, should I be doing this a different way?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2011 11:10:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/day-by-day-comparison/m-p/40637#M9375</guid>
      <dc:creator>fwd4</dc:creator>
      <dc:date>2011-07-11T11:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: day by day comparison</title>
      <link>https://community.splunk.com/t5/Splunk-Search/day-by-day-comparison/m-p/40638#M9376</link>
      <description>&lt;P&gt;You need to add the search command: &lt;CODE&gt;[search resp_code....&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2011 11:48:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/day-by-day-comparison/m-p/40638#M9376</guid>
      <dc:creator>JYTTEJ</dc:creator>
      <dc:date>2011-07-11T11:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: day by day comparison</title>
      <link>https://community.splunk.com/t5/Splunk-Search/day-by-day-comparison/m-p/40639#M9377</link>
      <description>&lt;P&gt;great much appreciated!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2011 12:47:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/day-by-day-comparison/m-p/40639#M9377</guid>
      <dc:creator>fwd4</dc:creator>
      <dc:date>2011-07-11T12:47:38Z</dc:date>
    </item>
  </channel>
</rss>

