<?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: I want to fetch the account name during configuration in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/I-want-to-fetch-the-account-name-during-configuration/m-p/749090#M242094</link>
    <description>&lt;P&gt;Yes let me explain it clear&lt;/P&gt;&lt;P&gt;Im using Python add on&amp;nbsp;&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="PoojaDevi_0-1751450571564.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/39546i0F0ED6876211A61F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PoojaDevi_0-1751450571564.png" alt="PoojaDevi_0-1751450571564.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;This page will be shown during the configuration phase. Where Im getting the Input Data, Once customer chosen the input data, i will be added in the inputs.con file with the global account provided.&lt;/P&gt;&lt;P&gt;Its all happening in the custom json validator file. I want to get the global account name for saving the input details in the inputs.conf file. I could not able to get it in the data&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;def&lt;/SPAN&gt; &lt;SPAN&gt;validate&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;self&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;value&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;data&lt;/SPAN&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 02 Jul 2025 10:05:54 GMT</pubDate>
    <dc:creator>PoojaDevi</dc:creator>
    <dc:date>2025-07-02T10:05:54Z</dc:date>
    <item>
      <title>I want to fetch the account name during configuration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-want-to-fetch-the-account-name-during-configuration/m-p/749084#M242091</link>
      <description>&lt;P&gt;I have custom validator class in which, Based on the input selected by the customer, i will update in the inputs conf file during configuration. But I encounter that, during configuration under name field the account name is sent, but during the data validation, it does not present in the dictionary,&lt;/P&gt;&lt;P&gt;Basically what i want is&amp;nbsp; I want to have the account name during configuration time.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 09:25:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-want-to-fetch-the-account-name-during-configuration/m-p/749084#M242091</guid>
      <dc:creator>PoojaDevi</dc:creator>
      <dc:date>2025-07-02T09:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: I want to fetch the account name during configuration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-want-to-fetch-the-account-name-during-configuration/m-p/749086#M242093</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/311363"&gt;@PoojaDevi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;could you better detail your request? because nothing that said is clear for me:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;what is the product you're using (Splunk Enterprise, an app, what else)?&lt;/LI&gt;&lt;LI&gt;are you speaking of the input phase or search?&lt;/LI&gt;&lt;LI&gt;what do you mean with dictionary?&lt;/LI&gt;&lt;LI&gt;what do you mean with data validation?&lt;/LI&gt;&lt;LI&gt;what do you mean with configuration time?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 09:41:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-want-to-fetch-the-account-name-during-configuration/m-p/749086#M242093</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2025-07-02T09:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: I want to fetch the account name during configuration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-want-to-fetch-the-account-name-during-configuration/m-p/749090#M242094</link>
      <description>&lt;P&gt;Yes let me explain it clear&lt;/P&gt;&lt;P&gt;Im using Python add on&amp;nbsp;&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="PoojaDevi_0-1751450571564.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/39546i0F0ED6876211A61F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PoojaDevi_0-1751450571564.png" alt="PoojaDevi_0-1751450571564.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;This page will be shown during the configuration phase. Where Im getting the Input Data, Once customer chosen the input data, i will be added in the inputs.con file with the global account provided.&lt;/P&gt;&lt;P&gt;Its all happening in the custom json validator file. I want to get the global account name for saving the input details in the inputs.conf file. I could not able to get it in the data&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;def&lt;/SPAN&gt; &lt;SPAN&gt;validate&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;self&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;value&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;data&lt;/SPAN&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 02 Jul 2025 10:05:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-want-to-fetch-the-account-name-during-configuration/m-p/749090#M242094</guid>
      <dc:creator>PoojaDevi</dc:creator>
      <dc:date>2025-07-02T10:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: I want to fetch the account name during configuration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-want-to-fetch-the-account-name-during-configuration/m-p/749102#M242099</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/311363"&gt;@PoojaDevi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you using UCC Framework to build this app? Can you provide a little more of your code? Have you tried adding a log method to print out what is passed to the function? Can you share what is sent?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 13:21:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-want-to-fetch-the-account-name-during-configuration/m-p/749102#M242099</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-07-02T13:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: I want to fetch the account name during configuration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-want-to-fetch-the-account-name-during-configuration/m-p/749106#M242100</link>
      <description>&lt;P&gt;Yes Im using ucc framework to build the app.&lt;/P&gt;&lt;P&gt;Im using custom validator class&amp;nbsp; to the validate the configuration field.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This is the data value sent to validate function. As I debug the code only the field data is set to the data during validate method invocation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I see the account validator python file where name is set as None.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically my need is during the configuration validation, I want to know the account name. How to fetch this account name ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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="PoojaDevi_1-1751463160659.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/39549i617A169CE86C3E53/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PoojaDevi_1-1751463160659.png" alt="PoojaDevi_1-1751463160659.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PoojaDevi_0-1751463041583.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/39548i5D0F8BED594D0D85/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PoojaDevi_0-1751463041583.png" alt="PoojaDevi_0-1751463041583.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 13:33:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-want-to-fetch-the-account-name-during-configuration/m-p/749106#M242100</guid>
      <dc:creator>PoojaDevi</dc:creator>
      <dc:date>2025-07-02T13:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: I want to fetch the account name during configuration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-want-to-fetch-the-account-name-during-configuration/m-p/749184#M242104</link>
      <description>&lt;P&gt;Any update on the query shared&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 13:24:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-want-to-fetch-the-account-name-during-configuration/m-p/749184#M242104</guid>
      <dc:creator>PoojaDevi</dc:creator>
      <dc:date>2025-07-03T13:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: I want to fetch the account name during configuration</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-want-to-fetch-the-account-name-during-configuration/m-p/749235#M242110</link>
      <description>&lt;P&gt;In Splunk’s Slack user groups is an own channel for UCC. Maybe they could help you with this case? You can found it here&amp;nbsp;&lt;A href="https://splunkcommunity.slack.com/archives/C03SG3ZL4S1" target="_blank"&gt;https://splunkcommunity.slack.com/archives/C03SG3ZL4S1&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 22:14:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-want-to-fetch-the-account-name-during-configuration/m-p/749235#M242110</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2025-07-03T22:14:04Z</dc:date>
    </item>
  </channel>
</rss>

