| 2018-10-04T23:00:01.388Z | ERROR | Could not check if the index wazuh-monitoring-3.x-2018.10.04 exists due to [cluster_block_exception] blocked by: [FORBIDDEN/12/index read-only / allow delete (api)] |
PUT .kibana/_settings
{
"index": {
"blocks": {
"read_only_allow_delete": "false"
}
}
}
PUT _settings
{
"index" : {
"blocks.read_only" : "false"
}
}--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/3e74fa49-3014-4080-9690-eaeaba450ef9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Elasticsearch:
curl -XGET 'localhost:9200'
Kibana:
/usr/share/kibana/bin/kibana -V
Logstash:
/usr/share/logstash/bin/logstash -VWazuh:
cat /etc/ossec-init.conf
Filebeat:
/usr/share/filebeat
systemctl status wazuh-manager
systemctl status filebeat
Check the configuration at:
/etc/filebeat/filebeat.yml
See if filebeat is reading the alerts.json file
lsof /var/ossec/logs/alerts/alerts.json[root@localhost wazuh]# lsof /var/ossec/logs/alerts/alerts.json
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
ossec-ana 524 ossec 9w REG 8,1 27818 789487 /var/ossec/logs/alerts/alerts.json
filebeat 818 root 5r REG 8,1 27818 789487 /var/ossec/logs/alerts/alerts.json/usr/share/filebeat/bin/filebeat version
Logstash:
/var/log/logstash/logstash-plain.log
Elasticsearch:
/var/log/elasticsearch/elasticsearch.log--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/51eff15e-abec-45c2-b431-14f966ce7ada%40googlegroups.com.
systemctl restart filebeat
[root@localhost wazuh]# lsof /var/ossec/logs/alerts/alerts.json
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
ossec-ana 524 ossec 9w REG 8,1 27818 789487 /var/ossec/logs/alerts/alerts.json
filebeat 818 root 5r REG 8,1 27818 789487 /var/ossec/logs/alerts/alerts.jsoncat /etc/filebeat/filebeat.ymlsystemctl restart logstash
systemctl restart elasticsearch
curl localhost:9200/_cluster/health?pretty--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/f3d644cd-4a53-4bee-bb50-a56a774309bf%40googlegroups.com.
ls -l /var/ossec/etc/client.keyscat /var/ossec/logs/ossec.log | grep -i error
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/6f9cb9fb-e3d7-4782-991f-dcd7a38f4a1e%40googlegroups.com.
ls -l /var/ossec/etc/client.keyscat /var/ossec/logs/ossec.log | grep -i errorHi Miguel,They are all windows servers that have the authentication issue and someone is using a vpn without split tunnel or site to site.I am rebooting my wazuh server to see if i can get the logs working. Right now I need to get that working as that is the whole point to wazuh...Currently all of my clients show no security logs, since ive upgraded.Cheers
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/4d0ea456-ea3a-4d55-b794-a6bee3488aee%40googlegroups.com.
/var/ossec/bin/agent_control -l
tail -n0 -f /var/ossec/logs/alerts/alerts.json
lsof /var/ossec/logs/alerts/alerts.json
[root@localhost wazuh]# lsof /var/ossec/logs/alerts/alerts.json
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
ossec-ana 524 ossec 9w REG 8,1 27818 789487 /var/ossec/logs/alerts/alerts.json
filebeat 818 root 5r REG 8,1 27818 789487 /var/ossec/logs/alerts/alerts.jsonsystemctl restart wazuh-manager && tail -f /var/ossec/logs/ossec.log
ls -l /var/ossec/etc/client.keys
[root@Manager wazuh]# ls -l /var/ossec/etc/client.keys
-rw-r-----. 1 ossec ossec 0 Oct 10 13:15 /var/ossec/etc/client.keys/var/log/logstash/logstash-plain.log
/var/log/elasticsearch/elasticsearch.log
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/ce3e9852-966c-48ed-b05f-6154a5659464%40googlegroups.com.

