WARNING: Version 5.6 of Packetbeat has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
After following the configuration steps in the Getting Started, you might want to fine tune the behavior of Packetbeat. This section describes some common use cases for changing configuration options.
To configure Packetbeat, you edit the configuration file. For rpm and deb, you’ll find the default configuration file at
/etc/packetbeat/packetbeat.yml. There’s also a full example configuration file at
/etc/packetbeat/packetbeat.full.yml that shows all non-deprecated options. For mac and win, look in the archive
that you extracted.
See the Config File Format section of the Beats Platform Reference for more about the structure of the config file.
The following topics describe how to configure Packetbeat:
- Configuration Options (Reference)
- Filtering and Enhancing the Exported Data
- Configuring Packetbeat to Use Ingest Node
- Exporting GeoIP Information
- Configuring Packetbeat to Use Logstash
- Using Environment Variables in the Configuration
- Setting Traffic Capturing Options
- Configuring Thrift-RPC Support
- Maintaining the Real-Time State of the Network Topology
- YAML Tips and Gotchas