# LogAttributesRemapper

**Type**: `object`

## Properties

- name: attributeRemappingRules (optional)
  type: array of `AttributeRemappingRule`
  description: List of attribute-to-attribute remapping rules. Each rule moves the value from a source attribute path to a target attribute path, removing the source unless the rule's preserveSource flag is set. An optional predicate filter controls when each rule is applied.

- name: hostPreserveSource (optional)
  type: boolean
  description: When true, preserves the source host attribute after remapping instead of removing it. Defaults to true (source is preserved).

- name: hostReservedAttributePaths (optional)
  type: array of array of string
  description: Paths to search for host values

- name: hostReservedAttributes (optional)
  type: array of string
  description: Attributes to search for host values

- name: messagePreserveSource (optional)
  type: boolean
  description: When true, preserves the source message attribute after remapping instead of removing it. Defaults to false (source is removed after remapping).

- name: messageReservedAttributePaths (optional)
  type: array of array of string
  description: Paths to search for message values

- name: messageReservedAttributes (optional)
  type: array of string
  description: Attributes to search for message values. The used attribute will be removed once remapped.

- name: name (required)
  type: string

- name: servicePreserveSource (optional)
  type: boolean
  description: When true, preserves the source service attribute after remapping instead of removing it. Defaults to true (source is preserved).

- name: serviceReservedAttributePaths (optional)
  type: array of array of string
  description: Paths to search for service values

- name: serviceReservedAttributes (optional)
  type: array of string
  description: Attributes to search for service values

- name: statusMapping (optional)
  type: `StatusMapping`

- name: statusPreserveSource (optional)
  type: boolean
  description: When true, preserves the source status attribute after remapping instead of removing it. Defaults to true (source is preserved).

- name: statusReservedAttributePaths (optional)
  type: array of array of string
  description: Attributes to search for status values

- name: statusReservedAttributes (optional)
  type: array of string
  description: Attributes to search for status values

- name: tagMappingPaths (optional)
  type: object
  description: Map from tag key to an ordered list of attribute paths to search for values. All paths will be tried, and all found values will be added. If no value is found, the tag will not be changed. The attribute paths are a list of paths. This does not remove existing tag values.

- name: tagMappings (optional)
  type: object
  description: Map from tag key to an ordered list of attribute paths to search for values. All paths will be tried, and all found values will be added. If no value is found, the tag will not be changed. The attribute paths are dot-separated. This does not remove existing tag values.

- name: tagMappingsLocationPaths (optional)
  type: array of array of string
  description: Possible locations of a map of string to string or to collection of strings that has tags. Added to tags, without replacement.

- name: tagMappingsLocationPreserveSource (optional)
  type: boolean
  description: When true, preserves the source tag map location attributes after remapping instead of removing them. Defaults to false (source is removed after remapping).

- name: tagMappingsLocations (optional)
  type: array of string
  description: Possible locations of a map of string to string or to collection of strings that has tags. Added to tags, without replacement.

- name: tagMappingsPreserveSource (optional)
  type: boolean
  description: When true, preserves the source tag mappings attributes after remapping instead of removing them. Defaults to false (source is removed).

- name: timestampPreserveSource (optional)
  type: boolean
  description: When true, preserves the source timestamp attribute after remapping instead of removing it. Defaults to true (source is preserved).

- name: timestampReservedAttributePaths (optional)
  type: array of array of string
  description: Paths to search for timestamp values

- name: timestampReservedAttributes (optional)
  type: array of string
  description: Attributes to search for timestamp values

- name: traceIdPreserveSource (optional)
  type: boolean
  description: When true, preserves the source traceId attribute after remapping instead of removing it. Defaults to true (source is preserved).

- name: traceIdReservedAttributePaths (optional)
  type: array of array of string
  description: Paths to search for traceId values

- name: traceIdReservedAttributes (optional)
  type: array of string
  description: Attributes to search for traceId values

- name: type (required)
  type: enum: `log-attributes-remapper`
  description: Maps attributes to top-level fields and tags.
