Security

how to save username field in two endpoints in setup.xml

GauriSplunk
Path Finder

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

0 Karma

Lowell
Super Champion
0 Karma

ppablo
Retired

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

0 Karma

GauriSplunk
Path Finder

ok. will delete prev post

0 Karma

GauriSplunk
Path Finder

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>
0 Karma

GauriSplunk
Path Finder

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

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...