<?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 Streamstats for multiple columns in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Streamstats-for-multiple-columns/m-p/255535#M189483</link>
    <description>&lt;P&gt;The following table is representing positions in uPos for different columns. Each number in a c_ column is representing the number of positions are taken, starting at the position which the number is positioned.&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;For example:&lt;/EM&gt;&lt;BR /&gt;
The item in column c_A - 7 is representing reserved cells at uPos 7, 8, and 9.&lt;BR /&gt;
The item in column c_F - 2 is representing reserved cells at uPos 2, 3, 4, and 5.&lt;/P&gt;

&lt;P&gt;Goal:&lt;BR /&gt;
I would like to fill all the reserved cells with a number to represent a nice bar chart.&lt;/P&gt;

&lt;P&gt;Does anyone has an idea to solve this?&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/145275-count.png" alt="alt text" /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 10:12:43 GMT</pubDate>
    <dc:creator>mbschriek</dc:creator>
    <dc:date>2020-09-29T10:12:43Z</dc:date>
    <item>
      <title>Streamstats for multiple columns</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Streamstats-for-multiple-columns/m-p/255535#M189483</link>
      <description>&lt;P&gt;The following table is representing positions in uPos for different columns. Each number in a c_ column is representing the number of positions are taken, starting at the position which the number is positioned.&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;For example:&lt;/EM&gt;&lt;BR /&gt;
The item in column c_A - 7 is representing reserved cells at uPos 7, 8, and 9.&lt;BR /&gt;
The item in column c_F - 2 is representing reserved cells at uPos 2, 3, 4, and 5.&lt;/P&gt;

&lt;P&gt;Goal:&lt;BR /&gt;
I would like to fill all the reserved cells with a number to represent a nice bar chart.&lt;/P&gt;

&lt;P&gt;Does anyone has an idea to solve this?&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/145275-count.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:12:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Streamstats-for-multiple-columns/m-p/255535#M189483</guid>
      <dc:creator>mbschriek</dc:creator>
      <dc:date>2020-09-29T10:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Streamstats for multiple columns</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Streamstats-for-multiple-columns/m-p/255536#M189484</link>
      <description>&lt;P&gt;Solved it myself:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; | foreach c* [eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;='&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;'+uPos-1] | makecontinuous uPos | filldown c* | foreach c* [eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=if(('&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;'-uPos)&amp;gt;=0,"1","0")]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Jul 2016 10:42:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Streamstats-for-multiple-columns/m-p/255536#M189484</guid>
      <dc:creator>mbschriek</dc:creator>
      <dc:date>2016-07-14T10:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Streamstats for multiple columns</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Streamstats-for-multiple-columns/m-p/255537#M189485</link>
      <description>&lt;P&gt;Be sure to click &lt;CODE&gt;Accept&lt;/CODE&gt; on your answer.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jul 2016 03:15:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Streamstats-for-multiple-columns/m-p/255537#M189485</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-07-16T03:15:49Z</dc:date>
    </item>
  </channel>
</rss>

