<?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-reskit-powershell 401 in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/splunk-reskit-powershell-401/m-p/18190#M2461</link>
    <description>&lt;P&gt;in the future, if the answer is correct/solves your problem, please accept the answer by clicking the checkmark (i've done it for you). thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jul 2012 15:56:07 GMT</pubDate>
    <dc:creator>piebob</dc:creator>
    <dc:date>2012-07-26T15:56:07Z</dc:date>
    <item>
      <title>splunk-reskit-powershell 401</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-reskit-powershell-401/m-p/18187#M2458</link>
      <description>&lt;P&gt;I'm using splunk-reskit-powershell to access splunk, but running "Connect-Splunk -Credentials $credentials -ComputerName "$computername"" causes powershell to throw an error: "Invoke-HTTPPost : Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (401) Unauthorized.""&lt;BR /&gt;
What rights do I need in order to authenticate correctly?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2012 14:15:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-reskit-powershell-401/m-p/18187#M2458</guid>
      <dc:creator>inicholson</dc:creator>
      <dc:date>2012-07-26T14:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: splunk-reskit-powershell 401</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-reskit-powershell-401/m-p/18188#M2459</link>
      <description>&lt;P&gt;401 is very simply an authentication error. So, this means one of the connection parameters are incorrect. Try running it with the -Verbose flag and if you look at the first several lines, you'll see it restate all of the connection parameters. For example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;VERBOSE: Performing operation "Connecting to port 8089 using protocol https with timeout 10000 (ms)" on Target "bd-idx-01.bd.splunk.com".
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Double-check that the server, port, and protocol are correct. Also make sure that the credentials which you are supplying work against your Splunk instance.&lt;/P&gt;

&lt;P&gt;The credentials that you supply need to have the same rights as what you expect to see when you connect. If you have an admin account, try that just to rule that out as an issue. I just tested a non-admin account and was able to connect to my search head, but not an indexer, so take that into consideration.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2012 14:24:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-reskit-powershell-401/m-p/18188#M2459</guid>
      <dc:creator>halr9000</dc:creator>
      <dc:date>2012-07-26T14:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: splunk-reskit-powershell 401</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-reskit-powershell-401/m-p/18189#M2460</link>
      <description>&lt;P&gt;Figured it out!  I was trying to authenticate with "username$domain.tld", but splunk was expecting "username".&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2012 15:27:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-reskit-powershell-401/m-p/18189#M2460</guid>
      <dc:creator>inicholson</dc:creator>
      <dc:date>2012-07-26T15:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: splunk-reskit-powershell 401</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-reskit-powershell-401/m-p/18190#M2461</link>
      <description>&lt;P&gt;in the future, if the answer is correct/solves your problem, please accept the answer by clicking the checkmark (i've done it for you). thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2012 15:56:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-reskit-powershell-401/m-p/18190#M2461</guid>
      <dc:creator>piebob</dc:creator>
      <dc:date>2012-07-26T15:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: splunk-reskit-powershell 401</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-reskit-powershell-401/m-p/18191#M2462</link>
      <description>&lt;P&gt;Thanks That works for me. Also, I included my domain name in my user id&lt;BR /&gt;
EX:&lt;BR /&gt;
$userName = &lt;A href="mailto:Me@domain.com"&gt;Me@domain.com&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Changed it to&lt;BR /&gt;
$userName = Me&lt;/P&gt;

&lt;P&gt;and it worked after that... It's always the little things &lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2015 14:47:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-reskit-powershell-401/m-p/18191#M2462</guid>
      <dc:creator>E17769</dc:creator>
      <dc:date>2015-10-13T14:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: splunk-reskit-powershell 401</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-reskit-powershell-401/m-p/18192#M2463</link>
      <description>&lt;P&gt;Thanks the helped me. I included my domain name in my user name and that was the issue. &lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2015 14:49:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-reskit-powershell-401/m-p/18192#M2463</guid>
      <dc:creator>E17769</dc:creator>
      <dc:date>2015-10-13T14:49:34Z</dc:date>
    </item>
  </channel>
</rss>

