Hello,
We upgraded Microsoft Azure Add on for Splunk to the latest version 3.2.0
After the upgrade, we started seeing the following errors:
The error messages are erroneous.
TL;DR = to work around this issue, add the following in local/ta_ms_aad_settings.conf:
[proxy]
proxy_password = None
field.RestField(
'proxy_password',
required=False,
encrypted=True,
default=None,
validator=validator.String(
min_len=0,
max_len=8192,
)
)
The error messages are erroneous.
TL;DR = to work around this issue, add the following in local/ta_ms_aad_settings.conf:
[proxy]
proxy_password = None
field.RestField(
'proxy_password',
required=False,
encrypted=True,
default=None,
validator=validator.String(
min_len=0,
max_len=8192,
)
)
I'm having a similar issue with the Egnyte Collaborate TA - https://splunkbase.splunk.com/app/5653.
When trying to use the add-on - I keep getting the following error:
“01-22-2025 16:45:55.409 +0000 ERROR PersistentScript [1693337 PersistentScriptIo] - From {/opt/splunk/bin/python3.9 /opt/splunk/etc/apps/TA-egnyte-connect/bin/TA_egnyte_connect_rh_settings.py persistent}: solnlib.credentials.CredentialNotExistException: Failed to get password of realm=__REST_CREDENTIAL__#TA-egnyte-connect#configs/conf-ta_egnyte_connect_settings, user=proxy.”
The issue is I'm running Splunk Cloud - and don't have the ability to modify local conf files. Any ideas on how to get this resolved for Slunk Cloud customers?
Cheers.
For general interest. This bug is still present in version 1.2.5 of the app. The filenames have changed slightly, the file to which the stanza must be added is now called ta_microsoft_graph_security_add_on_for_splunk_settings.conf
Note that this file is only created by the app if you add a proxy setting, otherwise you will have to manually create it. It is different from the similarly named ta_microsoft_graph_security_add_on_for_splunk_account.conf configuration file.
@jconger Thanks for the solution,
Do you think reconfiguring the proxy settings on the Addon after the upgrade will also solve this issues?
This solution worked for me.
- It is classic;
- We are usually classifying the errors we have in our environment with priorities from high to noise. A report is ran and reviewed everyday and everything that was never seen before, appears as new. When we had the upgrade of the add-on to the latest version, I started seeing these errors.
I started investigating them by using the following searches and the date when the errors started to appear matches the timestamp of the upgrade.
index=_internal sourcetype=splunkd "splunk/etc/apps/TA-MS-AAD/bin/TA_MS_AAD_rh_settings.py" log_level=error component=PersistentScript
index=_internal sourcetype=splunkd ""Failed to get password of realm=%s, user=%s." % (self._realm, user)" component=PersistentScript log_level=error
Right after the upgrade, the data collection was stopped.
I added again the credentials and the feeds were back to normal, but the errors are still coming.
I'm concerned with them because I don't know if there is any impact in the data we are collecting and I wasn't able to find anything in the documentation.
One more question - did you notice which host the errors are coming from? I ask because it's possible the add-on is on the search head for it's knowledge objects but the inputs.conf are all stripped away, which might be causing some exceptions.
In Classic, data collection add-ons are installed and managed on the Inputs Data Manager (IDM) so I assume everything on that host is working ok?
We have the add-on installed and configured on IDM. That's where the errors are coming from.
Curious - is this in Splunk Cloud or is this add-on installed to your own installation of Splunk?
In Splunk Cloud.
Is it possible to be a new feature of the add-on?
I don't know about the features of the app/add-on. I've found the developer and asked them to peek at this conversation to help.
Meanwhile, if it's Cloud you may want to add more details to help the developer understand what's going on. Is it Classic or Victoria? This page will help answer that: https://docs.splunk.com/Documentation/SplunkCloud/latest/Admin/Experience
How frequently do you see these error messages occurring? What search did you run to see them?
It's possible that the app upgrade is not related and rather this may be something that has been occurring for a while but only noticed recently. I say this because you highlighted that the data is still working and you only recently noticed these errors.