PARALLAX

fortios_log_fact

Query FortiOS facts through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS

Collection: fortinet.fortios

Full Name: fortinet.fortios.fortios_log_fact

Controller module — runs on the local controller, not on remote hosts.

Synopsis

Query FortiOS facts through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS

Parameters

NameTypeRequiredDefaultDescription
access_tokenstr
enable_logboolfalse
filterslist
formatterslist
paramsdict
selectorstr
selectorslist
sorterslist
vdomstrroot

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_log_fact:
    access_token: '{{ fortios_access_token }}'
    selectors:
        - filters:
            - log_id==41000
          selector: disk_event_user
        - selector: memory_event_user
  name: get disk event user and memory event user at once.
Search
    ↑ ↓ move↵ openesc close