From 0d76a0a9ec5757cad683e44708cbbc4e42983be9 Mon Sep 17 00:00:00 2001 From: Ilija Vukotic Date: Tue, 6 Feb 2024 13:44:57 +0100 Subject: [PATCH] updating crest --- .github/workflows/crest.yaml | 6 +++--- Dockerfile.crest | 2 +- configs/crest.conf | 6 ++++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/crest.yaml b/.github/workflows/crest.yaml index f82f1e3..1467c95 100644 --- a/.github/workflows/crest.yaml +++ b/.github/workflows/crest.yaml @@ -10,10 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v4.1.1 - name: Docker Build & Push Action - uses: mr-smithers-excellent/docker-build-push@v6.2 + uses: mr-smithers-excellent/docker-build-push@v6.3 with: image: atlasanalyticsservice/uc_ls_crest dockerfile: Dockerfile.crest @@ -23,7 +23,7 @@ jobs: password: ${{ secrets.DOCKER_PASSWORD }} - name: Repository Dispatch - uses: peter-evans/repository-dispatch@v2.1.1 + uses: peter-evans/repository-dispatch@v3.0.0 with: token: ${{ secrets.AAAS_GITOPS_DEPLOY_TRIGGER }} repository: maniaclab/river_apps diff --git a/Dockerfile.crest b/Dockerfile.crest index d620f1f..60c2e1c 100644 --- a/Dockerfile.crest +++ b/Dockerfile.crest @@ -1,4 +1,4 @@ -FROM docker.elastic.co/logstash/logstash:8.7.0 +FROM docker.elastic.co/logstash/logstash:8.10.2 LABEL maintainer="Ilija Vukotic " diff --git a/configs/crest.conf b/configs/crest.conf index 0a4362f..03d2952 100644 --- a/configs/crest.conf +++ b/configs/crest.conf @@ -7,11 +7,13 @@ input { } filter { - - mutate { remove_field => [ "logger_name", "port", "type" ] } + + if [token] not in [ "crest" ] { + drop {} + } } output {