Feedback
Got feedback? We want it! Submit your comments and suggestions for our community here.

Text Format - Google chat Webhook

Rquiros23
New Member

Does anyone know how to format text when sending a message via Google Chat webhook? The app works perfectly, but when we send a message in plain text only, we need to receive more aesthetically pleasing messages.

I tried using <br> or \n, but they don't work as described in the Google Workspace documentation.

https://developers.google.com/workspace/chat/format-messages?hl=es-419
https://splunkbase.splunk.com/app/3906

Tags (3)
0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @Rquiros23 

I wasnt able to make the new line character (\n) work. howeve I was able to create a multiline Splunk field in the result which *did* work!

livehybrid_0-1742051217086.png

 

You can see where I changed it from \n to multiline.

This is what my search/alert looks like:

livehybrid_1-1742051254998.png

livehybrid_2-1742051345920.png

Please let me know how you get on and consider adding karma to this or any other answer if it has helped.
Regards

Will

 

0 Karma
Get Updates on the Splunk Community!

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...

[Live Demo] Watch SOC transformation in action with the reimagined Splunk Enterprise ...

Overwhelmed SOC? Splunk ES Has Your Back Tool sprawl, alert fatigue, and endless context switching are making ...

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...