You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Namestring`json:"name,omitempty" yaml:"name,omitempty"`// Name of the field
39
+
Typestring`json:"type,omitempty" yaml:"type,omitempty"`// Type of the field as used in Elasticsearch
40
+
Descriptionstring`json:"description,omitempty" yaml:"description,omitempty"`// Description of the field
41
+
Valuestring`json:"value,omitempty" yaml:"value,omitempty"`// Constant value assigned to this field
42
+
Exampleany`json:"example,omitempty" yaml:"example,omitempty"`// Example value for this field, used in documentation
43
+
MetricTypestring`json:"metric_type,omitempty" yaml:"metric_type,omitempty"`// For metric fields, defines what kind of metric this is
44
+
Unitstring`json:"unit,omitempty" yaml:"unit,omitempty"`// Unit this field is measured in
45
+
DateFormatstring`json:"date_format,omitempty" yaml:"date_format,omitempty"`// Format of the date string in this field
46
+
Dimension*bool`json:"dimension,omitempty" yaml:"dimension,omitempty"`// Identifies a field to be a dimension for grouping when a metric is associated with multiple dimensions
47
+
Patternstring`json:"pattern,omitempty" yaml:"pattern,omitempty"`// Regular expression pattern for validating field values
48
+
Externalstring`json:"external,omitempty" yaml:"external,omitempty"`// Identifier for the type of metric when referencing an external schema
49
+
Fields []Field`json:"fields,omitempty" yaml:"fields,omitempty"`// Nested fields within this field
50
+
DocValues*bool`json:"doc_values,omitempty" yaml:"doc_values,omitempty"`// Controls whether the field is indexed in a column-stride fashion for sorting and aggregations
51
+
Index*bool`json:"index,omitempty" yaml:"index,omitempty"`// Controls whether the field will be indexed for full-text search
52
+
CopyTostring`json:"copy_to,omitempty" yaml:"copy_to,omitempty"`// Target field to copy this field's values to
53
+
Enabled*bool`json:"enabled,omitempty" yaml:"enabled,omitempty"`// Whether mappings are created for this field's children
54
+
Dynamicstring`json:"dynamic,omitempty" yaml:"dynamic,omitempty"`// Controls whether new fields are added dynamically or ignored if not defined
55
+
ScalingFactor*int`json:"scaling_factor,omitempty" yaml:"scaling_factor,omitempty"`// Scaling factor to use for scaled_float type
56
+
Analyzerstring`json:"analyzer,omitempty" yaml:"analyzer,omitempty"`// Analyzer used for full-text search
57
+
SearchAnalyzerstring`json:"search_analyzer,omitempty" yaml:"search_analyzer,omitempty"`// Analyzer to use at search time
58
+
MultiFields []Field`json:"multi_fields,omitempty" yaml:"multi_fields,omitempty"`// Sub-fields to index the same value in different ways
59
+
NullValuestring`json:"null_value,omitempty" yaml:"null_value,omitempty"`// Value to replace null with when indexing
60
+
IgnoreMalformed*bool`json:"ignore_malformed,omitempty" yaml:"ignore_malformed,omitempty"`// Whether to ignore malformed values in the field
61
+
IgnoreAboveint`json:"ignore_above,omitempty" yaml:"ignore_above,omitempty"`// String values longer than this will not be indexed or stored
62
+
ObjectTypestring`json:"object_type,omitempty" yaml:"object_type,omitempty"`// Type of the object field
63
+
ObjectTypeMappingTypestring`json:"object_type_mapping_type,omitempty" yaml:"object_type_mapping_type,omitempty"`// Mapping type for the object field
64
+
AliasTargetPathstring`json:"path,omitempty" yaml:"path,omitempty"`// For alias type fields this is the path to the target field, including parent objects
65
+
Normalize []string`json:"normalize,omitempty" yaml:"normalize,omitempty"`// Specifies the expected normalizations for a field, such as 'array' normalization
66
+
Normalizerstring`json:"normalizer,omitempty" yaml:"normalizer,omitempty"`// Specifies the name of a normalizer to apply to keyword fields
67
+
IncludeInParent*bool`json:"include_in_parent,omitempty" yaml:"include_in_parent,omitempty"`// For nested field types, specifies if fields in the nested object are also added to the parent document
68
+
DefaultMetricstring`json:"default_metric,omitempty" yaml:"default_metric,omitempty"`// For aggregate_metric_double fields, specifies the default metric aggregation
62
69
63
70
// AdditionalProperties contains additional properties that are not
64
71
// explicitly specified in the package-spec and are not used by Fleet.
PolicyTemplatesBehaviorstring`json:"policy_templates_behavior,omitempty" yaml:"policy_templates_behavior,omitempty"`// Expected behavior when there are more than one policy template defined.
Options []Option`json:"options,omitempty" yaml:"options,omitempty"`// List of options for 'type: select'.
232
-
HideInDeploymentModes []string`json:"hide_in_deployment_modes,omitempty" yaml:"hide_in_deployment_modes,omitempty"`// Whether this variable should be hidden in the UI for agent policies intended to some specific deployment modes.
0 commit comments