<?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 to get Splunk port using Splunk Java SDK? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-to-get-Splunk-port-using-Splunk-Java-SDK/m-p/564580#M10040</link>
    <description>&lt;P&gt;Is there any way to find out the port on which Splunk is set up programmatically using Splunk Java SDK? Basically to read the entry from&amp;nbsp;&lt;SPAN&gt;$SPLUNK_HOME/etc/system/local/web.conf?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Aug 2021 16:30:00 GMT</pubDate>
    <dc:creator>kinjalmistry</dc:creator>
    <dc:date>2021-08-24T16:30:00Z</dc:date>
    <item>
      <title>How to get Splunk port using Splunk Java SDK?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-get-Splunk-port-using-Splunk-Java-SDK/m-p/564580#M10040</link>
      <description>&lt;P&gt;Is there any way to find out the port on which Splunk is set up programmatically using Splunk Java SDK? Basically to read the entry from&amp;nbsp;&lt;SPAN&gt;$SPLUNK_HOME/etc/system/local/web.conf?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 16:30:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-get-Splunk-port-using-Splunk-Java-SDK/m-p/564580#M10040</guid>
      <dc:creator>kinjalmistry</dc:creator>
      <dc:date>2021-08-24T16:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Splunk port using Splunk Java SDK?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-get-Splunk-port-using-Splunk-Java-SDK/m-p/564593#M10041</link>
      <description>&lt;P&gt;Use the SDK to send the REST command &lt;FONT face="courier new,courier"&gt;/services/configs/conf-web&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 17:36:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-get-Splunk-port-using-Splunk-Java-SDK/m-p/564593#M10041</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-08-24T17:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Splunk port using Splunk Java SDK?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-get-Splunk-port-using-Splunk-Java-SDK/m-p/564599#M10042</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The Java SDK has a class named "Settings" with methods to retrieve host and port values, among other settings.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Or use REST directly, as Rich said. Many ways to skin a cat. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 18:35:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-get-Splunk-port-using-Splunk-Java-SDK/m-p/564599#M10042</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2021-08-24T18:35:03Z</dc:date>
    </item>
  </channel>
</rss>

