<?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: Not able to add windows host in insight for infrastructure. in Splunk ITSI</title>
    <link>https://community.splunk.com/t5/Splunk-ITSI/Not-able-to-add-windows-host-in-insight-for-infrastructure/m-p/410690#M968</link>
    <description>&lt;P&gt;I got this huge error after changing the IP address of the monitoring machine to 192.168.4.144 (Splunk Server):&lt;BR /&gt;
[&lt;EM&gt;] Install Splunk Universal Forwarder on localhost&lt;BR /&gt;
[&lt;/EM&gt;] indexer server: 192.168.4.144:9997&lt;BR /&gt;
[*] checking for previous installations of splunk&amp;gt;...&lt;BR /&gt;
[!] install directory already exists. continuing to congure ..&lt;BR /&gt;
out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\outputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:78 char:1&lt;BR /&gt;
+ echo "[tcpout]" &amp;gt; $outputsconf&lt;BR /&gt;
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\outputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:79 char:1&lt;BR /&gt;
+ echo "defaultGroup = default-autolb-group" &amp;gt;&amp;gt; $outputsconf&lt;BR /&gt;
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\outputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:80 char:1&lt;BR /&gt;
+ echo "" &amp;gt;&amp;gt; $outputsconf&lt;BR /&gt;
+ ~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\outputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:81 char:1&lt;BR /&gt;
+ echo "[tcpout:default-autolb-group]" &amp;gt;&amp;gt; $outputsconf&lt;BR /&gt;
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:195 char:3&lt;BR /&gt;
+   echo "`n" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+   ~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:194 char:3&lt;BR /&gt;
+   echo "_meta = $dims" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:195 char:3&lt;BR /&gt;
+   echo "`n" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+   ~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:215 char:5&lt;BR /&gt;
+     echo "[monitor://$log_source]" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:216 char:5&lt;BR /&gt;
+     echo "sourcetype = $log_sourcetype" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:218 char:5&lt;BR /&gt;
+     echo "&lt;CODE&gt;r&lt;/CODE&gt;n" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+     ~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:210 char:5&lt;BR /&gt;
+     echo "[WinEventLog://$log_source]" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:211 char:5&lt;BR /&gt;
+     echo "$eventlog_options" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:212 char:5&lt;BR /&gt;
+     echo "&lt;CODE&gt;r&lt;/CODE&gt;n" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+     ~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:210 char:5&lt;BR /&gt;
+     echo "[WinEventLog://$log_source]" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:210 char:5&lt;BR /&gt;
+     echo "[WinEventLog://$log_source]" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:211 char:5&lt;BR /&gt;
+     echo "$eventlog_options" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:212 char:5&lt;BR /&gt;
+     echo "&lt;CODE&gt;r&lt;/CODE&gt;n" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+     ~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;[*] Restarting splunk&amp;gt; universal fowarder&lt;BR /&gt;
&amp;amp; : The term 'C:\Program Files (x86)\SplunkUniversalForwarder\bin\splunk.exe' is not recognized as the name of a&lt;BR /&gt;
cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify&lt;BR /&gt;
that the path is correct and try again.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:227 char:3&lt;BR /&gt;
+ &amp;amp; "$splunkexe" restart&lt;BR /&gt;
+   ~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : ObjectNotFound: (C:\Program File...\bin\splunk.exe:String) [], CommandNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : CommandNotFoundException&lt;/P&gt;

&lt;P&gt;[!] splunk process not running!&lt;BR /&gt;
[!] check to make sure installation was successful.&lt;/P&gt;

&lt;P&gt;What should I do further, please suggest...&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 21:40:01 GMT</pubDate>
    <dc:creator>nologin</dc:creator>
    <dc:date>2020-09-29T21:40:01Z</dc:date>
    <item>
      <title>Not able to add windows host in insight for infrastructure.</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/Not-able-to-add-windows-host-in-insight-for-infrastructure/m-p/410682#M960</link>
      <description>&lt;P&gt;According to my setup insight for infrastructure is installed on a centos 7 machine and I'm trying to add windows 10 host. Below is the error code which i get at the time of adding windows host. &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Exception calling "DownloadFile" with "2" argument(s): "Unable to connect to the remote server"                         At line:1 char:705                                                                                                      + ... n $files) { $web.DownloadFile("&lt;A href="https://192.168.4.142:8000/en-US/stati" target="_blank"&gt;https://192.168.4.142:8000/en-US/stati&lt;/A&gt; ...                                         +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                 + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException                                               + FullyQualifiedErrorId : WebException&lt;BR /&gt;&lt;BR /&gt;
