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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...