Skip to content

Commit

Permalink
Feature/baseconfig (#13)
Browse files Browse the repository at this point in the history
This change implements the configuration framework allowing plug of filter modules for the primary deployment type
Fixes #12 
Fixes #11 
This change adds a filter for Palo Alto networks devices
  • Loading branch information
Ryan Faircloth authored and GitHub committed Jul 11, 2019
1 parent 741191e commit 8f20ae0
Show file tree
Hide file tree
Showing 27 changed files with 370 additions and 771 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -306,3 +306,6 @@ tags
/test-results/
/.idea/workspace.xml
/.idea/tasks.xml
!/package/scripts/switch_transport.sh
!/package/scripts/splunkmetrics.sh
!/package/scripts/
4 changes: 2 additions & 2 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/splunk-connect-for-syslog.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ services:
- SPLUNK_HEC_TOKEN
- SPLUNK_PASSWORD
- SPLUNK_START_ARGS
- SPLUNK_APPS_URL
- SPLUNKBASE_USERNAME
- SPLUNKBASE_PASSWORD
volumes:
- ./splunk/SA-syslog-ng:/opt/splunk/etc/apps/SA-syslog-ng
# logging:
# driver: splunk
# options:
Expand Down
4 changes: 3 additions & 1 deletion package/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,21 @@ RUN cd /tmp ;\

ENV DEBCONF_NONINTERACTIVE_SEEN=true
ENV SPLUNK_CONNECT_METHOD=hec
ENV SYSLOGNG_HEC_WORKERS=3

RUN source scl_source enable rh-python36 ; curl -fsSL https://goss.rocks/install | GOSS_VER=v0.3.7 sh
COPY goss.yaml /etc/goss.yaml

COPY --from=0 /opt/syslog-ng /opt/syslog-ng
COPY scripts/splunkmetrics.sh /opt/syslog-ng/sbin/splunkmetrics.sh
COPY scripts/switch_transport.sh /opt/syslog-ng/sbin/switch_transport.sh
COPY etc/syslog-ng.conf /opt/syslog-ng/etc/syslog-ng.conf
COPY etc/conf.d /opt/syslog-ng/etc/conf.d
COPY etc/context /opt/syslog-ng/etc/context
COPY sbin/entrypoint.sh /sbin/entrypoint.sh

RUN source scl_source enable rh-python36 ;/opt/syslog-ng/sbin/syslog-ng -V
RUN source scl_source enable rh-python36 ;/opt/syslog-ng/sbin/syslog-ng -t
RUN mkdir -p /var/log/syslog-ng/data/disk-buffer

EXPOSE 514
EXPOSE 601/tcp
Expand Down
251 changes: 0 additions & 251 deletions package/etc/conf.d/blocks/b_destinations.conf

This file was deleted.

Loading

0 comments on commit 8f20ae0

Please sign in to comment.