<?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: Splunk FOrwarder information in the API in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-FOrwarder-information-in-the-API/m-p/384226#M94959</link>
    <description>&lt;P&gt;Thanks for the response,, Appreciate it.. I am specifically looking for the API which can bring in the splunk forwarder information. &lt;BR /&gt;
My usecase would be enterprise wide and would not be feasible to get a report for all the splunk forwarder information.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2019 00:59:11 GMT</pubDate>
    <dc:creator>akrai</dc:creator>
    <dc:date>2019-07-11T00:59:11Z</dc:date>
    <item>
      <title>Splunk FOrwarder information in the API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-FOrwarder-information-in-the-API/m-p/384224#M94957</link>
      <description>&lt;P&gt;I need to know if my asset/ hosts/devices has splunk forwarder installed . Which API would give me that information, and what would be the column name in that API.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 00:03:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-FOrwarder-information-in-the-API/m-p/384224#M94957</guid>
      <dc:creator>akrai</dc:creator>
      <dc:date>2019-07-11T00:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk FOrwarder information in the API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-FOrwarder-information-in-the-API/m-p/384225#M94958</link>
      <description>&lt;P&gt;Not sure about an API but you could do a powershell script like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    $computers = "Computer1", "Computer2", "Computer3", "Computer4"


foreach ($computer in $computers){ 
    try {
        $result = Get-Service -ComputerName $computer | where {$_.Name -like "SplunkForwarder"}
    }
    catch {
        Write-Host "Some problem occured accessing" $computer -ForegroundColor Red
    }
    if ($result -ne $null) {
        Write-Host $computer "Has Splunk Forwarder Installed" -ForegroundColor Green
    }
    $result = $null
}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Jul 2019 00:43:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-FOrwarder-information-in-the-API/m-p/384225#M94958</guid>
      <dc:creator>nabeel652</dc:creator>
      <dc:date>2019-07-11T00:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk FOrwarder information in the API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-FOrwarder-information-in-the-API/m-p/384226#M94959</link>
      <description>&lt;P&gt;Thanks for the response,, Appreciate it.. I am specifically looking for the API which can bring in the splunk forwarder information. &lt;BR /&gt;
My usecase would be enterprise wide and would not be feasible to get a report for all the splunk forwarder information.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 00:59:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-FOrwarder-information-in-the-API/m-p/384226#M94959</guid>
      <dc:creator>akrai</dc:creator>
      <dc:date>2019-07-11T00:59:11Z</dc:date>
    </item>
  </channel>
</rss>

