<?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: How can I determine the total amount of data received and indexed by UFs? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-determine-the-total-amount-of-data-received-and/m-p/670072#M112361</link>
    <description>&lt;P&gt;The most accurate method would be to add up the size of _raw for each UF (host), but that would have terrible performance.&lt;/P&gt;&lt;P&gt;Try using the license_usage log.&amp;nbsp; The h field is the host (UF) sending the data.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal source=*license_usage.log
| stats sum(b) as bytes by h
| eval KB = bytes/1024
| rename h as UF
| table UF KB&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 28 Nov 2023 20:18:19 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2023-11-28T20:18:19Z</dc:date>
    <item>
      <title>How can I determine the total amount of data received and indexed by UFs?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-determine-the-total-amount-of-data-received-and/m-p/670066#M112357</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;BR /&gt;I am working on a query to determine the hourly (or daily) totals of all indexed data (in GBs) coming from UFs.&lt;/P&gt;&lt;P&gt;In our deployment, UFs send directly to the Indexer Cluster.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue I am having w/ the following query, is that the volume is not realistic, and I am probably misunderstanding the _internal metrics log.&amp;nbsp; Perhaps the kb field is not the correct field to sum as data thruput?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal source=*metrics.log group=tcpin_connections fwdType=uf 
| eval GB = kb/(1024*1024) 
| stats sum(GB) as GB&lt;/LI-CODE&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;Any advice appreciated.&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 19:24:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-determine-the-total-amount-of-data-received-and/m-p/670066#M112357</guid>
      <dc:creator>Glasses2</dc:creator>
      <dc:date>2023-11-28T19:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: How can I determine the total amount of data received and indexed by UFs?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-determine-the-total-amount-of-data-received-and/m-p/670068#M112358</link>
      <description>&lt;P&gt;The Metrics log is a sample of events, not an audit log.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 19:38:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-determine-the-total-amount-of-data-received-and/m-p/670068#M112358</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-11-28T19:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can I determine the total amount of data received and indexed by UFs?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-determine-the-total-amount-of-data-received-and/m-p/670070#M112360</link>
      <description>&lt;P&gt;Thank you for your reply, do you have a method of querying to get an answer for my question?&lt;BR /&gt;I am not finding the key logs containing UF data thruput or ingest information.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 19:56:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-determine-the-total-amount-of-data-received-and/m-p/670070#M112360</guid>
      <dc:creator>Glasses2</dc:creator>
      <dc:date>2023-11-28T19:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I determine the total amount of data received and indexed by UFs?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-determine-the-total-amount-of-data-received-and/m-p/670072#M112361</link>
      <description>&lt;P&gt;The most accurate method would be to add up the size of _raw for each UF (host), but that would have terrible performance.&lt;/P&gt;&lt;P&gt;Try using the license_usage log.&amp;nbsp; The h field is the host (UF) sending the data.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal source=*license_usage.log
| stats sum(b) as bytes by h
| eval KB = bytes/1024
| rename h as UF
| table UF KB&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 28 Nov 2023 20:18:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-determine-the-total-amount-of-data-received-and/m-p/670072#M112361</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-11-28T20:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: How can I determine the total amount of data received and indexed by UFs?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-determine-the-total-amount-of-data-received-and/m-p/670074#M112362</link>
      <description>&lt;P&gt;Thank you for the reply.&amp;nbsp; I also looked at this log but it requires curating an exact list of the UFs, bc I have some pollution, e.g. h= HFs, SC4S, etc.&amp;nbsp; The license_usage log may be the best route if I can put together a lookup of just UFs.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 20:27:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-determine-the-total-amount-of-data-received-and/m-p/670074#M112362</guid>
      <dc:creator>Glasses2</dc:creator>
      <dc:date>2023-11-28T20:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: How can I determine the total amount of data received and indexed by UFs?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-determine-the-total-amount-of-data-received-and/m-p/670077#M112363</link>
      <description>&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;LI-CODE lang="markup"&gt;index=_internal source=*license_usage.log earliest=-1d@d latest=now [search index=_internal source=*metrics.log fwdType=uf earliest=-1d@d latest=now | rename hostname as h | fields h] 
| stats sum(b) as total_usage_bytes by h 
| eval total_usage_gb = round(total_usage_bytes/1024/1024/1024, 2) 
| fields - total_usage_bytes
| addcoltotals label="Total" labelfield="h" total_usage_gb&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I think this is what I wanted, unless someone thinks its inaccurate?&amp;nbsp;&lt;BR /&gt;Please advise.&lt;BR /&gt;TY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 20:56:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-determine-the-total-amount-of-data-received-and/m-p/670077#M112363</guid>
      <dc:creator>Glasses2</dc:creator>
      <dc:date>2023-11-28T20:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can I determine the total amount of data received and indexed by UFs?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-determine-the-total-amount-of-data-received-and/m-p/670082#M112365</link>
      <description>&lt;P&gt;If you're confident the sampling done for metrics.log will catch all of your UFs then the search looks good.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 21:45:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-determine-the-total-amount-of-data-received-and/m-p/670082#M112365</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-11-28T21:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can I determine the total amount of data received and indexed by UFs?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-determine-the-total-amount-of-data-received-and/m-p/670189#M112374</link>
      <description>&lt;P&gt;The numbers are not exact, from the DS Forwarder Management &amp;gt; 1275, dc(h) from metrics &amp;gt; 1287, and the total stats count from the final query &amp;gt; 1166&amp;nbsp; so its not accurate.&amp;nbsp; I will need to create a lookup of UFs.&lt;BR /&gt;&lt;BR /&gt;Thank you for your support.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 13:33:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-determine-the-total-amount-of-data-received-and/m-p/670189#M112374</guid>
      <dc:creator>Glasses2</dc:creator>
      <dc:date>2023-11-29T13:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can I determine the total amount of data received and indexed by UFs?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-determine-the-total-amount-of-data-received-and/m-p/670385#M112413</link>
      <description>&lt;P&gt;Here is some comments about metrics.log&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;By default, &lt;/SPAN&gt;metrics.log&lt;SPAN&gt; reports the top 10 results for each type.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;see more from&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Troubleshooting/Aboutmetricslog" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Troubleshooting/Aboutmetricslog&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As you could see metrics.log don’t contains all metrics, it’s just “samples” of those. As&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;already said you must use license_usage or calculate that from _raw.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 18:16:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-determine-the-total-amount-of-data-received-and/m-p/670385#M112413</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-11-30T18:16:15Z</dc:date>
    </item>
  </channel>
</rss>

