<?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: Splitting table columns into timespan values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splitting-table-columns-into-timespan-values/m-p/83179#M21156</link>
    <description>&lt;P&gt;You could use &lt;CODE&gt;chart&lt;/CODE&gt; instead. It will create a matrix rather than a list.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | chart sum(bytes) as "TOTALBytes" by clientip,date_month
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 03 Apr 2013 14:57:23 GMT</pubDate>
    <dc:creator>Ayn</dc:creator>
    <dc:date>2013-04-03T14:57:23Z</dc:date>
    <item>
      <title>Splitting table columns into timespan values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splitting-table-columns-into-timespan-values/m-p/83178#M21155</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;i want to have a report which shows me volume per month based on access_combined logs.&lt;/P&gt;

&lt;P&gt;source="/var/log/httpd/access_log" | stats sum(bytes) as "TOTALBytes" by clientip date_month&lt;/P&gt;

&lt;P&gt;what i get is one row for each month:&lt;/P&gt;

&lt;P&gt;CLIENTIP    MONTH      VOLUME&lt;BR /&gt;
172.0.0.1      April          123&lt;BR /&gt;
172.0.0.1      March        321&lt;BR /&gt;
172.0.0.1      Feb            654&lt;BR /&gt;
172.0.0.2      April          123&lt;BR /&gt;
172.0.0.2      March        432&lt;/P&gt;

&lt;P&gt;i want to compare over time in a table them per clientip as there are only a few like:&lt;/P&gt;

&lt;P&gt;CLIENTIP      Volume_JAN   Volume_Feb    Volume_March  Volume_April &lt;BR /&gt;
172.0.0.1        123                456                789                 123&lt;BR /&gt;
172.0.0.2         321               654                0                     321&lt;BR /&gt;
....&lt;/P&gt;

&lt;P&gt;and so on... how can i achieve this, of course i don't want to edit in may the table, it should be automatically added&lt;/P&gt;

&lt;P&gt;thanks a lot&lt;BR /&gt;
Matthias&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:39:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splitting-table-columns-into-timespan-values/m-p/83178#M21155</guid>
      <dc:creator>Matthias_BY</dc:creator>
      <dc:date>2020-09-28T13:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting table columns into timespan values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splitting-table-columns-into-timespan-values/m-p/83179#M21156</link>
      <description>&lt;P&gt;You could use &lt;CODE&gt;chart&lt;/CODE&gt; instead. It will create a matrix rather than a list.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | chart sum(bytes) as "TOTALBytes" by clientip,date_month
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Apr 2013 14:57:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splitting-table-columns-into-timespan-values/m-p/83179#M21156</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-04-03T14:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting table columns into timespan values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splitting-table-columns-into-timespan-values/m-p/83180#M21157</link>
      <description>&lt;P&gt;this solved my question! Thanks a lot&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2013 16:15:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splitting-table-columns-into-timespan-values/m-p/83180#M21157</guid>
      <dc:creator>Matthias_BY</dc:creator>
      <dc:date>2013-04-03T16:15:47Z</dc:date>
    </item>
  </channel>
</rss>

