AI-based classification (mmaitag)¶
================ ================================ Module Name: mmaitag Author:: Adiscon Available:: 9.0+ ================ ================================
Purpose¶
The mmaitag module enriches log messages with classification tags obtained from an external AI service. Each message is sent to the provider individually and the resulting tag is stored in a custom variable.
Default labels¶
Action Parameters¶
Note
Parameter names are case-insensitive; camelCase is recommended for readability.
Parameter |
Summary |
|---|---|
Selects which backend provider processes the classification ( |
|
Names the message variable used to store the classification tag. |
|
Specifies the AI model identifier used by the provider. |
|
Provides a custom prompt text used by the AI provider before classifying messages. |
|
Selects which message property is classified instead of the raw message. |
|
Sets the API key used to authenticate with the provider. |
|
Specifies a file containing the API key for the provider. |
Example¶
module(load="mmaitag")
action(type="mmaitag" provider="gemini" apikey="ABC" tag="$.aitag")
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.