<?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: problem with addcoltotals in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/problem-with-addcoltotals/m-p/95012#M24539</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have a search with a "stats [...] by _time" at the end. (with a bin span=hour)&lt;/P&gt;

&lt;P&gt;I have tried with labelfield=_time but it doesn't work (value is 0NaN-NaN-NaN NaN:NaN:NaN)&lt;/P&gt;

&lt;P&gt;Is it possible to remap this label?&lt;/P&gt;

&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Mar 2014 17:25:27 GMT</pubDate>
    <dc:creator>tmnteam</dc:creator>
    <dc:date>2014-03-27T17:25:27Z</dc:date>
    <item>
      <title>problem with addcoltotals</title>
      <link>https://community.splunk.com/t5/Splunk-Search/problem-with-addcoltotals/m-p/95010#M24537</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a file like : &lt;/P&gt;

&lt;P&gt;XXXX 20&lt;BR /&gt;
YYYY 40&lt;BR /&gt;
ZZZZ 60&lt;/P&gt;

&lt;P&gt;I am running a query ....|addcoltotals&lt;/P&gt;

&lt;P&gt;I am getting :&lt;BR /&gt;
XXXX 20&lt;BR /&gt;
YYYY 40&lt;BR /&gt;
ZZZZ 60&lt;BR /&gt;
     120&lt;/P&gt;

&lt;P&gt;but I also want to mention Grand_Total in the first field as I want my output like : &lt;/P&gt;

&lt;P&gt;XXXX 20&lt;BR /&gt;
YYYY 40&lt;BR /&gt;
ZZZZ 60&lt;BR /&gt;
Total 120&lt;/P&gt;

&lt;P&gt;"Total" String should come...&lt;/P&gt;

&lt;P&gt;Please help !!&lt;/P&gt;

&lt;P&gt;Thanks in Advance&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 13:15:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/problem-with-addcoltotals/m-p/95010#M24537</guid>
      <dc:creator>abhayneilam</dc:creator>
      <dc:date>2013-01-22T13:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: problem with addcoltotals</title>
      <link>https://community.splunk.com/t5/Splunk-Search/problem-with-addcoltotals/m-p/95011#M24538</link>
      <description>&lt;P&gt;An example :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; * | stats count by sourcetype | addcoltotals labelfield=sourcetype label="Total"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;labelfield is the column you want the label to appear in&lt;BR /&gt;&lt;BR /&gt;
label is the text in the labelfield.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 16:53:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/problem-with-addcoltotals/m-p/95011#M24538</guid>
      <dc:creator>jonuwz</dc:creator>
      <dc:date>2013-01-22T16:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: problem with addcoltotals</title>
      <link>https://community.splunk.com/t5/Splunk-Search/problem-with-addcoltotals/m-p/95012#M24539</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have a search with a "stats [...] by _time" at the end. (with a bin span=hour)&lt;/P&gt;

&lt;P&gt;I have tried with labelfield=_time but it doesn't work (value is 0NaN-NaN-NaN NaN:NaN:NaN)&lt;/P&gt;

&lt;P&gt;Is it possible to remap this label?&lt;/P&gt;

&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 17:25:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/problem-with-addcoltotals/m-p/95012#M24539</guid>
      <dc:creator>tmnteam</dc:creator>
      <dc:date>2014-03-27T17:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: problem with addcoltotals</title>
      <link>https://community.splunk.com/t5/Splunk-Search/problem-with-addcoltotals/m-p/95013#M24540</link>
      <description>&lt;P&gt;Since _time is in the epoch format (after your query) and with addtotal, you're trying to add a row with _time="Total" (not a valid date format).&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 19:40:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/problem-with-addcoltotals/m-p/95013#M24540</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-03-27T19:40:46Z</dc:date>
    </item>
  </channel>
</rss>

