<?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: powershell command to check if splunk is forwarding logs to splunk console in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/powershell-command-to-check-if-splunk-is-forwarding-logs-to/m-p/711067#M21579</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/274285"&gt;@LinkLoop&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You can verify Splunk is connected to outputs with the &lt;EM&gt;list forward-server&lt;/EM&gt; command:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;&amp;amp; "C:\Program Files\SplunkUniversalForwarder\bin\splunk.exe" list forward-server -auth admin:password

Active forwards:
        splunk.example.com:9997 (ssl)
Configured but inactive forwards:
        None&lt;/LI-CODE&gt;&lt;P&gt;The command requires authentication, so you'll need to know the local Splunk admin username and password defined at install time.&lt;/P&gt;&lt;P&gt;If the local management port is disabled, the command will not be available. You can otherwise search local logs for forwarding activity:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Select-String -Path "C:\Program Files\SplunkUniversalForwarder\var\log\splunk\splunkd.log" -Pattern "Connected to idx="

Select-String -Path "C:\Program Files\SplunkUniversalForwarder\var\log\splunk\metrics.log" -Pattern "group=per_index_thruput, series=`"_internal`""&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Feb 2025 02:15:18 GMT</pubDate>
    <dc:creator>tscroggins</dc:creator>
    <dc:date>2025-02-10T02:15:18Z</dc:date>
    <item>
      <title>powershell command to check if splunk is forwarding logs to splunk console</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/powershell-command-to-check-if-splunk-is-forwarding-logs-to/m-p/710153#M21505</link>
      <description>&lt;P&gt;Is there a powershell command to find out if splunk is indeed forwarding logs to splunk console? I can check if agent is installed andrunning but how about forwarding?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which log should i check for?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 15:16:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/powershell-command-to-check-if-splunk-is-forwarding-logs-to/m-p/710153#M21505</guid>
      <dc:creator>LinkLoop</dc:creator>
      <dc:date>2025-01-29T15:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: powershell command to check if splunk is forwarding logs to splunk console</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/powershell-command-to-check-if-splunk-is-forwarding-logs-to/m-p/711067#M21579</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/274285"&gt;@LinkLoop&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You can verify Splunk is connected to outputs with the &lt;EM&gt;list forward-server&lt;/EM&gt; command:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;&amp;amp; "C:\Program Files\SplunkUniversalForwarder\bin\splunk.exe" list forward-server -auth admin:password

Active forwards:
        splunk.example.com:9997 (ssl)
Configured but inactive forwards:
        None&lt;/LI-CODE&gt;&lt;P&gt;The command requires authentication, so you'll need to know the local Splunk admin username and password defined at install time.&lt;/P&gt;&lt;P&gt;If the local management port is disabled, the command will not be available. You can otherwise search local logs for forwarding activity:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Select-String -Path "C:\Program Files\SplunkUniversalForwarder\var\log\splunk\splunkd.log" -Pattern "Connected to idx="

Select-String -Path "C:\Program Files\SplunkUniversalForwarder\var\log\splunk\metrics.log" -Pattern "group=per_index_thruput, series=`"_internal`""&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 02:15:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/powershell-command-to-check-if-splunk-is-forwarding-logs-to/m-p/711067#M21579</guid>
      <dc:creator>tscroggins</dc:creator>
      <dc:date>2025-02-10T02:15:18Z</dc:date>
    </item>
  </channel>
</rss>

