Skip to content

Commit

Permalink
Add system test for panw pan-os (syslog input)
Browse files Browse the repository at this point in the history
Add a system test for the syslog input in the PANW PAN-OS data stream.
  • Loading branch information
andrewkroh committed Jan 31, 2021
1 parent 976eebd commit 7ea8237
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 11 deletions.
5 changes: 0 additions & 5 deletions packages/panw/_dev/deploy/docker/Dockerfile

This file was deleted.

15 changes: 10 additions & 5 deletions packages/panw/_dev/deploy/docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
version: '2.3'
services:
panw:
tty: true
build: .
panw-logfile:
image: alpine
volumes:
- ${SERVICE_LOGS_DIR}:/logs
command: -c "cp /sample_logs/*.log /logs/"
- ./sample_logs:/sample_logs:ro
- ${SERVICE_LOGS_DIR}:/var/log
command: /bin/sh -c "cp /sample_logs/* /var/log/"
panw-panos-syslog:
image: akroh/stream:v0.0.1
volumes:
- ./sample_logs:/sample_logs:ro
command: log --start-signal=SIGHUP --delay=5s --addr elastic-agent:9514 -p=udp /sample_logs/panw-panos-traffic.log
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
service: panw-logfile
input: logfile
vars:
paths:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
service: panw-panos-syslog
service_notify_signal: SIGHUP
input: syslog
vars:
syslog_host: 0.0.0.0
syslog_port: 9514
2 changes: 1 addition & 1 deletion packages/panw/data_stream/panos/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ streams:
show_user: false
default:
- untrust
template_path: log.yml.hbs
template_path: logfile.yml.hbs
title: Log files
description: Collect logs via log file

0 comments on commit 7ea8237

Please sign in to comment.