Home > Configuration > Stream > addstreamidentifier

addstreamidentifier

Use this method to creates a stream identifier. A stream identifier specifies how data is collected and stored for an Action Analytics configuration.

Syntax



Parameters

name

The name of stream identifier.
This is mandatory parameter.

selectorname

Name of the selector to use with the stream identifier.
This is mandatory parameter.

interval

Number of minutes of data to use when calculating session statistics (number of requests, bandwidth, and response times). The interval is a moving window that keeps the most recently collected data. Older data is discarded at regular intervals.
Default value = 1.
Minimum value = 1.
Maximum value = STREAM_MAX_IDENTIFIER_INTERVAL.

samplecount

Size of the sample from which to select a request for evaluation. The smaller the sample count, the more accurate is the statistical data. To evaluate all requests, set the sample count to 1. However, such a low setting can result in excessive consumption of memory and processing resources.
Default value = 1.
Minimum value = 1.
Maximum value = 65535.

sort

Sort stored records by the specified statistics column, in descending order. Performed during data collection, the sorting enables real-time data evaluation through Citrix ADC policies (for example, compression and caching policies) that use functions such as IS_TOP(n).
Default value = STREAM_DIMENSION_REQUESTS.

snmptrap

Enable/disable SNMP trap for stream identifier
Default value = DISABLED.

appflowlog

Enable/disable Appflow logging for stream identifier
Default value = DISABLED.

trackackonlypackets

Track ack only packets as well. This setting is applicable only when packet rate limiting is being used.
Default value = DISABLED.

tracktransactions

Track transactions exceeding configured threshold. Transaction tracking can be enabled for following metric: ResponseTime. By default transaction tracking is disabled
Default value = STREAM_TRACK_NONE.

maxtransactionthreshold

Maximum per transcation value of metric. Metric to be tracked is specified by tracktransactions attribute.
Default value = 0.
Minimum value = 0.

mintransactionthreshold

Minimum per transcation value of metric. Metric to be tracked is specified by tracktransactions attribute.
Default value = 0.
Minimum value = 0.

acceptancethreshold

Non-Breaching transactions to Total transactions threshold expressed in percent. Maximum of 6 decimal places is supported.
Default value = 0.000000.

breachthreshold

Breaching transactions threshold calculated over interval.
Default value = 0.

log

Location where objects collected on the identifier will be logged.
Default value = STREAM_LOG_NONE.

loginterval

Time interval in minutes for logging the collected objects. Log interval should be greater than or equal to the inteval of the stream identifier.
Default value = STREAM_LOG_INTERVAL_DEFAULT.
Minimum value = 1.
Maximum value = STREAM_MAX_LOG_INTERVAL.

loglimit

Maximum number of objects to be logged in the log interval.
Default value = STREAM_LOG_LIMIT_DEFAULT.
Minimum value = 1.
Maximum value = STREAM_MAX_LOG_LIMIT.

Return Value

Returns simpleResult

See Also