Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The instruction_stat_trigger instruction value is represented as a JSON object with the following keys and values:

KeyValueNotes
flags<array of strings>

Possible flags:

  • "periodic"
  • "only_first"
thresholds<array of thresholds>Threshold objects are defined in the table below.

Thresholds

KeyValueNotes
 oxs
oxs_type
 <string>
<string>

Possible OXS types:

  • "byte_count"
  • "duration" (seconds)
  • "flow_count"
  • "idle_time" (seconds)
  • "packet_count"
 value
value
 <number>
<number>Can be hexadecimal (with leading 0x) or decimal.

Example Stat Trigger Instruction

Code Block
{
	"flags" : [
		"periodic"
	],
	"thresholds" : [
		{
			"oxs_type" : "byte_count",
			"value" : "1000"
		},
		{
			"oxs_type" : "duration",
			"value" : "60"
		},
	]
}

...

Group Entries

The following tables define properties for group entries only.

...