when i runtail -n0 -f /var/ossec/logs/alerts/alerts.json | grep -i Ubuntunothing comes up for any of my Linux machinesIf i runtail -n0 -f /var/ossec/logs/alerts/alerts.json | grep -i windowsIt showing logs.
The other thing i found is that I have over 257 clients. Yet when i run curl to check indices I dont see 257 indices, since the upgrade..
yellow open wazuh-alerts-3.x-2018.10.13 wM5hHYMCQsG5XCkIquE-QA 5 1 303773 0 221.7mb 221.7mb
[2018-10-12T22:11:12,903][INFO ][logstash.outputs.elasticsearch] retrying failed action with response code: 403 ({"type"=>"cluster_block_exception", "reason"=>"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"})
curl -XPUT -H "Content-Type: application/json" http://localhost:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'
logging:
level: debug
to_files: true
files:
path: /var/log/filebeat
name: filebeat.log
keepfiles: 7--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/d89e2f65-349e-42f3-8fc4-8846ec14fc97%40googlegroups.com.
# systemctl stop logstash
# systemctl stop filebeat# yum remove filebeat# curl -so /etc/logstash/conf.d/01-wazuh.conf https://raw.githubusercontent.com/wazuh/wazuh/3.6/extensions/logstash/01-wazuh-local.conf
# usermod -a -G ossec logstash# systemctl restart logstashcurl -XPUT 'http://localhost:9200/_settings' -H 'Content-Type: application/json' -d' { "index": { "blocks": { "read_only_allow_delete": "false" } } } '# date // For debug purposes, it would be nice if we know your instance date, then we can check the logs properly
# cat /var/log/logstash/logstash-plain.log | grep -i -E "(error|warning|critical)"# ls /usr/share/elasticsearch/data/nodes/0
_state indices node.lock
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/cf4df2d6-699b-465c-9f68-c2bbeeeb33fa%40googlegroups.com.
# chown -R logstash:logstash /usr/share/logstash
# chown -R logstash:logstash /var/lib/logstash# systemctl restart logstash# cat /var/log/logstash/logstash-plain.log | grep -i -E "(error|warning|critical)"To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/cf4df2d6-699b-465c-9f68-c2bbeeeb33fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/dac79598-de31-4e89-9720-0d8d88e9e792%40googlegroups.com.
# chmod -R 766 /usr/share/logstash# systemctl restart logstash# cat /var/log/logstash/logstash-plain.log | grep -i -E "(error|warning|critical)" To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+unsubscribe@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/cf4df2d6-699b-465c-9f68-c2bbeeeb33fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/cf4df2d6-699b-465c-9f68-c2bbeeeb33fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/dac79598-de31-4e89-9720-0d8d88e9e792%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/1db17e05-facb-4b91-9b19-92c9b029a665%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/CA%2BchfSTFRi_upLu1NpfC9RLj26cjvXZG01v8VjEczVFwzX1FWQ%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/28c18688-ace4-4dff-aefa-bb322085b616%40googlegroups.com.
tail -10 /var/ossec/logs/alerts/alerts.json# lsof /var/ossec/logs/alerts/alerts.jsoncurl localhost:9200/_cat/indices/wazuh-alerts-3.x-*--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/fe7b2753-31aa-4442-b5c3-a022fc09dd38%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/fe7b2753-31aa-4442-b5c3-a022fc09dd38%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/229883fd-b8fc-404d-91ca-cb708eb080ac%40googlegroups.com.



Also, a nice check is look for that agent status in your Wazuh API, maybe it's down:
curl -u api_user:api_password localhost:55000/agents/013?select=statusRegards,
Jesús
Here is another one same thing.
On Wed, Oct 17, 2018 at 9:03 AM Nicholai Tailor <nichola...@gmail.com> wrote:
Hi Jesus,When making it 013 didnt make a difference.
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/0518e178-d038-438c-b9ee-a5566fda0ed9%40googlegroups.com.

# chown -R logstash:logstash /usr/share/logstash</s
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/28d478f1-8faa-4d10-b936-50fcac9b6705%40googlegroups.com.



