<?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: C# Rest API Authentication Failed in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/C-Rest-API-Authentication-Failed/m-p/179454#M36004</link>
    <description>&lt;P&gt;Hi Damien&lt;/P&gt;

&lt;P&gt;I added the allowRemoteLogin=always, restarted Splunk service and works now.&lt;/P&gt;

&lt;P&gt;Thank you very much! Guillermo&lt;/P&gt;</description>
    <pubDate>Mon, 16 Dec 2013 10:41:00 GMT</pubDate>
    <dc:creator>gmusumeci</dc:creator>
    <dc:date>2013-12-16T10:41:00Z</dc:date>
    <item>
      <title>C# Rest API Authentication Failed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/C-Rest-API-Authentication-Failed/m-p/179449#M35999</link>
      <description>&lt;P&gt;I have an app on C# that writes directly into Splunk index (without forwarder). &lt;/P&gt;

&lt;P&gt;I tested it on our prod environment running Splunk Enterprise and the Trial and works fine. &lt;/P&gt;

&lt;P&gt;But when I run the tool on my development server running Splunk Free the app is stop working.&lt;/P&gt;

&lt;P&gt;The error I got is "The remote server returned an error: (401) Unauthorized."&lt;/P&gt;

&lt;P&gt;Look like authentication is disable on free version. &lt;/P&gt;

&lt;P&gt;I believe C# SDK for Splunk works only with authorized connection.&lt;/P&gt;

&lt;P&gt;Anyone can confirm if auhtentication is disabled or write is not allowed on the Free version?&lt;/P&gt;

&lt;P&gt;Thanks! Guillermo&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2013 03:10:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/C-Rest-API-Authentication-Failed/m-p/179449#M35999</guid>
      <dc:creator>gmusumeci</dc:creator>
      <dc:date>2013-12-16T03:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: C# Rest API Authentication Failed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/C-Rest-API-Authentication-Failed/m-p/179450#M36000</link>
      <description>&lt;P&gt;It works on free version, i have tested it&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2013 05:45:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/C-Rest-API-Authentication-Failed/m-p/179450#M36000</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2013-12-16T05:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: C# Rest API Authentication Failed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/C-Rest-API-Authentication-Failed/m-p/179451#M36001</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Thank you for your response.&lt;/P&gt;

&lt;P&gt;Any ideas what can cause the error on free version? The code works fine with enterprise.&lt;/P&gt;

&lt;P&gt;Can you please post an example how to write directly into indexer?&lt;/P&gt;

&lt;P&gt;Thanks! Guillermo&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2013 06:02:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/C-Rest-API-Authentication-Failed/m-p/179451#M36001</guid>
      <dc:creator>gmusumeci</dc:creator>
      <dc:date>2013-12-16T06:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: C# Rest API Authentication Failed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/C-Rest-API-Authentication-Failed/m-p/179452#M36002</link>
      <description>&lt;P&gt;There is no code which i can share here, I had tried it and it was working. You can apply a little exception handling to see where and what exactly the error is.&lt;/P&gt;

&lt;P&gt;I guess you might have seen this already:&lt;BR /&gt;
_&lt;A href="http://dev.splunk.com/view/csharp-sdk/SP-CAAAEQE"&gt;http://dev.splunk.com/view/csharp-sdk/SP-CAAAEQE&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2013 09:39:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/C-Rest-API-Authentication-Failed/m-p/179452#M36002</guid>
      <dc:creator>linu1988</dc:creator>
      <dc:date>2013-12-16T09:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: C# Rest API Authentication Failed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/C-Rest-API-Authentication-Failed/m-p/179453#M36003</link>
      <description>&lt;P&gt;In your server.conf file on your Free License version of Splunk , what is your allowRemoteLogin value set to ? Try "always".&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/Admin/Serverconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.0/Admin/Serverconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also , you might want to look a signing up for a &lt;A href="http://dev.splunk.com/page/developer_license_sign_up"&gt;Splunk developer license&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2013 10:23:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/C-Rest-API-Authentication-Failed/m-p/179453#M36003</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2013-12-16T10:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: C# Rest API Authentication Failed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/C-Rest-API-Authentication-Failed/m-p/179454#M36004</link>
      <description>&lt;P&gt;Hi Damien&lt;/P&gt;

&lt;P&gt;I added the allowRemoteLogin=always, restarted Splunk service and works now.&lt;/P&gt;

&lt;P&gt;Thank you very much! Guillermo&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2013 10:41:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/C-Rest-API-Authentication-Failed/m-p/179454#M36004</guid>
      <dc:creator>gmusumeci</dc:creator>
      <dc:date>2013-12-16T10:41:00Z</dc:date>
    </item>
  </channel>
</rss>

