- Legacy APM Server Reference:
- Overview
- Installing APM Server
- Upgrading APM Server
- Setting up and running APM Server
- Configuring APM Server
- General configuration options
- Configure the output
- Parse data using ingest node pipelines
- Specify SSL settings
- Load the Elasticsearch index template
- Manual index lifecycle management
- Configure logging
- Set up the Kibana endpoint
- Load the Kibana dashboards
- Set up Real User Monitoring (RUM) support
- Use environment variables in the configuration
- Set up project paths
- Securing APM Server
- Monitoring APM Server
- Real User Monitoring (RUM)
- Tune Data Ingestion
- Storage Management
- Intake API
- Exploring data in Elasticsearch
- Exported fields
- Troubleshooting
- Release notes
- APM Server version 6.8
- APM Server version 6.8.23
- APM Server version 6.8.22
- APM Server version 6.8.21
- APM Server version 6.8.20
- APM Server version 6.8.19
- APM Server version 6.8.18
- APM Server version 6.8.17
- APM Server version 6.8.16
- APM Server version 6.8.15
- APM Server version 6.8.14
- APM Server version 6.8.13
- APM Server version 6.8.12
- APM Server version 6.8.11
- APM Server version 6.8.10
- APM Server version 6.8.9
- APM Server version 6.8.8
- APM Server version 6.8.7
- APM Server version 6.8.6
- APM Server version 6.8.5
- APM Server version 6.8.4
- APM Server version 6.8.3
- APM Server version 6.8.2
- APM Server version 6.8.1
- APM Server version 6.8.0
- APM Server version 6.7
- APM Server version 6.6
- APM Server version 6.5
- APM Server version 6.4
- APM Server version 6.3
- APM Server version 6.2
- APM Server version 6.1
- APM Server version 6.8
NOTE: You are looking at documentation for an older release. For the latest information, see the current release documentation.
Configure the File outputedit
The File output dumps the transactions into a file where each transaction is in a JSON format. Currently, this output is used for testing, but it can be used as input for Logstash.
output.file: path: "/tmp/apm-server" filename: apm-server #rotate_every_kb: 10000 #number_of_files: 7 #permissions: 0600
Configuration optionsedit
You can specify the following options in the file
section of the apm-server.yml
config file:
enabled
edit
The enabled config is a boolean setting to enable or disable the output. If set to false, the output is disabled.
The default value is true.
path
edit
The path to the directory where the generated files will be saved. This option is mandatory.
filename
edit
The name of the generated files. The default is set to the Beat name. For example, the files generated by default for APM Server would be "apm-server", "apm-server.1", "apm-server.2", and so on.
rotate_every_kb
edit
The maximum size in kilobytes of each file. When this size is reached, the files are rotated. The default value is 10240 KB.
number_of_files
edit
The maximum number of files to save under path
. When this number of files is reached, the
oldest file is deleted, and the rest of the files are shifted from last to first.
The number of files must be between 2 and 1024. The default is 7.
permissions
edit
Permissions to use for file creation. The default is 0600.
codec
edit
Output codec configuration. If the codec
section is missing, events will be json encoded.
See Change the output codec for more information.