<commit_before>input {
  tcp {
    port => 1222
    codec => "gummi"
  }

}

###
## OUTPUTS
###

output {
  tcp_filter {
    host => "0.0.0.0"
    mode => "server"
    port => 4444
  }
  stdout {
    debug => true
  }
  elasticsearch {
    # beny
    host => "192.168.13.5"
    cluster => "mrdka"
  }
}<commit_msg>elastic host<commit_after>input {
  tcp {
    port => 1222
    codec => "gummi"
  }

}

###
## OUTPUTS
###

output {
  tcp_filter {
    host => "0.0.0.0"
    mode => "server"
    port => 4444
  }
  stdout {
    debug => true
  }
  elasticsearch {
    host => "127.0.0.1"
    cluster => "gummi-log"
  }
}
{'fraction_non_alphanumeric': 0.18152350081037277, 'fraction_numerical': 0.06320907617504051, 'mean_word_length': 1.9014084507042253, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '7602750', 'n_tokens_mistral': 289, 'n_tokens_neox': 263, 'n_words': 48}