<?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 How do I log in using the Splunk REST API with java? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-log-in-using-the-Splunk-REST-API-with-java/m-p/121449#M25179</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;How do I log in using Splunk RESTful API? I can only find examples in curl. Would be nice if anyone could send some java code example on how to translate curl into java.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.2/RESTREF/RESTaccessExamples"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.2/RESTREF/RESTaccessExamples&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 02 Apr 2015 11:19:06 GMT</pubDate>
    <dc:creator>deanilol</dc:creator>
    <dc:date>2015-04-02T11:19:06Z</dc:date>
    <item>
      <title>How do I log in using the Splunk REST API with java?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-log-in-using-the-Splunk-REST-API-with-java/m-p/121449#M25179</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;How do I log in using Splunk RESTful API? I can only find examples in curl. Would be nice if anyone could send some java code example on how to translate curl into java.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.2/RESTREF/RESTaccessExamples"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.2/RESTREF/RESTaccessExamples&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 11:19:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-log-in-using-the-Splunk-REST-API-with-java/m-p/121449#M25179</guid>
      <dc:creator>deanilol</dc:creator>
      <dc:date>2015-04-02T11:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do I log in using the Splunk REST API with java?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-log-in-using-the-Splunk-REST-API-with-java/m-p/121450#M25180</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;You can try using splunk Java SDK for accessing splunk functionality in java. You can find more details at &lt;A href="http://dev.splunk.com/java"&gt;http://dev.splunk.com/java&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Java SDK have various utility classes which can be used to perform any splunk operation.&lt;/P&gt;

&lt;P&gt;Few examples using Java SDK are mentioned here: &lt;A href="http://dev.splunk.com/view/java-sdk/SP-CAAAEFH"&gt;http://dev.splunk.com/view/java-sdk/SP-CAAAEFH&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks!!!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 11:31:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-log-in-using-the-Splunk-REST-API-with-java/m-p/121450#M25180</guid>
      <dc:creator>vganjare</dc:creator>
      <dc:date>2015-04-02T11:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I log in using the Splunk REST API with java?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-log-in-using-the-Splunk-REST-API-with-java/m-p/121451#M25181</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Thanks for the fast response!&lt;/P&gt;

&lt;P&gt;I wan't to create dashboards from java code and from what I've read one is not possible to do this with Splunk SDK. I found this link that might solve my problem but for that I need to connect to the REST API. &lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/201952/can-you-use-the-splunk-rest-api-or-javascript-sdk.html?utm_source=typeahead&amp;amp;utm_medium=newquestion&amp;amp;utm_campaign=ahdefault"&gt;http://answers.splunk.com/answers/201952/can-you-use-the-splunk-rest-api-or-javascript-sdk.html?utm_source=typeahead&amp;amp;utm_medium=newquestion&amp;amp;utm_campaign=ahdefault&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 13:41:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-log-in-using-the-Splunk-REST-API-with-java/m-p/121451#M25181</guid>
      <dc:creator>deanilol</dc:creator>
      <dc:date>2015-04-02T13:41:20Z</dc:date>
    </item>
  </channel>
</rss>

