<?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 SOAP API data input - Maintaining Auth in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/SOAP-API-data-input-Maintaining-Auth/m-p/369340#M67057</link>
    <description>&lt;P&gt;I have a user who has a SOAP API they would like to collect data from and Index.  I can authenticate to the SOAP API using normal HTTP digest authentication with username and password.  The authentication generates a token "" in the Response XML.  The token has a timeout of 30 minutes.  After 30 minutes I have to call the AuthService URI again to get a new token.  &lt;/P&gt;

&lt;P&gt;My question is this.  How can I pass the XML authToken from the first XML response into other data inputs?  I have other Data Inputs that actually pull data from the API that need the refresh of the auth token in their POST body.&lt;/P&gt;

&lt;P&gt;One last note.  I'm using the "REST API Modular input" on Splunkbase to get the Auth request working.  But I'm open to other routes.&lt;/P&gt;

&lt;P&gt;Any Tips or Tricks?  The API is pretty old and doesn't have a REST equivalent.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 20 Mar 2018 23:47:57 GMT</pubDate>
    <dc:creator>ctripod</dc:creator>
    <dc:date>2018-03-20T23:47:57Z</dc:date>
    <item>
      <title>SOAP API data input - Maintaining Auth</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/SOAP-API-data-input-Maintaining-Auth/m-p/369340#M67057</link>
      <description>&lt;P&gt;I have a user who has a SOAP API they would like to collect data from and Index.  I can authenticate to the SOAP API using normal HTTP digest authentication with username and password.  The authentication generates a token "" in the Response XML.  The token has a timeout of 30 minutes.  After 30 minutes I have to call the AuthService URI again to get a new token.  &lt;/P&gt;

&lt;P&gt;My question is this.  How can I pass the XML authToken from the first XML response into other data inputs?  I have other Data Inputs that actually pull data from the API that need the refresh of the auth token in their POST body.&lt;/P&gt;

&lt;P&gt;One last note.  I'm using the "REST API Modular input" on Splunkbase to get the Auth request working.  But I'm open to other routes.&lt;/P&gt;

&lt;P&gt;Any Tips or Tricks?  The API is pretty old and doesn't have a REST equivalent.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 23:47:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/SOAP-API-data-input-Maintaining-Auth/m-p/369340#M67057</guid>
      <dc:creator>ctripod</dc:creator>
      <dc:date>2018-03-20T23:47:57Z</dc:date>
    </item>
  </channel>
</rss>

