Whitespace cleanup to get in sync with AniNIX/Uniglot hooks
This commit is contained in:
@@ -5,7 +5,7 @@ Sharingan is named after the mythical technique from the Naruto anime series. Sh
|
||||
|
||||
# Relevant Files and Software
|
||||
|
||||
We use Graylog on a dedicated VM to aggregate results. By default, all servers in a datacenter should send journald via syslog to `sharingan.$datacenter.aninix.net`.
|
||||
We use Graylog on a dedicated VM to aggregate results. By default, all servers in a datacenter should send journald via syslog to `sharingan.$datacenter.aninix.net`.
|
||||
|
||||
## Syslog-ng
|
||||
|
||||
@@ -13,7 +13,7 @@ We use a lot of services in the AniNIX ecosystem -- some create files, some pipe
|
||||
|
||||
## Journald
|
||||
|
||||
ArchLinux and most systemd-based Linux distributions use journald to track system log files.
|
||||
ArchLinux and most systemd-based Linux distributions use journald to track system log files.
|
||||
|
||||
## Suricata
|
||||
|
||||
@@ -32,12 +32,12 @@ TODO
|
||||
## Graylog
|
||||
|
||||
## Elasticsearch
|
||||
Elasticsearch acts as graylog's data backend.
|
||||
Elasticsearch acts as graylog's data backend.
|
||||
|
||||
We have seen issues where poor disk i/o or unplanned shutdown can cause Elasticsearch to have index corruption.
|
||||
We have seen issues where poor disk i/o or unplanned shutdown can cause Elasticsearch to have index corruption.
|
||||
|
||||
1. Stop elasticsearch
|
||||
1. From `/usr/share/elasticsearch/lib`, you can use `java -cp lucene-core*.jar -ea:org.apache.lucene... org.apache.lucene.index.CheckIndex /usr/share/elasticsearch/data/nodes/0/indices/1nJc43t7TGuHmVR3Q5w9PA/1/index -verbose -exorcise` (on the right index) to exorcise the corrupted data.
|
||||
1. From `/usr/share/elasticsearch/lib`, you can use `java -cp lucene-core*.jar -ea:org.apache.lucene... org.apache.lucene.index.CheckIndex /usr/share/elasticsearch/data/nodes/0/indices/1nJc43t7TGuHmVR3Q5w9PA/1/index -verbose -exorcise` (on the right index) to exorcise the corrupted data.
|
||||
1. Remove corruption flags: `rm /usr/share/elasticsearch/data/nodes/0/indices/1nJc43t7TGuHmVR3Q5w9PA/1/index/corrupted_*`
|
||||
1. Restart elasticsearch
|
||||
1. Retry shard allocation:
|
||||
|
||||
Reference in New Issue
Block a user