F5 BIG-IP APM Session Trigger

F5 BIG-IP APM Session Trigger

Certified
Enterprise Edition

React to new BIG-IP APM sessions

Polls active sessions via GET /mgmt/tm/apm/access-info at the given interval and fires one execution per poll carrying every session not delivered yet. Session ids already delivered are kept in the namespace KV store and pruned to the sessions still active, so a session never fires twice. On the first poll, every session already active when the trigger is enabled is delivered together. The output variables trigger.sessions (list of sessionId, username and clientIp) and trigger.count are available in downstream tasks.

yaml
type: io.kestra.plugin.ee.f5.session.Trigger

Log every new APM session

yaml
id: audit_new_sessions
namespace: company.team

triggers:
  - id: on_new_session
    type: io.kestra.plugin.ee.f5.session.Trigger
    host: "{{ secret('F5_HOST') }}"
    username: "{{ secret('F5_USERNAME') }}"
    password: "{{ secret('F5_PASSWORD') }}"
    interval: PT1M

tasks:
  - id: log
    type: io.kestra.plugin.core.log.Log
    message: "{{ trigger.count }} new APM session(s): {{ trigger.sessions | json }}"
Installation

This Enterprise plugin requires an Enterprise image and access to the plugin registry. Install it with the following command:

kestractl plugins get io.kestra.plugin.ee:plugin-ee-f5 --compatible-for $KESTRA_VERSION

For kestractl, use your Kestra version with --compatible-for, or specify an exact plugin version.

Properties

BIG-IP hostname or IP address

BIG-IP password

BIG-IP username

Defaultfalse

Specifies whether a trigger is allowed to start a new execution even if a previous run is still in progress.

Defaultfalse

Trust all SSL certificates

Set to true to disable TLS certificate validation.

DefaultPT1M
Formatduration

Polling interval

How often to poll for new sessions. Accepts ISO 8601 duration notation, e.g. PT30S for 30 seconds or PT1M for 1 minute.

DefaultCommon

Administrative partition to target

Defaults to Common when not set.

Only fire for the sessions of this user

Logon name of the APM end user (exact match), not the BIG-IP admin username. When not set, the trigger fires for every new session.

SubTypestring
Possible Values
CREATEDSUBMITTEDRUNNINGPAUSINGPAUSEDRESTARTEDKILLINGSUCCESSWARNINGFAILEDKILLEDCANCELLEDQUEUEDRETRYINGRETRIEDSKIPPEDBREAKPOINTRESUBMITTED

List of execution states after which a trigger should be stopped (a.k.a. disabled).

Defaulttrue

A condition that determines whether the trigger should run.

A Pebble expression evaluated at trigger time. The trigger fires only when the expression evaluates to a truthy value (true, a non-empty string, a non-zero number). Use this to gate trigger execution on dynamic runtime values such as execution labels, flow variables, or environment conditions.

Default0

Number of new sessions delivered by this poll

SubTypeobject

New APM sessions

Sessions not delivered by a previous poll, each with sessionId, username and clientIp.