I have defined two endpoints in setup.xml.
one is a custom endpoint and other is storage/passwords.
There is username, password field in storage/passwords and is written to passwords.conf
custom endpoint writes to customfile.conf
I want to have username field also write to customfile.conf so that i can read the password from storage/passwords endpoint where usernames match.
How can i do this?
Thanks
See if this helps:
https://answers.splunk.com/answers/92448/store-an-api-key-encrypted.html
Hi @GuariSplunk
If you're going to post a duplicate post to get more visibility for your issue, please delete the previous post first:
https://answers.splunk.com/answers/331125/how-to-use-a-username-field-across-two-endpoints-i.html
ok. will delete prev post
This is my setup.xml
<input field="name">
<label>Username</label>
<type>text</type>
<label>Password</label>
<type>password</type>
<input field="IP_Address">
<label>Host IP Address</label>
<type>text</type>
<label>Host Port</label>
<type>text</type>
<label>Path</label>
<type>text</type>
This is for exporting file to ftp server. I need to get username from customfile.conf along with other ftp parameters and then read password.conf to get the passowrd for user from customfile.conf and then perform the export