Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add system test for panw pan-os (syslog input) #594

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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