<?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 Problem with multiple rows in a table (extended statistic) in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-multiple-rows-in-a-table-extended-statistic/m-p/174891#M50188</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I'm looking for a possibility to create a statistic like this one:&lt;/P&gt;

&lt;P&gt;directupload.net/file/d/3630/jzf8nu84_png.htm&lt;/P&gt;

&lt;P&gt;Is that possible with the splunk search language?&lt;BR /&gt;
Greetings&lt;/P&gt;</description>
    <pubDate>Thu, 22 May 2014 08:07:47 GMT</pubDate>
    <dc:creator>C_Sparn</dc:creator>
    <dc:date>2014-05-22T08:07:47Z</dc:date>
    <item>
      <title>Problem with multiple rows in a table (extended statistic)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-multiple-rows-in-a-table-extended-statistic/m-p/174891#M50188</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I'm looking for a possibility to create a statistic like this one:&lt;/P&gt;

&lt;P&gt;directupload.net/file/d/3630/jzf8nu84_png.htm&lt;/P&gt;

&lt;P&gt;Is that possible with the splunk search language?&lt;BR /&gt;
Greetings&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2014 08:07:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-multiple-rows-in-a-table-extended-statistic/m-p/174891#M50188</guid>
      <dc:creator>C_Sparn</dc:creator>
      <dc:date>2014-05-22T08:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multiple rows in a table (extended statistic)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-multiple-rows-in-a-table-extended-statistic/m-p/174892#M50189</link>
      <description>&lt;P&gt;That looks a lot like a &lt;CODE&gt;stats count by Date Type User&lt;/CODE&gt; - it'll fill those empty cells as well, but that's cosmetic... and could be fixed in post.&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2014 10:53:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-multiple-rows-in-a-table-extended-statistic/m-p/174892#M50189</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-05-22T10:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multiple rows in a table (extended statistic)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-multiple-rows-in-a-table-extended-statistic/m-p/174893#M50190</link>
      <description>&lt;P&gt;All in all you are right with grouping by multiple fields!&lt;BR /&gt;
Now I get 1 row foreach time and all cells filled.&lt;BR /&gt;
But how can I fix that "cosmetic" issue in post?&lt;BR /&gt;
And is it possible to add another column at the end that has just:&lt;/P&gt;

&lt;P&gt;count(time) by Date Type &lt;/P&gt;

&lt;P&gt;If I use appendcols with this count it appends the values at the wrong rows beginning at first row!&lt;/P&gt;

&lt;P&gt;Thanks for help&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2014 11:43:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-multiple-rows-in-a-table-extended-statistic/m-p/174893#M50190</guid>
      <dc:creator>C_Sparn</dc:creator>
      <dc:date>2014-05-22T11:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multiple rows in a table (extended statistic)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Problem-with-multiple-rows-in-a-table-extended-statistic/m-p/174894#M50191</link>
      <description>&lt;P&gt;You can add such sub-summary columns like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eventstats sum(count) by Date Type
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For removing duplicate Date values you can do this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | streamstats current=f window=1 last(Date) as last_date | eval Date = if(Date == last_date, null, Date) | fields - last_date
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It'll copy over the value from the previous row and discard the cell if it's equal to that.&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2014 12:07:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Problem-with-multiple-rows-in-a-table-extended-statistic/m-p/174894#M50191</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-05-22T12:07:21Z</dc:date>
    </item>
  </channel>
</rss>

