{
  "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do not edit it. See ../README.md for how to regenerate it.",
  "type" : "grouping",
  "name" : "categorize",
  "license" : "PLATINUM",
  "description" : "Groups text messages into categories of similarly formatted text values.",
  "signatures" : [
    {
      "params" : [
        {
          "name" : "field",
          "type" : "keyword",
          "optional" : false,
          "description" : "Expression to categorize"
        }
      ],
      "license" : "PLATINUM",
      "variadic" : false,
      "returnType" : "keyword"
    },
    {
      "params" : [
        {
          "name" : "field",
          "type" : "text",
          "optional" : false,
          "description" : "Expression to categorize"
        }
      ],
      "license" : "PLATINUM",
      "variadic" : false,
      "returnType" : "keyword"
    }
  ],
  "examples" : [
    "FROM sample_data\n| STATS count=COUNT() BY category=CATEGORIZE(message)"
  ],
  "preview" : false,
  "snapshot_only" : false
}
