<?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: Data ingestion statistics in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Which-applications-are-ingesting-more-data-and-violating-the/m-p/584202#M203431</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;it should be "host=&amp;lt;your LM host&amp;gt;".&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
    <pubDate>Wed, 09 Feb 2022 07:11:20 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2022-02-09T07:11:20Z</dc:date>
    <item>
      <title>Which applications are ingesting more data and violating the license?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Which-applications-are-ingesting-more-data-and-violating-the/m-p/584126#M203416</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I would like to know which applications are ingesting more data and violating the license.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried the below query but I am not sure if it gives correct results.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;index=_internal source=*license_usage.log type=”Usage” splunk_server=*&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| eval Date=strftime(_time, “%Y/%m/%d”)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| streamstats sum(b) as volume&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| eval MB=round(volume/1024/1024,5)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| timechart span=1w avg(MB) by idx&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;index=_internal source=*license_usage.log type=Usage 
| stats sum(b) as bytes by h 
| eval MB = round(bytes/1024/1024,1)
| fields h MB
| rename h as host&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 01:18:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Which-applications-are-ingesting-more-data-and-violating-the/m-p/584126#M203416</guid>
      <dc:creator>blbr123</dc:creator>
      <dc:date>2022-02-10T01:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Data ingestion statistics</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Which-applications-are-ingesting-more-data-and-violating-the/m-p/584128#M203418</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232545"&gt;@blbr123&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you already have this search in License consuption by index [Settings -- Licensing -- Usage Report -- Previous 60 days -- Split by index (or surcetype)].&lt;/P&gt;&lt;P&gt;Remember that anyway, you could have two problems:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;usually retention on _internal is few days, so you could not have 60 days of logs,&lt;/LI&gt;&lt;LI&gt;you could have on the same index (or the same sourcetype) more applications.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Anyway, the search is:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal [`set_local_host`] source=*license_usage.log* type="Usage" | eval h=if(len(h)=0 OR isnull(h),"(SQUASHED)",h) | eval s=if(len(s)=0 OR isnull(s),"(SQUASHED)",s) | eval idx=if(len(idx)=0 OR isnull(idx),"(UNKNOWN)",idx) | bin _time span=1d | stats sum(b) as b by _time, pool, s, st, h, idx   | timechart span=1d sum(b) AS volumeB by idx fixedrange=false  | join type=outer _time [search index=_internal [`set_local_host`] source=*license_usage.log* type="RolloverSummary" earliest=-30d@d | eval _time=_time - 43200 | bin _time span=1d | dedup _time stack | stats sum(stacksz) AS "stack size" by _time] | fields - _timediff  | foreach * [eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=round('&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;'/1024/1024/1024, 3)]&lt;/LI-CODE&gt;&lt;P&gt;You have similar searches also in the Monitoring Console App or installing the License consuption App.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 15:14:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Which-applications-are-ingesting-more-data-and-violating-the/m-p/584128#M203418</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-02-08T15:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Data ingestion statistics</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Which-applications-are-ingesting-more-data-and-violating-the/m-p/584176#M203427</link>
      <description>&lt;P&gt;Why do we need to use set_local_host and what it does?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 23:15:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Which-applications-are-ingesting-more-data-and-violating-the/m-p/584176#M203427</guid>
      <dc:creator>blbr123</dc:creator>
      <dc:date>2022-02-08T23:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Data ingestion statistics</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Which-applications-are-ingesting-more-data-and-violating-the/m-p/584202#M203431</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;it should be "host=&amp;lt;your LM host&amp;gt;".&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 07:11:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Which-applications-are-ingesting-more-data-and-violating-the/m-p/584202#M203431</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-02-09T07:11:20Z</dc:date>
    </item>
  </channel>
</rss>

