<?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 to test that Splunk has access to UNC input? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-test-that-Splunk-has-access-to-UNC-input/m-p/152812#M31122</link>
    <description>&lt;P&gt;Close to impossible on Windows, but here's a solution. There is no built-in facility in Splunk to test accessability of the given data input and see if Splunk has access to it this moment or not.&lt;BR /&gt;
To be able to test if Windows' local system account (on behalf of which Splunk is running) has access to UNC location we need to launch CMD (command prompt) running on behalf of local system account.&lt;BR /&gt;
Please note this is not the same as Administrator.&lt;BR /&gt;
To launch CMD on behalf of local system account do this:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Download pstools from here: &lt;A href="http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx"&gt;http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Run &lt;CODE&gt;.\PSTools\PSEXEC -i -s -d CMD&lt;/CODE&gt;  (this will create desired command prompt)&lt;/LI&gt;
&lt;LI&gt;Within new CMD window issue: &lt;CODE&gt;dir \\server123\share4&lt;/CODE&gt; to test access and visibility&lt;/LI&gt;
&lt;LI&gt;Alternatively you may access share via IP address (if you get warning about duplicate resource or so)&lt;/LI&gt;
&lt;LI&gt;Alternatively - if that share requires username password do this:
&lt;CODE&gt;net use x: \\server123\share4 PassW0Rd /user:Username&lt;/CODE&gt;

&lt;UL&gt;
&lt;LI&gt;and then test accessability via &lt;CODE&gt;dir X:\&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Thu, 11 Jun 2015 18:22:36 GMT</pubDate>
    <dc:creator>gesman</dc:creator>
    <dc:date>2015-06-11T18:22:36Z</dc:date>
    <item>
      <title>How to test that Splunk has access to UNC input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-test-that-Splunk-has-access-to-UNC-input/m-p/152809#M31119</link>
      <description>&lt;P&gt;We have Splunk on Windows instance that is used to monitor UNC input like &lt;CODE&gt;\\server123\share4&lt;/CODE&gt;&lt;BR /&gt;
This worked well until the permissions on &lt;CODE&gt;share4&lt;/CODE&gt; were adjusted to tighten security. This caused Splunk to silently lose visibility of files on that share.&lt;/P&gt;

&lt;P&gt;We want to re-configure permission to make sure Splunk can see the data, but is there any tool or approach that quickly shows that given Splunk instance can/cannot read data on specified network share?&lt;/P&gt;

&lt;P&gt;Alternatively - is it possible to change existing splunk windows installation to run on behalf of different domain/user (instead of local system account)?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2015 15:45:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-test-that-Splunk-has-access-to-UNC-input/m-p/152809#M31119</guid>
      <dc:creator>gesman</dc:creator>
      <dc:date>2015-06-10T15:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to test that Splunk has access to UNC input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-test-that-Splunk-has-access-to-UNC-input/m-p/152810#M31120</link>
      <description>&lt;P&gt;While it's not a proper answer to the question, reasons like this is why I have converted all but the most ephemeral uses of UNC pathnames for monitor stanzas to the &lt;STRONG&gt;Universal Forwarder&lt;/STRONG&gt;.  &lt;/P&gt;

&lt;P&gt;The UF can then read local files from local disk on the server involved then forward them in.   More efficient in several ways, and seems to be far more robust as well.  With a Deployment Server set up, it's also just as easy to manage (actually easier if you are reading the same or similar files from multiple hosts).&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2015 16:03:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-test-that-Splunk-has-access-to-UNC-input/m-p/152810#M31120</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2015-06-10T16:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to test that Splunk has access to UNC input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-test-that-Splunk-has-access-to-UNC-input/m-p/152811#M31121</link>
      <description>&lt;P&gt;I agree, but in current setup it is not possible to use UF. The only facility I can manage is share permissions.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2015 16:09:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-test-that-Splunk-has-access-to-UNC-input/m-p/152811#M31121</guid>
      <dc:creator>gesman</dc:creator>
      <dc:date>2015-06-10T16:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to test that Splunk has access to UNC input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-test-that-Splunk-has-access-to-UNC-input/m-p/152812#M31122</link>
      <description>&lt;P&gt;Close to impossible on Windows, but here's a solution. There is no built-in facility in Splunk to test accessability of the given data input and see if Splunk has access to it this moment or not.&lt;BR /&gt;
To be able to test if Windows' local system account (on behalf of which Splunk is running) has access to UNC location we need to launch CMD (command prompt) running on behalf of local system account.&lt;BR /&gt;
Please note this is not the same as Administrator.&lt;BR /&gt;
To launch CMD on behalf of local system account do this:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Download pstools from here: &lt;A href="http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx"&gt;http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Run &lt;CODE&gt;.\PSTools\PSEXEC -i -s -d CMD&lt;/CODE&gt;  (this will create desired command prompt)&lt;/LI&gt;
&lt;LI&gt;Within new CMD window issue: &lt;CODE&gt;dir \\server123\share4&lt;/CODE&gt; to test access and visibility&lt;/LI&gt;
&lt;LI&gt;Alternatively you may access share via IP address (if you get warning about duplicate resource or so)&lt;/LI&gt;
&lt;LI&gt;Alternatively - if that share requires username password do this:
&lt;CODE&gt;net use x: \\server123\share4 PassW0Rd /user:Username&lt;/CODE&gt;

&lt;UL&gt;
&lt;LI&gt;and then test accessability via &lt;CODE&gt;dir X:\&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 11 Jun 2015 18:22:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-test-that-Splunk-has-access-to-UNC-input/m-p/152812#M31122</guid>
      <dc:creator>gesman</dc:creator>
      <dc:date>2015-06-11T18:22:36Z</dc:date>
    </item>
  </channel>
</rss>

