forked from elastic/integrations
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add system test for panw pan-os (syslog input) (elastic#594)
Add a system test for the syslog input in the PANW PAN-OS data stream.
- Loading branch information
1 parent
8aee0ec
commit 5a38a2d
Showing
11 changed files
with
18 additions
and
11 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
.../_dev/test/system/test-default-config.yml → .../_dev/test/system/test-logfile-config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
service: panw-logfile | ||
input: logfile | ||
vars: | ||
paths: | ||
|
6 changes: 6 additions & 0 deletions
6
packages/panw/data_stream/panos/_dev/test/system/test-syslog-config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters