<?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 help with timechart / count needed in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/help-with-timechart-count-needed/m-p/397450#M172065</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I would like to track the license consumption as from time to time it is 4 times higher (per day) than expected. I suspect this is because our systems are in the QEC phase and produce more logs, e.g. after someone activates additional traces/debug mode.&lt;BR /&gt;
I am identifying the file / source type responsible for the growth using the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=si_license_usage idx="mlbso" st=BWP_hanatraces | eval Gb=round(b_hourly/1024/1024/1024,12)  | bucket span=1d _time |sort -b_hourly
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What comes out is that the files with the pattern &lt;EM&gt;indexserver&lt;/EM&gt; are causing the most consumption. This is expected.&lt;BR /&gt;
As they have restricted size, I would be now interested to see how often they are written / transferred to Splunk.&lt;BR /&gt;
So I thought I would use sth. like below to get the chart of the distinct files / sources per hour:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=sources index=mlbso sourcetype=BWP* | search source="*indexserver*" | timechart span=1h count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but the last part with timechart does not return any result, so I guess I do sth wrong.&lt;BR /&gt;
Could you please help?    &lt;/P&gt;

&lt;P&gt;Kind Regards,&lt;BR /&gt;
Kamil&lt;/P&gt;</description>
    <pubDate>Wed, 03 Apr 2019 08:45:53 GMT</pubDate>
    <dc:creator>damucka</dc:creator>
    <dc:date>2019-04-03T08:45:53Z</dc:date>
    <item>
      <title>help with timechart / count needed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-with-timechart-count-needed/m-p/397450#M172065</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I would like to track the license consumption as from time to time it is 4 times higher (per day) than expected. I suspect this is because our systems are in the QEC phase and produce more logs, e.g. after someone activates additional traces/debug mode.&lt;BR /&gt;
I am identifying the file / source type responsible for the growth using the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=si_license_usage idx="mlbso" st=BWP_hanatraces | eval Gb=round(b_hourly/1024/1024/1024,12)  | bucket span=1d _time |sort -b_hourly
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What comes out is that the files with the pattern &lt;EM&gt;indexserver&lt;/EM&gt; are causing the most consumption. This is expected.&lt;BR /&gt;
As they have restricted size, I would be now interested to see how often they are written / transferred to Splunk.&lt;BR /&gt;
So I thought I would use sth. like below to get the chart of the distinct files / sources per hour:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=sources index=mlbso sourcetype=BWP* | search source="*indexserver*" | timechart span=1h count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but the last part with timechart does not return any result, so I guess I do sth wrong.&lt;BR /&gt;
Could you please help?    &lt;/P&gt;

&lt;P&gt;Kind Regards,&lt;BR /&gt;
Kamil&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 08:45:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-with-timechart-count-needed/m-p/397450#M172065</guid>
      <dc:creator>damucka</dc:creator>
      <dc:date>2019-04-03T08:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: help with timechart / count needed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-with-timechart-count-needed/m-p/397451#M172066</link>
      <description>&lt;P&gt;&lt;CODE&gt;| metadata&lt;/CODE&gt; does not return an _time field. So without any further tricks, you cannot do a timechart on that. You would need to rename the relevant time field from the &lt;CODE&gt;| metadata&lt;/CODE&gt; output to _time, before doing the timechart.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 11:36:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-with-timechart-count-needed/m-p/397451#M172066</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2019-04-03T11:36:00Z</dc:date>
    </item>
  </channel>
</rss>

