Skip to content

Commit

Permalink
Update to Graylog 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruslan Gainutdinov committed Jun 18, 2020
1 parent b6fbb34 commit 0391581
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 8 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/maven.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Java CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run: mvn --file pom.xml
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<groupId>com.wizecore.graylog2</groupId>
<artifactId>graylog-output-syslog</artifactId>
<version>2.5.1</version>
<version>3.3.0</version>
<packaging>jar</packaging>

<name>graylog-output-syslog</name>
Expand All @@ -23,7 +23,7 @@
<maven.install.skip>true</maven.install.skip>
<maven.deploy.skip>true</maven.deploy.skip>
<maven.site.skip>true</maven.site.skip>
<graylog2.version>2.5.1</graylog2.version>
<graylog2.version>3.3.0</graylog2.version>
<graylog2.syslog4j.version>0.9.60</graylog2.syslog4j.version>
<graylog2.plugin-dir>/usr/share/graylog-server/plugin</graylog2.plugin-dir>
</properties>
Expand Down
14 changes: 8 additions & 6 deletions run-graylog
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
#!/bin/bash
HERE=$PWD
GL=~/Downloads/graylog-3.0.0
GL=~/Downloads/graylog-3.3.1
TT=$GL/tmp
mkdir -p $TT
sudo umount $TT
sudo mount -o bind,noexec $TT $TT
export JAVA_OPTS="-Djava.io.tmpdir=$TT"

#sudo umount $TT
#sudo mount -o bind,noexec $TT $TT
#export JAVA_OPTS="-Djava.io.tmpdir=$TT"
rm -Rf $GL/data
mkdir -p $GL/data
mvn package -DskipTests
cp target/graylog-output-syslog-2.5.1.jar $GL/plugin
export GRAYLOG_CONF=$GL/graylog.conf
docker rm -f elastic
docker run --name elastic -p 9200:9200 -d elasticsearch:5
docker rm -f mongo
docker run --name mongo -p 27017:27017 -d mongo:3.4
docker run --name mongo -p 27017:27017 -d mongo:3.6
docker start elastic
docker start mongo
sleep 5
$GL/bin/graylogctl run

0 comments on commit 0391581

Please sign in to comment.