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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...