Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a better way to format the audit log for Automations?

Marcel Hager
Contributor
June 13, 2025

I'm trying to improve the audit log readability for various automations and was wondering if there is a way to add values to the audit log with a line break to make large blocks of text more readable.

As an example, I want to log the web response status and category in an automation rule, and have the following in the log message block:

Status: {{webResponse.status}} Category: {{webResponse.statusCategory}}

Log format.jpg

I would prefer to have it displayed like:

Status: 200

Category: SUCCESS

 

I've tried a few different methods for line breaks, concatenation, etc. but with no luck. Is it even possible to format the output to the log without having to add tons of steps to log individual values?

1 answer

1 accepted

7 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 13, 2025

Hi @Marcel Hager 

Sadly, nothing built-in yet to help with this.

There are many open suggestions to improve the log usability / readability, including some in progress ones.  Here are some examples you may watch / vote for:

https://jira.atlassian.com/browse/AUTO-28
https://jira.atlassian.com/browse/AUTO-36
https://jira.atlassian.com/browse/AUTO-51

 

One possible workaround to adding a bunch of Log actions is (for some cases) add a debug wrapper around smart value expressions:

{{#debug}}some smart value expression{{/}}

That will write to the audit log as a section which can be expanded, when needed.

 

For more detail analysis, you could add your own keywords to the Log write text, copy-and-paste the log to a text editor, and then search-and-replace the keyword for newlines.

 

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events