A metadata field is a named attribute containing descriptive information about a log record, such as its application, service, or image. Adding these fields makes filtering in Kibana easier. section 19.4
Fluentd enriches records with metadata fields while processing container logs. The same records can then be routed to different targets, such as Elasticsearch or stdout, without changing the application. section 19.4
Figure 19.14 Fluentd uses the tag in the log to filter out records and to generate new fields.
The figure shows Fluentd using log tags to filter records and generate new metadata fields. section 19.4
Filtering and routing enriched logs
Access-log records can be filtered from Elasticsearch and echoed to stdout while retaining the same app, service, and image metadata. Changing the Fluentd configuration later sends them back to Elasticsearch without application changes. section 19.4
