<?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 Re: Customize globalConfig.json in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Customize-globalConfig-json/m-p/704795#M11747</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263556"&gt;@marnall&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;I see what you mean but doing it this way will apply the same login password to all inputs. That's not what I'm looking for &lt;span class="lia-unicode-emoji" title=":slightly_frowning_face:"&gt;🙁&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The ‘best way’ for me is to use this &lt;A href="https://community.splunk.com/t5/Getting-Data-In/Splunk-Add-on-Builder-Global-Account-settings/m-p/570565" target="_blank"&gt;solution&lt;/A&gt; and stop editing my application using Add-on Builder. And if I need to update my application with Add-on Builder, I have to restore the files (globalConfig and &amp;lt;input&amp;gt;_rh_account) manually.&lt;/P&gt;&lt;P&gt;Normally, I'll be taking part in the application building course on Monday. If I get the answer, I'll update this post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a good day&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Nov 2024 08:56:40 GMT</pubDate>
    <dc:creator>Wonamor</dc:creator>
    <dc:date>2024-11-20T08:56:40Z</dc:date>
    <item>
      <title>Customize globalConfig.json</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Customize-globalConfig-json/m-p/704459#M11741</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm trying to personalize the "configuration" tab of my app generated by add-on builder.&lt;BR /&gt;By default when we try to add an account, we enter the Account Name / Username / Password.&lt;BR /&gt;Firstly I would simply like to change the labels linked to Username and Password to replace them with Client ID and Client Secret. (and secondly add the Tenant ID field).&lt;/P&gt;&lt;P&gt;I achieved this by editing the file in $SPLUNK_HOME/etc/apps/&amp;lt;my_app&amp;gt;/appserver/static/js/build/globalConfig.json.&lt;BR /&gt;Then I incremented the version number in the app properties.&lt;BR /&gt;(as shown in this post &lt;A href="https://community.splunk.com/t5/Getting-Data-In/Splunk-Add-on-Builder-Global-Account-settings/m-p/570565" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Getting-Data-In/Splunk-Add-on-Builder-Global-Account-settings/m-p/570565&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;However when I make new modifications elsewhere in my app, the globalConfig.json file is reset to its default values.&lt;/P&gt;&lt;P&gt;Do you know how to do this?&lt;/P&gt;&lt;P&gt;Splunk Version : 9.2.1&lt;/P&gt;&lt;P&gt;Add-On Builder version : 4.3.0&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 22:59:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Customize-globalConfig-json/m-p/704459#M11741</guid>
      <dc:creator>Wonamor</dc:creator>
      <dc:date>2024-11-14T22:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Customize globalConfig.json</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Customize-globalConfig-json/m-p/704677#M11744</link>
      <description>&lt;P&gt;You may have better results by un-checking the "Global account settings" in Add-on setup parameters in the Add-On Builder and then adding your own Add-on Setup Components like a Text field for Client ID and a Password field for Client Secret, rather than attempting to re-name the account username and password.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 19:37:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Customize-globalConfig-json/m-p/704677#M11744</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2024-11-18T19:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Customize globalConfig.json</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Customize-globalConfig-json/m-p/704710#M11745</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263556"&gt;@marnall&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks a lot for your feedback !&lt;/P&gt;&lt;P&gt;I also thought about using a password field instead of Global account settings.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I will have to re-enter the client secret every time I update the input which is not a good experience for the end user.&lt;/P&gt;&lt;P&gt;Again this &lt;A href="https://community.splunk.com/t5/Getting-Data-In/Splunk-Add-on-Builder-Global-Account-settings/m-p/570565" target="_self"&gt;solution&lt;/A&gt; "works" but temporary and I don't understand why it is not persistent &lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 10:00:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Customize-globalConfig-json/m-p/704710#M11745</guid>
      <dc:creator>Wonamor</dc:creator>
      <dc:date>2024-11-19T10:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Customize globalConfig.json</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Customize-globalConfig-json/m-p/704762#M11746</link>
      <description>&lt;P&gt;No you shouldn't need to enter it every time as an input. You can make custom add-on settings which are not username/password and then these will be set once on app configuration and can be re-used for inputs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marnall_0-1732044898711.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/33515i39B34F87D8258B70/image-size/medium?v=v2&amp;amp;px=400" role="button" title="marnall_0-1732044898711.png" alt="marnall_0-1732044898711.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 19:35:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Customize-globalConfig-json/m-p/704762#M11746</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2024-11-19T19:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Customize globalConfig.json</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Customize-globalConfig-json/m-p/704795#M11747</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263556"&gt;@marnall&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;I see what you mean but doing it this way will apply the same login password to all inputs. That's not what I'm looking for &lt;span class="lia-unicode-emoji" title=":slightly_frowning_face:"&gt;🙁&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The ‘best way’ for me is to use this &lt;A href="https://community.splunk.com/t5/Getting-Data-In/Splunk-Add-on-Builder-Global-Account-settings/m-p/570565" target="_blank"&gt;solution&lt;/A&gt; and stop editing my application using Add-on Builder. And if I need to update my application with Add-on Builder, I have to restore the files (globalConfig and &amp;lt;input&amp;gt;_rh_account) manually.&lt;/P&gt;&lt;P&gt;Normally, I'll be taking part in the application building course on Monday. If I get the answer, I'll update this post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a good day&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 08:56:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Customize-globalConfig-json/m-p/704795#M11747</guid>
      <dc:creator>Wonamor</dc:creator>
      <dc:date>2024-11-20T08:56:40Z</dc:date>
    </item>
  </channel>
</rss>

