1 # Licensed under the Apache License, Version 2.0 (the "License"); you may
2 # not use this file except in compliance with the License. You may obtain
3 # a copy of the License at
5 # http://www.apache.org/licenses/LICENSE-2.0
7 # Unless required by applicable law or agreed to in writing, software
8 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10 # License for the specific language governing permissions and limitations
13 ######################## Filebeat Configuration ############################
16 #------------------------------ Docker input --------------------------------
17 # Experimental: Docker input reads and parses `json-file` logs from Docker
20 # Combine partial lines flagged by `json-file` format
21 #combine_partials: true
23 # Use this to read from all containers, replace * with a container id to read from one:
25 # stream: all # can be all, stdout or stderr
30 - add_docker_metadata: ~
32 # The following example enriches each event with host metadata.
36 # netinfo.enabled: false
39 #-------------------------- Elasticsearch output -------------------------------
41 # Boolean flag to enable or disable the output module.
44 # Array of hosts to connect to.
45 # Scheme and port can be left out and will be set to the default (http and 9200)
46 # In case you specify and additional path, the scheme is required: http://localhost:9200/path
47 # IPv6 addresses should always be defined as: https://[2001:db8::1]:9200
48 hosts: ["elasticsearch:9200"]
51 logging.to_files: true