<commit_before># buttered-scones

**buttered-scones** watches log files on disk and forwards them to **logstash**
via the **lumberjack** protocol. It is similar to **logstash-forwarder**.

## Configuration

Like **logstash-forwarder**, **buttered-scones** is configured via a JSON file.

```json
{
  "state": "/var/lib/buttered-scones/state.db",

  "network": {
    "server":       "logstash.internal.example.com:5043",<commit_msg>Link up<commit_after># buttered-scones

**buttered-scones** watches log files on disk and forwards them to **logstash**
via the **lumberjack** protocol. It is similar to
[**logstash-forwarder**](https://github.com/elasticsearch/logstash-forwarder).

## Configuration

Like **logstash-forwarder**, **buttered-scones** is configured via a JSON file.

```json
{
  "state": "/var/lib/buttered-scones/state.db",

  "network": {
    "server":       "logstash.internal.example.com:5043",
{'fraction_non_alphanumeric': 0.16355653128430298, 'fraction_numerical': 0.008781558726673985, 'mean_word_length': 4.7, 'pattern_counts': {'":': 6, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5840011', 'n_tokens_mistral': 318, 'n_tokens_neox': 307, 'n_words': 76}