<?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 python to golang migration | splunk api call in #Random</title>
    <link>https://community.splunk.com/t5/Random/python-to-golang-migration-splunk-api-call/m-p/533862#M100</link>
    <description>&lt;P&gt;I wish to replicate a python code that does an API call to Splunk in Golang:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import splunklib.client as client

service = client.connect(
	host=host,
	port=port,
	username=username,
	password=password,
	app=app)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;while taking reference from&amp;nbsp;&lt;A href="https://godoc.org/github.com/kuba--/splunk#NewClient" target="_blank" rel="noopener"&gt;https://godoc.org/github.com/kuba--/splunk#NewClient&lt;/A&gt;, this doesn't has the &lt;STRONG&gt;app&amp;nbsp;&lt;/STRONG&gt;argument. Can someone pls help me write this code in Golang.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukesh Chandak&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Dec 2020 16:33:26 GMT</pubDate>
    <dc:creator>mukeshchandak</dc:creator>
    <dc:date>2020-12-22T16:33:26Z</dc:date>
    <item>
      <title>python to golang migration | splunk api call</title>
      <link>https://community.splunk.com/t5/Random/python-to-golang-migration-splunk-api-call/m-p/533862#M100</link>
      <description>&lt;P&gt;I wish to replicate a python code that does an API call to Splunk in Golang:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import splunklib.client as client

service = client.connect(
	host=host,
	port=port,
	username=username,
	password=password,
	app=app)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;while taking reference from&amp;nbsp;&lt;A href="https://godoc.org/github.com/kuba--/splunk#NewClient" target="_blank" rel="noopener"&gt;https://godoc.org/github.com/kuba--/splunk#NewClient&lt;/A&gt;, this doesn't has the &lt;STRONG&gt;app&amp;nbsp;&lt;/STRONG&gt;argument. Can someone pls help me write this code in Golang.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukesh Chandak&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 16:33:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Random/python-to-golang-migration-splunk-api-call/m-p/533862#M100</guid>
      <dc:creator>mukeshchandak</dc:creator>
      <dc:date>2020-12-22T16:33:26Z</dc:date>
    </item>
  </channel>
</rss>

