Splunk Enterprise

What is happening in Splunk Enterprise V9.1.0.1 ?

apietersen
Contributor

RE: Case #3270697 After upgrade to 9.1.01 not able to send emails eg. of critical alerts! [ ref:_00D409oyL._5005a2bGRKI:ref ]

After upgrade to v9.1.0.1 Splunk Enterprise, (single instance), last weekend (15 Juli 2023) + changing admin password as was suggested by Assist (which throws an error now !?)

1) Message when using sendemail:

apietersen_0-1689859493539.png

Smpt setting: O365

apietersen_1-1689855102470.png

Checked the login on O365, ofcourse


2) Assist stopped running???

apietersen_2-1689855102473.png

 


3) Also:

3a

apietersen_3-1689855102483.png

3b

apietersen_0-1689863439907.png

 


4) new GUI / layout ?

apietersen_4-1689855102484.png

 

5) Annoying and not working “Don’t show this again” message on every page. Just stepping to another dashboard on the same server/domain ?? 

apietersen_5-1689855102489.png

6) endless waiting:

apietersen_0-1689860492567.png

 

What is next?

Anyone else suffering from the same issues?

Labels (2)
0 Karma
1 Solution

apietersen
Contributor

Last week v9.1.2 has been released. (6 nov 2023, I think it was)

After installing this version on my test instance (v9.1.1) everytyhing seems to work again including sendemail - no issues found. Great! 👍

After installing this version several days later on our production instance (9.1.0.2) also sendemail was working fine again. Great! 👍

NB. after that I was also able to fix all other issues on our production instance as mentioned before in this post, like: kvstore, secure gateway etc Great! 👍

Many thanks to support- and development team. I am now happy splunking again! 👍👍 😀

I hereby close this post.

View solution in original post

0 Karma

psecure
Explorer

Hello all,

I have a problem with my configuration smtp.
When I send e-mail I get this error :

2024-02-14 16:44:15,213 +0100 ERROR cli_common:482 - Failed to decrypt value: ***************************=, error: Read custom key data size=30

Someone has an idea?

Tags (1)
0 Karma

isoutamo
SplunkTrust
SplunkTrust
Quite probably your key for encrypt has changed? You could try to update old email password via gui and encrypt it again.
0 Karma

psecure
Explorer

Thank @isoutamo ,
Yes, I update email password via gui, and reboot splunk, but this problem is still present

0 Karma

isoutamo
SplunkTrust
SplunkTrust

You should replace mycert.pem with your own cert file. That name you could see by previous btool. Use also full path to this file. Sometimes it’s also needed to add “splunk cmd OpenSSL” instead of just “openssl”.

apietersen
Contributor

OK I will try: “splunk cmd OpenSSL” instead of just “openssl”.

Thanks

0 Karma

isoutamo
SplunkTrust
SplunkTrust
Please use lowercase version for openssl. Autocorrect has meshed it 😞

apietersen
Contributor

Thanks, I will do. 😀

Tags (1)
0 Karma

apietersen
Contributor

Our https certificate (web) is not expired. So what and where should I remove this old cert reference.
We only run Indexer, SH , licens Manager and Kvstore process....and nothing else

apietersen_0-1690183018467.png

Please note: we run a small and single Splunk Enterprise instance on a Intel 16core , 64Gb mem, and 2Tb hardware under windows2019.

BTW How many certs do I need to run and manage in v9.1.0.1? 

Thanks

0 Karma

isoutamo
SplunkTrust
SplunkTrust

There are own certificates for web, splunkd and traffic between UFs and indexers. Mongod is using the same certificate as splunkd. You should check from server.conf where it is. 

apietersen
Contributor

Hi,

looked in server.conf: (both test server + production)

Sorry , can not find any path or refence to certificates?

test-server:

apietersen_0-1690187635286.png

 

 

0 Karma

isoutamo
SplunkTrust
SplunkTrust

You should use btool to check what and where those configurations are set. 

splunk btool server list --debug

apietersen
Contributor

On my Test-server, I have copied a fresh server.conf from default directory and changed the license manager field. It is coming up and I can login but but still hangs on endless "loading..." when trying to change something (like restart)

apietersen_0-1690189485310.png

Also Assist show an error:

apietersen_1-1690189563030.png

 

0 Karma

apietersen
Contributor

Update:

Yesterday we had a remote session (Zoom) with Splunk Support. No quick fix found. It needs to be investigated further:

Their observations:

------------------

- After upgrading the Splunk version to 9.1.0.1, the sendemail command is not working it is giving some errors on the production instance and test instance.

command="sendemail", The email domains of the recipients are not among those on the allowed domain list. while sending mail to: a.pietersen@.... 

command="sendemail", (530, b'5.7.57 Client not authenticated to send mail. [AS4P195CA0039.EURP195.PROD.OUTLOOK.COM 2023-07-25T10:35:23.523Z 08DB887EFF8B2458]', 'pietersen@i....) while sending mail to: a.pietersen@....

- The top of the screen showed a loading icon as I was reviewing the Server settings for the Email settings. Nothing can be done on the Email settings page.

- Additionally, we attempted to restart the UI by accessing the server controls. The loading icon at the top of the page appeared on the server control page as well, indicating the same problem.

- Additionally, the Splunk assist page is not working and displays the error message "Error Loading Splunk Assist."

- Even though we attempted to restart the search head using the CLI, the errors and issues persisted after the restart.

------------------

Thanks, hope they can find a remedy soon, because I am out of my option for now. 

0 Karma

isoutamo
SplunkTrust
SplunkTrust

Normally this  message means, that your smtp relay don’t allow you to send email with your from-domain. Are you sure that your M365 exchange has configured to relay those emails? 

0 Karma

apietersen
Contributor

Hi
Both account belongs to me but have different domains. (and no trust-relation in place) Manual sending is no problem and use this daily. It was working for years now based on O365, it sopped after the upgarde. Besides no messages were received form MS that O365 have changed their relay rules. So for now I suspect something not OK in the Splunk 9.1.0.1 environment.

Thanks

 

0 Karma

apietersen
Contributor

Update:

My main problem was not able to send critical Alerts and other message by email any more after upgradding to v9.1.0.1.

Finally I was able to solve this by copying the latest 'sendemail.py" from my backup of v9.0.5. into directory: ....\Splunk\etc\apps\search\bin .  After that I could send email as before.

Note: The "sendemail.py" that I copied from backup seems to be 2 lines longer than the new one installed by v9.1.0.1. Did not investigate it further, what the differences is. Busy to correct temp workarounds and made me and my users happy Splunking again. 🙂 Other issues are still open, but for now no showstoppers. Have send this info also to Splunk support but did not here back from them yet.

 

 

Thanks

0 Karma

apietersen
Contributor

Update:

Last Friday Spiunk Support responded: problem with "sendemail" was identified as a bug and will be solved in next version.

Nb. Just noticed version v9.1.0.2 but there was no mention of/refering to this specific fix. I will wait for next version. Sendemail is still working after restoring the senemail.py form backup v9.0.5

0 Karma
Get Updates on the Splunk Community!

What’s New in Splunk Enterprise 9.4: Tools for Digital Resilience

What’s New in Splunk Enterprise 9.4: Tools for Digital ResilienceTune in to What’s New in Splunk Enterprise ...

Get Schooled with Splunk Education: Explore Our Latest Courses

At Splunk Education, we’re dedicated to providing incredible learning experiences that cater to every skill ...

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...