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!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...