Skip to content

Commit 8e7a5d0

Browse files
jvrmaiaHuksley
authored andcommitted
Fully buildable in Eclipse, compatible with Graylog 1.0 output plugin. Syslog message formatting is to be done.
1 parent d0818a3 commit 8e7a5d0

File tree

16 files changed

+309
-195
lines changed

16 files changed

+309
-195
lines changed

.classpath

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" path="src/main/java"/>
4+
<classpathentry kind="src" path="src/main/resources"/>
5+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
6+
<classpathentry kind="lib" path="lib/graylog.jar"/>
7+
<classpathentry kind="lib" path="lib/junit.jar"/>
8+
<classpathentry kind="output" path="build"/>
9+
</classpath>

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@
1414
/target
1515
/trace.db
1616
.jhw-cache
17+
/bin/
18+
/build/

.project

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>graylog2-plugin-output-syslog</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
</buildSpec>
14+
<natures>
15+
<nature>org.eclipse.jdt.core.javanature</nature>
16+
</natures>
17+
</projectDescription>

LICENSE

Lines changed: 0 additions & 29 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,9 @@
1-
Graylog2 output plugin - Syslog redirect
2-
=============
1+
Graylog2 output plugin Syslog
2+
=============================
33

44
## How to use
55

6-
Download org.graylog2.syslogoutput.output.SyslogOutput_gl2plugin.jar and put inside /graylog2/path/plugins/output/.
6+
Download GraylogSyslogOutput.jar and put inside /graylog2/path/plugins/
77

8-
Restart Graylog2 and configure HOST and PORT to redirect syslog messages.
8+
Restart Graylog2 and configure new output in streams.
99

10-
Associate the plugin to any stream and syslog messages will be redirected.
11-
12-
## Contributing
13-
14-
1. Fork it
15-
2. Create your feature branch (`git checkout -b my-new-feature`)
16-
3. Commit your changes (`git commit -am 'Add some feature'`)
17-
4. Push to the branch (`git push origin my-new-feature`)
18-
5. Create new Pull Request
19-
20-
## About current package
21-
22-
* Apache Maven 3.1.1
23-
* Oracle Java (build 1.7.0_45-b18)

jar.jardesc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="Windows-1251" standalone="no"?>
2+
<jardesc>
3+
<jar path="Builds/manual/GraylogSyslogOutput.jar"/>
4+
<options buildIfNeeded="true" compress="true" descriptionLocation="/graylog2-plugin-output-syslog/jar.jardesc" exportErrors="true" exportWarnings="true" includeDirectoryEntries="false" overwrite="true" saveDescription="true" storeRefactorings="false" useSourceFolders="false"/>
5+
<storedRefactorings deprecationInfo="true" structuralOnly="false"/>
6+
<selectedProjects/>
7+
<manifest generateManifest="false" manifestLocation="/graylog2-plugin-output-syslog/jar.mf" manifestVersion="1.0" reuseManifest="true" saveManifest="true" usesManifest="true">
8+
<sealing sealJar="false">
9+
<packagesToSeal/>
10+
<packagesToUnSeal/>
11+
</sealing>
12+
</manifest>
13+
<selectedElements exportClassFiles="true" exportJavaFiles="false" exportOutputFolder="false">
14+
<javaElement handleIdentifier="=graylog2-plugin-output-syslog/src\/main\/resources"/>
15+
<javaElement handleIdentifier="=graylog2-plugin-output-syslog/src\/main\/java"/>
16+
</selectedElements>
17+
</jardesc>

jar.mf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Manifest-Version: 1.0
2+

lib/graylog.jar

77.5 MB
Binary file not shown.

lib/junit.jar

118 KB
Binary file not shown.

pom.xml

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)