<commit_before>[hekad]
maxprocs=10

#
# Input
# -------------------------------

[LogstreamerInput]
log_directory = "/var/log"
file_match = 'local7\.log'

[DockerLogInput]
## Default Docker endpoint
endpoint = "unix:///var/run/docker.sock"

#
# Encoder
# -------------------------------

[PayloadEncoder]
append_newlines = false

[ESJsonEncoder]
index = "%{Type}-%{2006.01.02}"
es_index_from_timestamp = true
type_name = "%{Type}"

#
# Output
# -------------------------------

[LogOutput]
message_matcher = "TRUE"
encoder = "PayloadEncoder"

[ElasticSearchOutput]
message_matcher = "TRUE"
server = "http://%ENV[ES_HOST]:%ENV[ES_PORT]"
flush_interval = 5000
flush_count = 10
encoder = "ESJsonEncoder"

[DashboardOutput]
type = "DashboardOutput"
address = ":4352"<commit_msg>Typo<commit_after>[hekad]
maxprocs=10

#
# Input
# -------------------------------

[LogstreamerInput]
log_directory = "/var/log"
file_match = 'local7\.log'

[DockerLogInput]
## Default Docker endpoint
endpoint = "unix:///var/run/docker.sock"

#
# Encoder
# -------------------------------

[PayloadEncoder]
append_newlines = false

[ESJsonEncoder]
index = "%{Type}-%{2006.01.02}"
es_index_from_timestamp = true
type_name = "%{Type}"

#
# Output
# -------------------------------

[LogOutput]
message_matcher = "TRUE"
encoder = "PayloadEncoder"

[ElasticSearchOutput]
message_matcher = "TRUE"
server = "http://%ENV[ES_HOST]:%ENV[ES_PORT]"
flush_interval = 5000
flush_count = 10
encoder = "ESJsonEncoder"

#
# Misc
# -------------------------------

# Heka Dashboard for internal metrics and time series graphs
[Dashboard]
type = "DashboardOutput"
address = ":4352"
{'fraction_non_alphanumeric': 0.26312576312576313, 'fraction_numerical': 0.02564102564102564, 'mean_word_length': 2.7764976958525347, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, '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': '2174741', 'n_tokens_mistral': 580, 'n_tokens_neox': 545, 'n_words': 103}