Loki groups rules get content log

hello! I want to notify when a log type error occurs and send its log content, will it be possible to add it in the labels or annotations of the loki rules and send it to alertmanager?

This would be my test rule, but I still don’t see how to add the content of the registry