-
Notifications
You must be signed in to change notification settings - Fork 0
/
packetbeat.yml
24 lines (20 loc) · 1.05 KB
/
packetbeat.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: "${DOCKER_ID:?DOCKER_ID is not set}"
fields:
docker_id: "${DOCKER_ID}"
docker_name: "${DOCKER_NAME}"
docker_image: "${DOCKER_IMAGE}"
compose_service: "${COMPOSE_SERVICE}"
compose_project: "${COMPOSE_PROJECT}"
packetbeat.interfaces.device: any
packetbeat.protocols:
- type: http
ports: ${PACKETBEAT_LISTEN_PORTS:[80, 81, 88, 8080, 8890, 1111, 4200, 9229]} # Some common default ports
send_all_headers: true
include_body_for: ["text/html", "text/html;charset=utf-8", "text/plain", "application/xml", "application/x-www-form-urlencoded", "application/xhtml+xml", "application/javascript", "application/json", "application/ld+json", "application/x-ndjson", "multipart/form-data", "application/vnd.api+json", "application/sparql-results+xml", "application/sparql-results+json", "application/sparql-query"]
decode_body: true
split_cookie: true
send_response: true
send_request: true
max_message_size: ${PACKETBEAT_MAX_MESSAGE_SIZE:102400} # Default: 100K
output.logstash:
hosts: ["${LOGSTASH_URL:?No Logstash URL provided.}"]