-
Notifications
You must be signed in to change notification settings - Fork 5k
Open
Labels
Team:Elastic-Agent-Data-PlaneLabel for the Agent Data Plane teamLabel for the Agent Data Plane team
Description
Confirm that setting the target index to "logs" in each possible location will automatically route data to the new streams experience. Document any specific steps that need to be taken when generating API keys for use in this mode, if any.
- The target index can be set in each input via the
index
parameter:beats/docs/reference/filebeat/filebeat-input-filestream.md
Lines 1089 to 1093 in 87f0e9c
#### `index` [_index_9] If present, this formatted string overrides the index for events from this input (for elasticsearch outputs), or sets the `raw_index` field of the event’s metadata (for other outputs). This string can only refer to the agent name and version and the event timestamp; for access to dynamic fields, use `output.elasticsearch.index` or a processor. Example value: `"%{[agent.name]}-myindex-%{+yyyy.MM.dd}"` might expand to `"filebeat-myindex-2019.11.01"`. - The target index can be set in the Elasticsearch output via the
index
parameter:beats/docs/reference/filebeat/elasticsearch-output.md
Lines 205 to 207 in 87f0e9c
output.elasticsearch: hosts: ["http://localhost:9200"] index: "%{[fields.log_type]}-%{[agent.version]}-%{+yyyy.MM.dd}" <1> - Using an add_fields processor to set the
index
name in@metadata
:beats/docs/reference/filebeat/add-fields.md
Lines 43 to 47 in 87f0e9c
processors: - add_fields: target: '@metadata' fields: op_type: "index"
Metadata
Metadata
Assignees
Labels
Team:Elastic-Agent-Data-PlaneLabel for the Agent Data Plane teamLabel for the Agent Data Plane team