Generates suggested event types by taking previous search results and producing a list of potential searches that can be used as event types. By default, the
typelearner command initially groups events by the value of the grouping-field. The search then unifies and merges these groups based on the keywords they contain.
typelearner [<grouping-field>] [<grouping-maxlen>]
- Syntax: <field>
- Description: The field with values for the
typelearnercomman to use when initially grouping events.
punct, the punctuation seen in
- Syntax: maxlen=<int>
- Description: Determines how many characters in the grouping-field value to look at. If set to negative, the entire value of the grouping-field value is used to group events.
- Default: 15
Have the search automatically discover and apply event types to search results.
... | typelearner
Have questions? Visit Splunk Answers and see what questions and answers the Splunk community has using the typelearner command.
This documentation applies to the following versions of Splunk Cloud™: 6.6.3, 7.0.0, 7.0.2, 7.0.3, 7.0.5