<commit_before><commit_msg>Create 2021-12-15-ELK.md<commit_after>---
layout: post
title: "ELK Stack"
---

# ELK

## Elasticsearch

directory layout for homebrew installs : https://www.elastic.co/guide/en/elasticsearch/reference/7.16/brew.html

Data:    /usr/local/var/lib/elasticsearch/elasticsearch_rose/
Logs:    /usr/local/var/log/elasticsearch/elasticsearch_rose.log
Plugins: /usr/local/var/elasticsearch/plugins/
Config:  /usr/local/etc/elasticsearch/
{'fraction_non_alphanumeric': 0.14473684210526316, 'fraction_numerical': 0.02412280701754386, 'mean_word_length': 4.376470588235295, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, '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': '2848807', 'n_tokens_mistral': 162, 'n_tokens_neox': 160, 'n_words': 23}