Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Table of Contents

Editing Email Templates

The E-Mail Templates used for alerts, trend notification and password rest are now configurable per tenant.

You can add custom designs to your emails and send tests from the Server Space admin area. You can also "Reset" your templates to the default Squirro ones.

Go to: "Server > Emails"

Variables in the template

You can refer to various variables in the email templates which are written in the language Jinja2.

VariableContentsValid in
reset_linkContains a link to reset the password.Password reset ok
data['digest']['count']The number of matches.Favorite Filters Alert, Trend Alert
data['filter_name']The name of the trend alert or search alert.Favorite Filters Alert, Trend Alert
data['filter_link']The link to the trend alert or search alert.Favorite Filters Alert, Trend Alert
data['digest']['items']The matching items, see the item rows below:Favorite Filters Alert, Trend Alert
item['link']The link of the item.data['digest']['items']
item['title']The title of the item.data['digest']['items']
h.format_date(item['created_at'])A formatted representation of the creation date of the item.data['digest']['items']
item['summary']The summary of the item.data['digest']['items']

You can refer to images in <img> tags. They will be always inlined into the email. Make sure that the HTTP(S) target specified is reachable by the cluster node(s).

Note that the password emails are always chosen from the emailsender default tenant. You can configure it by setting:

[emailsender]
default_tenant = tenant_id

in your /etc/squirro/emailsender.ini

Default Emails

Password Reset OkPassword Reset FailTrend AlertFavorite Filters Alert









  • No labels