Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.07 KB

UserAgent.md

File metadata and controls

46 lines (31 loc) · 1.07 KB

User Agent Action

The useragent action parses a HTTP User-Agent header into browser, OS and device information.

A new user_agent field will be added to the event after a successful parse and will contain the following nested fields. The user_agent field attempts to match the Elastic Common Schema (ECS).

  • original. String
  • name. String

The following nested fields are also present if data is available, and are otherwise omitted.

Example

- name: useragent
  field: useragent

Options

field

String. Required

The name of the field to parse. Use [] to access nested fields, for example nested[field].

remove

Boolean. Optional. Default: false

If set to true, the parsed field will be unset from the event after parsing completes.