Exception calling "DownloadFile" with "2" argument(s): "Unable to connect to the remote server"                         At line:1 char:705                                                                                                      + ... n $files) { $web.DownloadFile("&lt;A href="https://192.168.4.142:8000/en-US/stati" target="_blank"&gt;https://192.168.4.142:8000/en-US/stati&lt;/A&gt; ...                                         +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                 + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException                                               + FullyQualifiedErrorId : WebException&lt;BR /&gt;&lt;BR /&gt;
.\install_uf.ps1 : The term '.\install_uf.ps1' is not recognized as the name of a cmdlet, function, script file, or     operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try    again.                                                                                                                  At line:1 char:924                                                                                                      + ... erCertificateValidationCallback = $null; if ($?) { .\install_uf.ps1 }                                             +                                                        ~~~~~~~~~~~~~~~~                                                   + CategoryInfo          : ObjectNotFound: (.\install_uf.ps1:String) [], CommandNotFoundException                        + FullyQualifiedErrorId : CommandNotFoundException&lt;/STRONG&gt;  &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:31:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/Not-able-to-add-windows-host-in-insight-for-infrastructure/m-p/410682#M960</guid>
      <dc:creator>nologin</dc:creator>
      <dc:date>2020-09-29T21:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to add windows host in insight for infrastructure.</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/Not-able-to-add-windows-host-in-insight-for-infrastructure/m-p/410683#M961</link>
      <description>&lt;P&gt;Did you check firewall on both Splunk server and Windows 10 host? Can you react(ping) Splunk from Windows host?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 09:27:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/Not-able-to-add-windows-host-in-insight-for-infrastructure/m-p/410683#M961</guid>
      <dc:creator>dauren_akilbeko</dc:creator>
      <dc:date>2018-10-08T09:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to add windows host in insight for infrastructure.</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/Not-able-to-add-windows-host-in-insight-for-infrastructure/m-p/410684#M962</link>
      <description>&lt;P&gt;Thank you @dauren_akilbekov for your reply.&lt;/P&gt;

&lt;P&gt;Below is the ping report from windows host to the splunk (Insight for Infrastructure) server, also I'm able to connect to the port 8000, 9997 and so on to the splunk server. I've no clue what to check on to, please suggest further. &lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;ping 192.168.4.144            &lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Pinging 192.168.4.144 with 32 bytes of data:&lt;BR /&gt;&lt;BR /&gt;
Reply from 192.168.4.144: bytes=32 time&amp;lt;1ms TTL=64&lt;BR /&gt;&lt;BR /&gt;
Reply from 192.168.4.144: bytes=32 time&amp;lt;1ms TTL=64&lt;BR /&gt;&lt;BR /&gt;
Reply from 192.168.4.144: bytes=32 time&amp;lt;1ms TTL=64&lt;BR /&gt;&lt;BR /&gt;
Reply from 192.168.4.144: bytes=32 time&amp;lt;1ms TTL=64                                                                                                                                                                                              &lt;/P&gt;

&lt;P&gt;Ping statistics for 192.168.4.144:&lt;BR /&gt;&lt;BR /&gt;
      Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),&lt;BR /&gt;&lt;BR /&gt;
 Approximate round trip times in milli-seconds:&lt;BR /&gt;&lt;BR /&gt;
    Minimum = 0ms, Maximum = 0ms, Average = 0ms    &lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 07:55:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/Not-able-to-add-windows-host-in-insight-for-infrastructure/m-p/410684#M962</guid>
      <dc:creator>nologin</dc:creator>
      <dc:date>2018-10-09T07:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to add windows host in insight for infrastructure.</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/Not-able-to-add-windows-host-in-insight-for-infrastructure/m-p/410685#M963</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;Below is the ping report from windows host to the splunk (Insight for Infrastructure) server  &lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;How come that report has the IP address 192.168.4.144 while the script is trying to connect to a Splunk instance on 192.168.4.142?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 19:54:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/Not-able-to-add-windows-host-in-insight-for-infrastructure/m-p/410685#M963</guid>
      <dc:creator>pwu_splunk</dc:creator>
      <dc:date>2018-10-09T19:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to add windows host in insight for infrastructure.</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/Not-able-to-add-windows-host-in-insight-for-infrastructure/m-p/410686#M964</link>
      <description>&lt;P&gt;First of all let me share you my current setup:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Splunk (Insight for Infrastructure) Server (OS: Centos-7, IP address: 192.168.4.144)&lt;/LI&gt;
&lt;LI&gt;Host to be monitored (OS: Windows-10, IP address: 192.168.4.142)&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;And I shared the above ping report as @dauren_akilbekov asked me for a ping check from Windows host to Splunk server.  Actually both the machine are able to reach (ping) each other but the problem still persists, is there any thing that needs to be modified on the Windows host or to the server side? &lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 05:53:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/Not-able-to-add-windows-host-in-insight-for-infrastructure/m-p/410686#M964</guid>
      <dc:creator>nologin</dc:creator>
      <dc:date>2018-10-10T05:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to add windows host in insight for infrastructure.</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/Not-able-to-add-windows-host-in-insight-for-infrastructure/m-p/410687#M965</link>
      <description>&lt;P&gt;No, there's no special setup. The confusing thing is that the original error code says it was run with the reverse setup (Splunk at 192.168.4.142).&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 18:33:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/Not-able-to-add-windows-host-in-insight-for-infrastructure/m-p/410687#M965</guid>
      <dc:creator>pwu_splunk</dc:creator>
      <dc:date>2018-10-10T18:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to add windows host in insight for infrastructure.</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/Not-able-to-add-windows-host-in-insight-for-infrastructure/m-p/410688#M966</link>
      <description>&lt;P&gt;So shall I change the IP address to 192.168.4.144 on the clipboard code and try once? &lt;BR /&gt;
 And I got the original error code  after I added the IP of the host to be monitored. &lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 06:33:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/Not-able-to-add-windows-host-in-insight-for-infrastructure/m-p/410688#M966</guid>
      <dc:creator>nologin</dc:creator>
      <dc:date>2018-10-11T06:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to add windows host in insight for infrastructure.</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/Not-able-to-add-windows-host-in-insight-for-infrastructure/m-p/410689#M967</link>
      <description>&lt;P&gt;"So shall I change the IP address to 192.168.4.144 on the clipboard code and try once? "&lt;BR /&gt;
Yes, try that. &lt;/P&gt;

&lt;P&gt;"And I got the original error code after I added the IP of the host to be monitored."&lt;BR /&gt;
The field is "Monitoring machine (Specify the hostname or IP address of the machine you want to send data to)". This is not supposed to be the IP address of the machine that is to be monitored but the machine that is doing the monitoring [1].&lt;/P&gt;

&lt;P&gt;[1] In most cases, this is the machine that has SAI/SII installed. The exception is with SAI installed on a distributed Splunk deployment.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 18:21:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/Not-able-to-add-windows-host-in-insight-for-infrastructure/m-p/410689#M967</guid>
      <dc:creator>pwu_splunk</dc:creator>
      <dc:date>2018-10-11T18:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to add windows host in insight for infrastructure.</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/Not-able-to-add-windows-host-in-insight-for-infrastructure/m-p/410690#M968</link>
      <description>&lt;P&gt;I got this huge error after changing the IP address of the monitoring machine to 192.168.4.144 (Splunk Server):&lt;BR /&gt;
[&lt;EM&gt;] Install Splunk Universal Forwarder on localhost&lt;BR /&gt;
[&lt;/EM&gt;] indexer server: 192.168.4.144:9997&lt;BR /&gt;
[*] checking for previous installations of splunk&amp;gt;...&lt;BR /&gt;
[!] install directory already exists. continuing to congure ..&lt;BR /&gt;
out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\outputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:78 char:1&lt;BR /&gt;
+ echo "[tcpout]" &amp;gt; $outputsconf&lt;BR /&gt;
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\outputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:79 char:1&lt;BR /&gt;
+ echo "defaultGroup = default-autolb-group" &amp;gt;&amp;gt; $outputsconf&lt;BR /&gt;
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\outputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:80 char:1&lt;BR /&gt;
+ echo "" &amp;gt;&amp;gt; $outputsconf&lt;BR /&gt;
+ ~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\outputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:81 char:1&lt;BR /&gt;
+ echo "[tcpout:default-autolb-group]" &amp;gt;&amp;gt; $outputsconf&lt;BR /&gt;
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:195 char:3&lt;BR /&gt;
+   echo "`n" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+   ~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:194 char:3&lt;BR /&gt;
+   echo "_meta = $dims" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:195 char:3&lt;BR /&gt;
+   echo "`n" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+   ~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:215 char:5&lt;BR /&gt;
+     echo "[monitor://$log_source]" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:216 char:5&lt;BR /&gt;
+     echo "sourcetype = $log_sourcetype" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:218 char:5&lt;BR /&gt;
+     echo "&lt;CODE&gt;r&lt;/CODE&gt;n" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+     ~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:210 char:5&lt;BR /&gt;
+     echo "[WinEventLog://$log_source]" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:211 char:5&lt;BR /&gt;
+     echo "$eventlog_options" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:212 char:5&lt;BR /&gt;
+     echo "&lt;CODE&gt;r&lt;/CODE&gt;n" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+     ~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:210 char:5&lt;BR /&gt;
+     echo "[WinEventLog://$log_source]" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:210 char:5&lt;BR /&gt;
+     echo "[WinEventLog://$log_source]" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:211 char:5&lt;BR /&gt;
+     echo "$eventlog_options" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;out-file : Could not find a part of the path 'C:\Program Files&lt;BR /&gt;
(x86)\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local\inputs.conf'.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:212 char:5&lt;BR /&gt;
+     echo "&lt;CODE&gt;r&lt;/CODE&gt;n" &amp;gt;&amp;gt; $inputconf&lt;BR /&gt;
+     ~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand&lt;/P&gt;

&lt;P&gt;[*] Restarting splunk&amp;gt; universal fowarder&lt;BR /&gt;
&amp;amp; : The term 'C:\Program Files (x86)\SplunkUniversalForwarder\bin\splunk.exe' is not recognized as the name of a&lt;BR /&gt;
cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify&lt;BR /&gt;
that the path is correct and try again.&lt;BR /&gt;
At C:\Windows\system32\install_uf_script.ps1:227 char:3&lt;BR /&gt;
+ &amp;amp; "$splunkexe" restart&lt;BR /&gt;
+   ~~~~~~~~~~~~&lt;BR /&gt;
    + CategoryInfo          : ObjectNotFound: (C:\Program File...\bin\splunk.exe:String) [], CommandNotFoundException&lt;BR /&gt;
    + FullyQualifiedErrorId : CommandNotFoundException&lt;/P&gt;

&lt;P&gt;[!] splunk process not running!&lt;BR /&gt;
[!] check to make sure installation was successful.&lt;/P&gt;

&lt;P&gt;What should I do further, please suggest...&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:40:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/Not-able-to-add-windows-host-in-insight-for-infrastructure/m-p/410690#M968</guid>
      <dc:creator>nologin</dc:creator>
      <dc:date>2020-09-29T21:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to add windows host in insight for infrastructure.</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/Not-able-to-add-windows-host-in-insight-for-infrastructure/m-p/410691#M969</link>
      <description>&lt;P&gt;I think running the script with the wrong parameters the first time may have screwed something up. I don't know what's going on, but I'd suggest uninstalling the SplunkUniversalForwarder from the target machine (and making sure that C:\Program Files (x86)\SplunkUniversalForwarder no longer exists) and retrying the installation snippet. &lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 20:36:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/Not-able-to-add-windows-host-in-insight-for-infrastructure/m-p/410691#M969</guid>
      <dc:creator>pwu_splunk</dc:creator>
      <dc:date>2018-10-22T20:36:46Z</dc:date>
    </item>
  </channel>
</rss>

