<?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 c# Remote access using SPLUNK API in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/c-Remote-access-using-SPLUNK-API/m-p/144254#M29447</link>
    <description>&lt;P&gt;So I have a Splunk server on Linux. I can log in from Windows chrome browser (https) to my (NOT ADMIN) account, but I want to do it by application. I am trying to figure out what should be: HOST, PORT, SCHEME. Let's say I got my Splunk server on address 11.1.22.123.&lt;/P&gt;

&lt;P&gt;Should I log in on 8000 or 8089 port? What should be written in my HOST - 11.1.22.123? And SCHEME should be only https, or full website address (like &lt;A href="https://splunk.myweb.com"&gt;https://splunk.myweb.com&lt;/A&gt;)?&lt;/P&gt;

&lt;P&gt;Can I even log in on my non-admin account remotely using an application? &lt;/P&gt;</description>
    <pubDate>Mon, 27 Jul 2015 13:50:16 GMT</pubDate>
    <dc:creator>szymon_cwieka</dc:creator>
    <dc:date>2015-07-27T13:50:16Z</dc:date>
    <item>
      <title>c# Remote access using SPLUNK API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/c-Remote-access-using-SPLUNK-API/m-p/144254#M29447</link>
      <description>&lt;P&gt;So I have a Splunk server on Linux. I can log in from Windows chrome browser (https) to my (NOT ADMIN) account, but I want to do it by application. I am trying to figure out what should be: HOST, PORT, SCHEME. Let's say I got my Splunk server on address 11.1.22.123.&lt;/P&gt;

&lt;P&gt;Should I log in on 8000 or 8089 port? What should be written in my HOST - 11.1.22.123? And SCHEME should be only https, or full website address (like &lt;A href="https://splunk.myweb.com"&gt;https://splunk.myweb.com&lt;/A&gt;)?&lt;/P&gt;

&lt;P&gt;Can I even log in on my non-admin account remotely using an application? &lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2015 13:50:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/c-Remote-access-using-SPLUNK-API/m-p/144254#M29447</guid>
      <dc:creator>szymon_cwieka</dc:creator>
      <dc:date>2015-07-27T13:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: c# Remote access using SPLUNK API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/c-Remote-access-using-SPLUNK-API/m-p/144255#M29448</link>
      <description>&lt;P&gt;The port values depend on your configuration. 8089 is the default. Have you looked at the C# SDK documentation about &lt;A href="http://dev.splunk.com/view/csharp-sdk-pcl/SP-CAAAEZB"&gt;connecting&lt;/A&gt; and &lt;A href="http://dev.splunk.com/view/csharp-sdk-pcl/SP-CAAAEYW"&gt;logging on&lt;/A&gt; to Splunk Enterprise?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2015 23:42:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/c-Remote-access-using-SPLUNK-API/m-p/144255#M29448</guid>
      <dc:creator>ChrisG</dc:creator>
      <dc:date>2015-07-27T23:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: c# Remote access using SPLUNK API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/c-Remote-access-using-SPLUNK-API/m-p/144256#M29449</link>
      <description>&lt;P&gt;Yes, I have. There is no problem for me to connect to local server, on my admin account with same api, and using same code. But it's local machine, and admin account, i need connection to remote machine and on non-admin account.&lt;/P&gt;

&lt;P&gt;Question is - how to point correctly remote server in code? Normally on local machine you just put name of server, but remotely? - ip adress and server name somehow? Don't know, and that is why i am asking here &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Trying to figure out the differences between logging on local machine and remote machine; on admin acc and non-admin acc.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2015 11:05:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/c-Remote-access-using-SPLUNK-API/m-p/144256#M29449</guid>
      <dc:creator>szymon_cwieka</dc:creator>
      <dc:date>2015-07-28T11:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: c# Remote access using SPLUNK API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/c-Remote-access-using-SPLUNK-API/m-p/144257#M29450</link>
      <description>&lt;P&gt;OK, so i've done checking security, etc. Port is surely open, and there is nothing, that is blocking it. I see in my visual studio, that program is trying to get into splunk (by putting HOST as splunk ip), but still all i get is 401 error - unauthorized. At this moment i am out of ideas what should next step be.&lt;/P&gt;

&lt;P&gt;I don't know what could throw 401 error. Is it possible that it's not synchronized config of splunk and app? &lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2015 14:52:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/c-Remote-access-using-SPLUNK-API/m-p/144257#M29450</guid>
      <dc:creator>szymon_cwieka</dc:creator>
      <dc:date>2015-07-30T14:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: c# Remote access using SPLUNK API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/c-Remote-access-using-SPLUNK-API/m-p/144258#M29451</link>
      <description>&lt;P&gt;It turned out it was heck of a problem in my company, but all of troubleshooting with connection was because of that, not api or splunk. Anyway, to get this straight for anyone other wondering:&lt;BR /&gt;
Host is normal IP. I don't know how other system but from Linux server to Windows client connection is just fine.&lt;BR /&gt;
Port is - like Chris above said - depending on server configuration.&lt;BR /&gt;
Scheme was https&lt;/P&gt;

&lt;P&gt;Topic closed.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2015 00:40:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/c-Remote-access-using-SPLUNK-API/m-p/144258#M29451</guid>
      <dc:creator>szymon_cwieka</dc:creator>
      <dc:date>2015-08-24T00:40:27Z</dc:date>
    </item>
  </channel>
</rss>

