Audit Log Entry Created

Event triggerServers

Triggers when an audit log entry is created.

Action Type ID is a numeric identifier for the audit log action.

Outputs

Action Type ID

Numeric audit log action type

Example: 20

Server ID

The ID of the server where the audit log entry was created

Example: 123456789012345678

Target ID

The ID of the target entity of the audit log entry

Example: 234567890123456789

User ID

The ID of the user who performed the action

Example: 345678901234567890

Entry ID

The ID of the audit log entry

Example: 456789012345678901

Reason

The reason provided for the action, if any

Example: Routine cleanup

Raw JSON

Raw audit log entry JSON payload

Example: {"action_type":20}

Build a bot using triggers like Audit Log Entry Created

Use this trigger in our visual flow editor. Bots are hosted 24/7 for free on inventor.bot.

Advanced Documentation

This documentation can be useful when using code mode. View as Markdown

ID: audit_log_entry_created

Outputs

FieldInventScript nameValue
Action Type IDaction_type_ide.g. "20"
Server IDserver_ide.g. "123456789012345678"
Target IDtarget_ide.g. "234567890123456789"
User IDuser_ide.g. "345678901234567890"
Entry IDentry_ide.g. "456789012345678901"
Reasonreasone.g. "Routine cleanup"
Raw JSONraw_jsone.g. "{\"action_type\":20}"

Example InventScript

var trigger = audit_log_entry_created()

func main() {
	send_text_message(Args{
		channel_id:      "CHANNEL_ID",
		message_content: "Action Type ID: " + trigger.action_type_id,
	})
}

More servers triggers