<?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: license usage by tcp source query in Installation</title>
    <link>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64902#M1045</link>
    <description>&lt;P&gt;not sure about that can be empty but for forwarders you can use this search : index="_internal" source="*metrics.log" group=tcpin_connections | eval gb=kb/1024/1024 | timechart  partial=f sum(gb) as GB by sourceHost&lt;/P&gt;

&lt;P&gt;this is no usefull to measure by forwarder as some data might be discarded at indexer level&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 12:28:35 GMT</pubDate>
    <dc:creator>MarioM</dc:creator>
    <dc:date>2020-09-28T12:28:35Z</dc:date>
    <item>
      <title>license usage by tcp source query</title>
      <link>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64894#M1037</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;

&lt;P&gt;I am trying to evaluate my license daily usage (In GB) per tcp source , is there a query that I can issue to get this number ? I have 2 tcp inputs, tcp:8183 , tcp:8182&lt;/P&gt;

&lt;P&gt;Thanks!&lt;BR /&gt;
Kobi&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2012 14:32:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64894#M1037</guid>
      <dc:creator>kobi_biton</dc:creator>
      <dc:date>2012-09-19T14:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: license usage by tcp source query</title>
      <link>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64895#M1038</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index="_internal" source="*license_usage.log" (s="tcp:8182" OR s="tcp:8183") | rename s as source b as bytes | stats sum(bytes) as bytes by source |  eval Gbytes = bytes/1048576/1048576 | fields source Gbytes
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Sep 2012 16:19:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64895#M1038</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2012-09-19T16:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: license usage by tcp source query</title>
      <link>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64896#M1039</link>
      <description>&lt;P&gt;Thanks for the reply , can I do the same for my splunk inputs ? I have 2 splunk tcp inputs (9997,9998) but they are not seem to be treated a sources is there any way to count license usage by splunk tcp input ?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2012 16:51:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64896#M1039</guid>
      <dc:creator>kobi_biton</dc:creator>
      <dc:date>2012-09-19T16:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: license usage by tcp source query</title>
      <link>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64897#M1040</link>
      <description>&lt;P&gt;they will not show as source as they are not source but they will as h:&lt;BR /&gt;
index="_internal" source="*license_usage.log" | rename s as source b as bytes h as source_host | stats sum(bytes) as bytes by source, source_host |  eval Gbytes = bytes/1048576/1048576 | fields source source_host Gbytes&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:28:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64897#M1040</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2020-09-28T12:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: license usage by tcp source query</title>
      <link>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64898#M1041</link>
      <description>&lt;P&gt;the deployment monitor app /en-US/app/SplunkDeploymentMonitor/license_info give you all those infos&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2012 17:11:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64898#M1041</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2012-09-19T17:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: license usage by tcp source query</title>
      <link>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64899#M1042</link>
      <description>&lt;P&gt;Thanks! now I can see my source_hosts , I noticed that 90% of my usage volume comes from a NULL source and a NULL source_host is there any thing I can do to drill down and identify this source ?&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Kobi&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:28:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64899#M1042</guid>
      <dc:creator>kobi_biton</dc:creator>
      <dc:date>2020-09-28T12:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: license usage by tcp source query</title>
      <link>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64900#M1043</link>
      <description>&lt;P&gt;there is another field named "o" as originator you can add it in your initial search and filter your search to only show the NULL source_host events:&lt;/P&gt;

&lt;P&gt;index="_internal" source="*license_usage.log" | rename s as source b as bytes h as source_host o as originator | search source_host=""&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:28:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64900#M1043</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2020-09-28T12:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: license usage by tcp source query</title>
      <link>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64901#M1044</link>
      <description>&lt;P&gt;OK I see the originator is also null in my case the only clue i see is the "st" field which I assume is sourcetype? I can get some info from it , is there any particular reason why source and source_host woul report NULL ?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2012 17:58:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64901#M1044</guid>
      <dc:creator>kobi_biton</dc:creator>
      <dc:date>2012-09-19T17:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: license usage by tcp source query</title>
      <link>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64902#M1045</link>
      <description>&lt;P&gt;not sure about that can be empty but for forwarders you can use this search : index="_internal" source="*metrics.log" group=tcpin_connections | eval gb=kb/1024/1024 | timechart  partial=f sum(gb) as GB by sourceHost&lt;/P&gt;

&lt;P&gt;this is no usefull to measure by forwarder as some data might be discarded at indexer level&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:28:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64902#M1045</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2020-09-28T12:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: license usage by tcp source query</title>
      <link>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64903#M1046</link>
      <description>&lt;P&gt;yep in my case data will be discarded on the indexer level as my setup is :  ufw --&amp;gt; Intermediate forwarder --&amp;gt; splunk indexer , I guess that the query should be run against the Intermediate forwarder ?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2012 19:04:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64903#M1046</guid>
      <dc:creator>kobi_biton</dc:creator>
      <dc:date>2012-09-19T19:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: license usage by tcp source query</title>
      <link>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64904#M1047</link>
      <description>&lt;P&gt;normally intermediate forwarder send his metrics.log but license usage is all on the indexers&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2012 20:01:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64904#M1047</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2012-09-19T20:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: license usage by tcp source query</title>
      <link>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64905#M1048</link>
      <description>&lt;P&gt;Kobi if you are happy with the infos provided please accept the answer for those who might have same question.Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2012 07:08:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/license-usage-by-tcp-source-query/m-p/64905#M1048</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2012-09-21T07:08:33Z</dc:date>
    </item>
  </channel>
</rss>

