<?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: How to find the timechart of difference value . in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-timechart-of-difference-value/m-p/242282#M188959</link>
    <description>&lt;P&gt;I started thinking streamstats, then foreach, but finally settled on exactly what woodcock said - a few raw events would go very far in helping us understand the question better and without them we're more or less blind.&lt;/P&gt;</description>
    <pubDate>Sat, 02 Jul 2016 02:07:47 GMT</pubDate>
    <dc:creator>Richfez</dc:creator>
    <dc:date>2016-07-02T02:07:47Z</dc:date>
    <item>
      <title>How to find the timechart of difference value .</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-timechart-of-difference-value/m-p/242280#M188957</link>
      <description>&lt;P&gt;I have one field &lt;CODE&gt;abc&lt;/CODE&gt; which contain values of different parameter and it goes on increasing gradually. I have to add the values present in the field &lt;CODE&gt;abc&lt;/CODE&gt; at two different intervals and then the &lt;CODE&gt;difference&lt;/CODE&gt; of that two values. I want the &lt;CODE&gt;timechart&lt;/CODE&gt; of that &lt;CODE&gt;difference&lt;/CODE&gt; value.&lt;BR /&gt;
Following is the example&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;At 12.00 AM                           At 12.00 PM
def         abc                       def         abc
xxx         11                        xxx         13
xxy         23                        xxy         25
xyy         09                        xyy         11
yyy         45                        yyy         48
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What I have to do is add values of field &lt;CODE&gt;abc&lt;/CODE&gt; which contain &lt;CODE&gt;x&lt;/CODE&gt; at &lt;CODE&gt;12 am&lt;/CODE&gt; &amp;amp; &lt;CODE&gt;12 pm&lt;/CODE&gt; and then want to show &lt;CODE&gt;timechart&lt;/CODE&gt; of the &lt;CODE&gt;difference&lt;/CODE&gt;. i.e  at 12 am: &lt;CODE&gt;11+23+09=43&lt;/CODE&gt;  &amp;amp; at 12 pm: &lt;CODE&gt;13+25+11=49&lt;/CODE&gt;, then &lt;CODE&gt;49-43= 7&lt;/CODE&gt;, then &lt;CODE&gt;timechart&lt;/CODE&gt; this value.&lt;/P&gt;

&lt;P&gt;Any help is appreciated..&lt;/P&gt;

&lt;P&gt;Thanks.....!&lt;/P&gt;

&lt;P&gt;Padma&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 03:39:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-timechart-of-difference-value/m-p/242280#M188957</guid>
      <dc:creator>Padma12345</dc:creator>
      <dc:date>2016-07-01T03:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the timechart of difference value .</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-timechart-of-difference-value/m-p/242281#M188958</link>
      <description>&lt;P&gt;Show me 2 raw events and I will give you an answer.  I do not understand the raw event format.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 15:53:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-timechart-of-difference-value/m-p/242281#M188958</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-07-01T15:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the timechart of difference value .</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-timechart-of-difference-value/m-p/242282#M188959</link>
      <description>&lt;P&gt;I started thinking streamstats, then foreach, but finally settled on exactly what woodcock said - a few raw events would go very far in helping us understand the question better and without them we're more or less blind.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jul 2016 02:07:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-timechart-of-difference-value/m-p/242282#M188959</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2016-07-02T02:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the timechart of difference value .</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-timechart-of-difference-value/m-p/242283#M188960</link>
      <description>&lt;P&gt;Please find the below raw events&lt;/P&gt;

&lt;P&gt;7/4/16&lt;BR /&gt;
11:30:00.000 AM &lt;BR /&gt;
"1467612000.000","-","xxx","37211.2265625"&lt;BR /&gt;
7/4/16&lt;BR /&gt;
11:30:00.000 AM &lt;BR /&gt;
"1467612000.000","-","xxy","45632.70703125"&lt;/P&gt;

&lt;P&gt;7/4/16&lt;BR /&gt;
11:15:00.000 AM &lt;BR /&gt;
"1467611100.000","-","xxx","37208.40234375"&lt;BR /&gt;
7/4/16&lt;BR /&gt;
11:15:00.000 AM &lt;BR /&gt;
"1467611100.000","-","xxy","45629.41015625"&lt;/P&gt;

&lt;P&gt;I want to add value of xxx &amp;amp; xxy at 11.15 &amp;amp; 11.30 am and then need to plot the timechart of difference value.&lt;/P&gt;

&lt;P&gt;Thanks &lt;/P&gt;

&lt;P&gt;Padma&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2016 06:45:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-timechart-of-difference-value/m-p/242283#M188960</guid>
      <dc:creator>Padma12345</dc:creator>
      <dc:date>2016-07-04T06:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the timechart of difference value .</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-timechart-of-difference-value/m-p/242284#M188961</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* def="*x*" abc=* | timechart span=15m sum(abc) as total | delta total as delta | fields - total
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Jul 2016 14:46:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-timechart-of-difference-value/m-p/242284#M188961</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-07-04T14:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the timechart of difference value .</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-timechart-of-difference-value/m-p/242285#M188962</link>
      <description>&lt;P&gt;I am taking a VERY loose interpretation of the &lt;CODE&gt;timechart&lt;/CODE&gt; portion of your request (otherwise it doesn't make sense).  Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... stats min(_time) AS startTime max(_time) AS endTime sum(xxx) AS xxx sum(xxy) AS xxy | eval diff=abs(xxx-xxy)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Jul 2016 15:04:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-timechart-of-difference-value/m-p/242285#M188962</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-07-04T15:04:46Z</dc:date>
    </item>
  </channel>
</rss>

