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,
Basically what i want is I want to have the account name during configuration time.
Any update on the query shared😀
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 https://splunkcommunity.slack.com/archives/C03SG3ZL4S1
Hi @PoojaDevi
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?
🌟 Did this answer help you? If so, please consider:
Your feedback encourages the volunteers in this community to continue contributing
Yes Im using ucc framework to build the app.
Im using custom validator class to the validate the configuration field.
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.
When I see the account validator python file where name is set as None.
Basically my need is during the configuration validation, I want to know the account name. How to fetch this account name ?
Yes let me explain it clear
Im using Python add on
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.
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
Hi @PoojaDevi ,
could you better detail your request? because nothing that said is clear for me:
Ciao.
Giuseppe