<commit_before># tnt4j-syslogd
Syslogd over TNT4J implementation

Streaming Syslog over TNT4J 
===============================
Please follow these steps to stream syslog over TNT4J:

* Configure `config/tnt4j.properties`, 
	* Default configuration is under `com.jkoolcloud.jesl.net.syslogd` stanza.
* Run JESL syslogd `<home>/bin/jksysd > jksysd.json`. 
	* By default JESL `jksysd` binds to TCP port `5140` and writes out JSON formatted syslog messages.
	* JSON output can be played back using `<home>/bin/jksys` utility.
* Configure `syslog/rsyslog` to forward to JESL syslog daemon over TCP (`hostname` is where JESL `jksysd` is running)
	* RFC 3164 (e.g. `*.* @@hostname:5140`)
	* RFC 5424 (e.g. `*.* @@hostname:5140;RSYSLOG_SyslogProtocol23Format`)
* Sending syslog messages from command line (`<home>/bin/jksys`):
```
$ jksys -h localhost -p 5140 -l error -f user tcp "appl-name[883]: my syslog mesasge about appl-name pid=883"
```
* Sending PCI messages from command line (`<home>/bin/jksys`):
```
$ jksys -h localhost -p 5140 -l error -f user tcp "#pci(userId=john,eventType=audit,status=success,origination=CreditCards,affectedResource=Payment)"
```
* Playback syslog JSON messages from command line (`<home>/bin/jksys`):
```
$ jksys -h localhost -p 5140 -f jksysd.json tcp
```
where `jksysd.json` is JSON output of JESL syslog daemon.

That should do it.

**NOTE:** Currently supports (RFC 3164) and the Structured Syslog protocol (RFC 5424).

# Project Dependencies
* JDK 1.6+
* TNT4J (https://github.com/Nastel/TNT4J)
* Gralog2 Syslog4j (https://github.com/Graylog2/syslog4j-graylog2)
* Joda Time (http://www.joda.org/joda-time/)
* GSON (https://github.com/google/gson)

# Integrations
* jKoolCloud (https://www.jkoolcloud.com)

Please use JCenter or Maven and dependencies will be downloaded automatically.<commit_msg>readme update.<commit_after># tnt4j-syslogd
Syslogd over TNT4J implementation

Streaming Syslog over TNT4J 
===============================
Please follow these steps to stream syslog over TNT4J:

* Configure `config/tnt4j.properties`, 
	* Default configuration is under `com.jkoolcloud.jesl.net.syslogd` stanza.
* Run JESL syslogd `<home>/bin/jksysd > jksysd.json`. 
	* By default JESL `jksysd` binds to TCP port `5140` and writes out JSON formatted syslog messages.
	* JSON output can be played back using `<home>/bin/jksys` utility.
* Configure `syslog/rsyslog` to forward to JESL syslog daemon over TCP (`hostname` is where JESL `jksysd` is running)
	* RFC 3164 (e.g. `*.* @@hostname:5140`)
	* RFC 5424 (e.g. `*.* @@hostname:5140;RSYSLOG_SyslogProtocol23Format`)
* Sending syslog messages from command line (`<home>/bin/jksys`):
```
$ jksys -h localhost -p 5140 -l error -f user tcp "appl-name[883]: my syslog mesasge about appl-name pid=883"
```
* Sending PCI messages from command line (`<home>/bin/jksys`):
```
$ jksys -h localhost -p 5140 -l error -f user tcp "#pci(userId=john,eventType=audit,status=success,origination=CreditCards,affectedResource=Payment)"
```
* Playback syslog JSON messages from command line (`<home>/bin/jksys`):
```
$ jksys -h localhost -p 5140 -f jksysd.json tcp
```
where `jksysd.json` is JSON output of JESL syslog daemon.

That should do it.

**NOTE:** Currently supports (RFC 3164) and the Structured Syslog protocol (RFC 5424).

# Project Dependencies
* JDK 1.7+
* TNT4J (https://github.com/Nastel/TNT4J)
* Gralog2 Syslog4j (https://github.com/Graylog2/syslog4j-graylog2)
* Joda Time (http://www.joda.org/joda-time/)
* GSON (https://github.com/google/gson)

# Integrations
* jKoolCloud (https://www.jkoolcloud.com)

Please use JCenter or Maven and dependencies will be downloaded automatically.
{'fraction_non_alphanumeric': 0.14504233815897297, 'fraction_numerical': 0.03387052717836657, 'mean_word_length': 4.785150078988941, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, 'https://': 8, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1386224', 'n_tokens_mistral': 1434, 'n_tokens_neox': 1303, 'n_words': 386}