--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/6e48a2a2-2416-487c-b0af-cfce7a96f97a%40googlegroups.com.
$ datecat /var/ossec/logs/ossec.log | grep -i -E "(error|warning|critical)"# ps aux | grep ossec# chown -R kibana:kibana /usr/share/kibana/optimize
# chown -R kibana:kibana /usr/share/kibana/plugins
# systemctl restart kibana // Close and open your browser and wait about 30s before entering the Kibana UI again, otherwise it could be still loading
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/1dddbff9-e2b3-4db9-8e32-e6abb05b1e71%40googlegroups.com.
&
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/372115e5-6e7d-4c6c-a287-506d9e216095%40googlegroups.com.
- Let me know the date from the instance where Elasticsearch is installed, I remember that is the same as the Wazuh manager instance.
// Login using SSH into the Elasticsearch/Wazuh manager instance
$ date- Let me know the date from the instance where the agent "013" is installed.
// Login using SSH into the agent "013" instance
$ date- Copy here the error/warning in the ossec.log from the agent "013"
// Login using SSH into the agent "013" instance
$ cat /var/ossec/logs/ossec.log | grep -i -E "(error|warning|critical)"- Copy here the ps aux output from the agent "013"
// Login using SSH into the agent "013" instance
$ ps aux | grep ossecTo unsubscribe from this group and stop receiving emails from it, send an email to wazuh+unsubscribe@googlegroups.com.
root@dgsdqahw03:~# date
Wed Oct 17 13:29:07 UTC 2018
[root@waz01 ~]# date
Wed 17 Oct 14:29:17 BST 2018
root@dgsdqahw03:~# cat /var/ossec/logs/ossec.log | grep -i -E "(error|warning|critical)"
2018/10/17 00:09:08 ossec-agentd: WARNING: Agent buffer at 90 %.
2018/10/17 00:09:08 ossec-agentd: WARNING: Agent buffer is full: Events may be lost.
2018/10/17 12:10:20 ossec-agentd: WARNING: Agent buffer at 90 %.
2018/10/17 12:10:20 ossec-agentd: WARNING: Agent buffer is full: Events may be lost.
wc -l /var/log/audit/audit.log | cut -d'/' -f1# systemctl restart wazuh-agent# tail -f /var/ossec/logs/ossec.log | grep syscheck | grep Ending2018/10/17 13:36:03 ossec-syscheckd: INFO: Ending syscheck scan (forwarding database).wc -l /var/log/audit/audit.log | cut -d'/' -f1# auditctl -l&qu
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/9baa7a13-815e-42e0-a9cb-96dec3c3f3cd%40googlegroups.com.
<logall_json>yes</logall_json>
# systemctl restart wazuh-manager# systemctl restart wazuh-agent
# tail -f /var/ossec/logs/ossec.log | grep WARNING{"timestamp":"2018-10-17T18:06:18.125+0100","rule":{"level":7,"description":"Host-based anomaly detection event (rootcheck).","id":"510","firedtimes":3840,"mail":false,"groups":["ossec","rootcheck"],"gdpr":["IV_35.7.d"]},"agent":{"id":"013","name":"dgsdqahw03","ip":"10.79.244.143"},"manager":{"name":"dgsdprdwaz01"},"id":"1539795978.2752323246","full_log":"File '/var/lib/kubelet/pods/2ff462ce-7233-11e8-8282-005056b518e6/containers/install-cni/c9369c41' is owned by root and has written permissions to anyone.","decoder":{"name":"rootcheck"},"data":{"title":"File is owned by root and has written permissions to anyone.","file":"/var/lib/kubelet/pods/2ff462ce-7233-11e8-8282-005056b518e6/containers/install-cni/c9369c41"},"location":"rootcheck"}
cat archives.json | grep rootcheck | wc -l
489cat archives.json | grep rootcheck | grep 510 | wc -l
489cat archives.json | grep rootcheck | grep 510 | grep /var/lib/kubelet/pods/ | wc -l
489<rootcheck>
...
<ignore>/var/lib/kubelet</ignore>
...
</rootcheck>
# systemctl restart wazuh-agent# /var/ossec/bin/agent_groups -s -i 013
<agent_config>
<!-- Shared agent configuration here -->
<rootcheck>
<ignore>/var/lib/kuberlet</ignore>
</rootcheck>
</agent_config># systemctl restart wazuh-managerHi Jesus,
Okay,
Im sure this might be happening to a lot of machines.
Can i add this to wazuh-manager configuration?
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/dc743bf6-e437-4c5f-8d9c-8dafdf7770e1%40googlegroups.com.
May I ask why the agent buffer gets full error occurs?
And is there way to make that buffer much larger?
<client_buffer> <!-- Agent buffer options --> <disabled>no</disabled> <queue_size>5000</queue_size> <events_per_second>500</events_per_second></client_buffer>To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/dc743bf6-e437-4c5f-8d9c-8dafdf7770e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/f646303c-d6de-4577-abae-d65e92360e54%40googlegroups.com.
Nicholai, one more thing,
cat /var/ossec/logs/ossec.log | grep -</spa
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/3fd253d7-be81-4d65-b47a-e953f8f58001%40googlegroups.com.
Nicholai, one more thing,
cat /var/ossec/</spa
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/d4e63be5-4863-44e9-81c5-92b3915bdf75%40googlegroups.com.
# ls /usr/share/elasticsearch/data/nodes/0
_state indices node.lockHi Nicholai,As you said in your other thread, you may fall into an Elasticsearch block due to disk usage.
Removing Filebeat, setting up Logstash
If you are using a single-host architecture, let's remove Filebeat for performance reasons:1. Stop affected services:# systemctl stop logstash
# systemctl stop filebeat2. Remove Filebeat# yum remove filebeat3. Setting up Logstash# curl -so /etc/logstash/conf.d/01-wazuh.conf https://raw.githubusercontent.com/wazuh/wazuh/3.6/extensions/logstash/01-wazuh-local.conf
# usermod -a -G ossec logstash4. Restart Logstash# systemctl restart logstash5. Please, copy and paste this command (it differs from your curl in the other thread):curl -XPUT 'http://localhost:9200/_settings' -H 'Content-Type: application/json' -d' { "index": { "blocks": { "read_only_allow_delete": "false" } } } '
6. Now check again your Logstash log file:# date // For debug purposes, it would be nice if we know your instance date, then we can check the logs properly
# cat /var/log/logstash/logstash-plain.log | grep -i -E "(error|warning|critical)"Disk usage and ElasticsearchElasticsearch has a watermark to prevent from making the disk unusable.You said /var/ossec is in a different partition, that's okay but Elasticsearch stores its indices in a different place, for examplein a CentOS 7 I've just created it's storing in /usr/share/elasticsearch/data.# ls /usr/share/elasticsearch/data/nodes/0
_state indices node.lock
Please, ensure Elasticsearch partition (if you have a different partition) has enough space.I hope it helps.Best regards,Jesús
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/cf4df2d6-699b-465c-9f68-c2bbeeeb33fa%40googlegroups.com.
$ cat /etc/elasticsearch/elasticsearch.ymlpath.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch#This is a commented line
This is an uncommented line# systemctl restart elasticsearchTo unsubscribe from this group and stop receiving emails from it, send an email to wazuh+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/cf4df2d6-699b-465c-9f68-c2bbeeeb33fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/5cbbfe67-f386-4633-b067-c0628ee2e923%40googlegroups.com.
Kibana:
/usr/share/kibana/bin/kibana -V
[root@waz01 ~]# /usr/share/kibana/bin/kibana -V
6.4.0
Logstash:
/usr/share/logstash/bin/logstash -V
[root@waz01 ~]# /usr/share/logstash/bin/logstash -V
logstash 6.4.2
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+unsubscribe@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/cf4df2d6-699b-465c-9f68-c2bbeeeb33fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/cf4df2d6-699b-465c-9f68-c2bbeeeb33fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/5cbbfe67-f386-4633-b067-c0628ee2e923%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/6dd65493-bd82-4224-bade-abfec57434a2%40googlegroups.com.