<commit_before># This file is managed by puppet
<% if @logstash_host -%>
# Filter for messages from monit, and send to logstash
if $programname == 'monit' then @<%= @logstash_host %>
& ~
<% else -%>
# Please configure monit::logstash_host in puppet if you would like
# monit logs to be forwarded to logstash.
<% end -%><commit_msg>log to local as well as logstash if possible<commit_after># This file is managed by puppet

<% if @logfile_real and ! @logfile_real.empty? -%>
# This can be helpful, even if we also send to logstash
if $programname == 'monit' then <%= logfile_real %>
<% end -%>
<% if @logstash_host -%>

# Filter for messages from monit, and send to logstash
if $programname == 'monit' then @<%= @logstash_host %>
& ~
<% else -%>
& ~

# Please configure monit::logstash_host in puppet if you would like
# monit logs to be forwarded to logstash.
<% end -%>
{'fraction_non_alphanumeric': 0.12758620689655173, 'fraction_numerical': 0.0, 'mean_word_length': 4.343558282208589, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 0, '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': '6175647', 'n_tokens_mistral': 315, 'n_tokens_neox': 293, 'n_words': 111}