The fields, functions, or equations that can be requested for the query. At most 20 fields can be selected per request. Each field can be one of the following types:
- A built-in key field. See possible fields in the properties table, under any field that is an event property.
- example: field=transaction
- A tag. Tags should use the tag[] formatting to avoid ambiguity with any fields
- example: field=tag[isEnterprise]
- A function which will be in the format of function_name(parameters,...). See possible functions in the query builder documentation.
- when a function is included, Discover will group by any tags or fields
- example: field=count_if(transaction.duration,greater,300)
- An equation when prefixed with equation|. Read more about equations here.
- example: field=equation|count_if(transaction.duration,greater,300) / count() * 100