Skip to content

/AWS1/CL_WA2PATHSTATISTICS

Statistics about bot traffic to a specific URI path, including the path, request count, percentage of total traffic, and the top bots accessing that path.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_path TYPE /AWS1/WA2PATHSTRING /AWS1/WA2PATHSTRING

The URI path. For example, /api/ or /api/v1/users.

iv_requestcount TYPE /AWS1/WA2REQUESTCOUNT /AWS1/WA2REQUESTCOUNT

The number of requests to this path within the specified time window.

iv_percentage TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The percentage of total requests that were made to this path.

Optional arguments:

io_source TYPE REF TO /AWS1/CL_WA2FILTERSOURCE /AWS1/CL_WA2FILTERSOURCE

Information about the bot filter that was applied to generate these statistics. This field is only populated when you filter by bot category, organization, or name.

it_topbots TYPE /AWS1/CL_WA2BOTSTATISTICS=>TT_BOTSTATISTICSLIST TT_BOTSTATISTICSLIST

The list of top bots accessing this path, ordered by request count. The number of bots included is determined by the NumberOfTopTrafficBotsPerPath parameter in the request.


Queryable Attributes

Source

Information about the bot filter that was applied to generate these statistics. This field is only populated when you filter by bot category, organization, or name.

Accessible with the following methods

Method Description
GET_SOURCE() Getter for SOURCE

Path

The URI path. For example, /api/ or /api/v1/users.

Accessible with the following methods

Method Description
GET_PATH() Getter for PATH, with configurable default
ASK_PATH() Getter for PATH w/ exceptions if field has no value
HAS_PATH() Determine if PATH has a value

RequestCount

The number of requests to this path within the specified time window.

Accessible with the following methods

Method Description
GET_REQUESTCOUNT() Getter for REQUESTCOUNT

Percentage

The percentage of total requests that were made to this path.

Accessible with the following methods

Method Description
GET_PERCENTAGE() Getter for PERCENTAGE
ASK_PERCENTAGE() Getter for PERCENTAGE w/ exceptions if field has no value
STR_PERCENTAGE() String format for PERCENTAGE

TopBots

The list of top bots accessing this path, ordered by request count. The number of bots included is determined by the NumberOfTopTrafficBotsPerPath parameter in the request.

Accessible with the following methods

Method Description
GET_TOPBOTS() Getter for TOPBOTS, with configurable default
ASK_TOPBOTS() Getter for TOPBOTS w/ exceptions if field has no value
HAS_TOPBOTS() Determine if TOPBOTS has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_PATHSTATISTICSLIST

TYPES TT_PATHSTATISTICSLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_WA2PATHSTATISTICS WITH DEFAULT KEY
.