stateCount() function
*Function type: Transformation
**Output data type:* Integer
Make sure parameter names match each specified parameter. To learn why, see Match parameter names.
*Data type: Function*
column
*Data type: String*
Examples
from("monitor/autogen")
|> stateCount(
fn: (r) => r.http_response_code == "500",