<?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 Data inputs details for each index in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Data-inputs-details-for-each-index/m-p/679800#M113597</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'd lilke to create a detailed report with info including the type of forwarder, the average KB/s, the OS, the IP, the splunk version but also with information to which exact index the forwarder forwards to.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;Is it possible to recreate the search from the monitoring console for forwarder instance and use it somehow to connect it to each index?&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;`dmc_get_forwarder_tcpin` hostname=*
| eval source_uri = hostname.":".sourcePort
| eval dest_uri = host.":".destPort
| eval connection = source_uri."-&amp;gt;".dest_uri
| stats values(fwdType) as fwdType, values(sourceIp) as sourceIp, latest(version) as version, values(os) as os, values(arch) as arch, dc(dest_uri) as dest_count, dc(connection) as connection_count, avg(tcp_KBps) as avg_tcp_kbps, avg(tcp_eps) as avg_tcp_eps by hostname, guid
| eval avg_tcp_kbps = round(avg_tcp_kbps, 2)
| eval avg_tcp_eps = round(avg_tcp_eps, 2)
| `dmc_rename_forwarder_type(fwdType)`
| rename hostname as Instance, fwdType as "Forwarder Type", sourceIp as IP, version as "Splunk Version", os as OS, arch as Architecture, guid as GUID, dest_count as "Receiver Count", connection_count as "Connection Count", avg_tcp_kbps as "Average KB/s", avg_tcp_eps as "Average Events/s"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And probably somehow join it with&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;| tstats 
   count 
   values(host) AS host
   WHERE index=*
   BY index&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue I see is that it searches&amp;nbsp;dmc_get_forwarder_tcpin which is equal to index=_internal sourcetype=splunkd group=tcpin_connections (connectionType=cooked OR connectionType=cookedSSL) fwdType=* guid=* and I cannot find the indexes there. How can i connect it to each index?&lt;/P&gt;</description>
    <pubDate>Wed, 06 Mar 2024 13:57:55 GMT</pubDate>
    <dc:creator>hazardoom</dc:creator>
    <dc:date>2024-03-06T13:57:55Z</dc:date>
    <item>
      <title>Data inputs details for each index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Data-inputs-details-for-each-index/m-p/679800#M113597</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'd lilke to create a detailed report with info including the type of forwarder, the average KB/s, the OS, the IP, the splunk version but also with information to which exact index the forwarder forwards to.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;Is it possible to recreate the search from the monitoring console for forwarder instance and use it somehow to connect it to each index?&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;`dmc_get_forwarder_tcpin` hostname=*
| eval source_uri = hostname.":".sourcePort
| eval dest_uri = host.":".destPort
| eval connection = source_uri."-&amp;gt;".dest_uri
| stats values(fwdType) as fwdType, values(sourceIp) as sourceIp, latest(version) as version, values(os) as os, values(arch) as arch, dc(dest_uri) as dest_count, dc(connection) as connection_count, avg(tcp_KBps) as avg_tcp_kbps, avg(tcp_eps) as avg_tcp_eps by hostname, guid
| eval avg_tcp_kbps = round(avg_tcp_kbps, 2)
| eval avg_tcp_eps = round(avg_tcp_eps, 2)
| `dmc_rename_forwarder_type(fwdType)`
| rename hostname as Instance, fwdType as "Forwarder Type", sourceIp as IP, version as "Splunk Version", os as OS, arch as Architecture, guid as GUID, dest_count as "Receiver Count", connection_count as "Connection Count", avg_tcp_kbps as "Average KB/s", avg_tcp_eps as "Average Events/s"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And probably somehow join it with&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;| tstats 
   count 
   values(host) AS host
   WHERE index=*
   BY index&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue I see is that it searches&amp;nbsp;dmc_get_forwarder_tcpin which is equal to index=_internal sourcetype=splunkd group=tcpin_connections (connectionType=cooked OR connectionType=cookedSSL) fwdType=* guid=* and I cannot find the indexes there. How can i connect it to each index?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 13:57:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Data-inputs-details-for-each-index/m-p/679800#M113597</guid>
      <dc:creator>hazardoom</dc:creator>
      <dc:date>2024-03-06T13:57:55Z</dc:date>
    </item>
  </channel>
</rss>

