# tag

Names the message variable used to store the classification tag.

This parameter applies to AI-based classification (mmaitag).

Name:

  tag

Scope:

  action

Type:

  string

Default:

  .aitag

Required?:

  no

Introduced:

  9.0.0

## Description

Message variable name for the classification. If the name starts with `$`, the leading `$` is stripped.

## Action usage

    action(type="mmaitag" tag="$.aitag")

## See also

- AI-based classification (mmaitag)

Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.