From 990c35c1b486d852f26291bd1431648624d54c60 Mon Sep 17 00:00:00 2001 From: StrongestNumber9 <16169054+StrongestNumber9@users.noreply.github.com> Date: Mon, 30 Oct 2023 17:28:40 +0200 Subject: [PATCH 1/3] Adds README --- README.adoc | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 README.adoc diff --git a/README.adoc b/README.adoc new file mode 100644 index 0000000..d83d6c3 --- /dev/null +++ b/README.adoc @@ -0,0 +1,44 @@ +# ServiceNow Log to RELP forwarder (snw_01) + +## Requirements + +`java-11` + +## Configurations + +All configuration settings are passed as system properties. They can be edited with `systemctl edit --full snw_01` + +[cols=3,2] +|=== +|Property|Default value|Description + +|`log4j2.configurationFile`|`\file:///opt/teragrep/snw_01/etc/log4j2.xml`|log4j2 configuration location +|`syslog.appname`|`snw-02`|Relp application name +|`syslog.hostname`|localhost.localdomain|Relp hostname +|`tableApi.version`|`v2`|API version +|`tableApi.sysParamLimit`|`1000`|API system parameter limit +|`tableApi.tables`|`sysevent,syslog_transaction`|Tables to fetch +|`tableApi.username`||Username for authenticating to the API +|`tableApi.password`||Password for authenticating to the API +|`tableApi.url.scheme`|`http`|Protocol to use when connecting to the API +|`tableApi.url.host`|`localhost`|API host +|`tableApi.url.port`|`8080`|API port +|`statestore.directory`|`var`|Statestore directory, relative to current working directory +|`scheduler.interval`|`2000`|Fetch interval +|`proxy.enabled`|`false`|Is proxy enabled +|`proxy.host`|`localhost`|Proxy hostname +|`proxy.port`|`3128`|Proxy port +|`proxy.authentication.enabled`|`false`|Does proxy require authentication +|`proxy.authentication.username`||Username for proxy authentication +|`proxy.authentication.password`||Password for proxy authentication +|`relp.connection.timeout`|`5000`|Relp connection timeout, in milliseconds +|`relp.transaction.read.timeout`|`5000`|Relp transaction reading timeout, in milliseconds +|`relp.transaction.write.timeout`|`5000`|Relp transaction writing timeout, in milliseconds +|`relp.connection.retry.interval`|`5000`|Relp connection retry interval, in milliseconds +|`relp.connection.port`|`601`|Relp target port +|`relp.connection.address`|`localhost`|Relp target address +|=== + +## Usage + +`systemctl start snw_01` From 43b4a8fb5803985789dd198107c0975cb453ec47 Mon Sep 17 00:00:00 2001 From: StrongestNumber9 <16169054+StrongestNumber9@users.noreply.github.com> Date: Tue, 31 Oct 2023 09:53:23 +0200 Subject: [PATCH 2/3] Fixes markdown to asciidoc headers --- README.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.adoc b/README.adoc index d83d6c3..a445057 100644 --- a/README.adoc +++ b/README.adoc @@ -1,10 +1,10 @@ -# ServiceNow Log to RELP forwarder (snw_01) += ServiceNow Log to RELP forwarder (snw_01) -## Requirements +== Requirements `java-11` -## Configurations +== Configurations All configuration settings are passed as system properties. They can be edited with `systemctl edit --full snw_01` @@ -39,6 +39,6 @@ All configuration settings are passed as system properties. They can be edited w |`relp.connection.address`|`localhost`|Relp target address |=== -## Usage +== Usage `systemctl start snw_01` From 88b873f30ff2def46400faef246dfbcbba260739 Mon Sep 17 00:00:00 2001 From: Mikko Kortelainen Date: Wed, 1 Nov 2023 14:23:48 +0200 Subject: [PATCH 3/3] Update README.adoc --- README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index a445057..34bd6ef 100644 --- a/README.adoc +++ b/README.adoc @@ -1,4 +1,4 @@ -= ServiceNow Log to RELP forwarder (snw_01) += Log to RELP forwarder (snw_01) == Requirements