I have fleet agents with a custom logs.
I want to route some of the logs to a different index.
I created the index task-logs and in the integration, I defined an reroute ingest pipeline. However,the documents don't reach the index, and instead I get an error.
The Elastic data stream naming scheme is made for time series data and consists of splitting datasets into different data streams using the following naming convention.
type: Generic type describing the data
dataset: Describes the data ingested and its structure
namespace: User-configurable arbitrary grouping
These three parts are combined by a “-” and result in data streams like logs-nginx.access-production. In all three parts, the “-” character is not allowed. This means all data streams are named in the following way:
{type}-{dataset}-{namespace}
For both dataset and namespace there is a default value, which is dataset=generic and namespace=default. In the case of Elastic Agent, if a user just starts to ingest a log file, the data ends up in logs-generic-default.**
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.