Hi Luis,
Thank you for responding. Actually, I included the /home directory on the 2 test computers only. Where I added a few files to check its functionality. Initially, it was showing file added as event, but now it only report ./bash history. ( detailed event at the end)
I am not monitoring the entire /etc , as there are other directories which are ignored and these are the default settings. The status shows warning but it is operating.
"full_log": "File '/home/myuser-/.bash_history' modified\nMode: scheduled\nChanged attributes: size,mtime,md5,sha1,sha256\nSize changed from '558' to '624'\nOld modification time was: '1719604677', now it is '1719611310'\nOld md5sum was: '920493b3469a53e92d5efcbc0c3186f8'\nNew md5sum is : 'd03c3300318b4892d54ac2203fbcd600'\nOld sha1sum was: 'df6f3aceaa1bc276c187c6b195405d7af92f0584'\nNew sha1sum is : '31949e24438fe0e29155e7c2c75fc2f7209a7306'\nOld sha256sum was: '107707eaf6cfc52b5e795d328edc6184eff698294cccd53d0e36eb497fef080e'\nNew sha256sum is : 'cb6d600ef72188e25d09847898a91e496020c1c8cf6da4b5bb4ea7dce9822e04'\n","
Note: These are new files added.
wazuh-indexer.service - Wazuh-indexer
Loaded: loaded (/lib/systemd/system/wazuh-indexer.service; enabled; preset: enabled)
Active: active (running) since Mon 2024-07-01 13:09:58 EDT; xxxx
Docs:
https://documentation.wazuh.com Main PID: 752 (java)
Tasks: 130 (limit: 19134)
Memory: 1.6G
CPU: 1min 634ms
CGroup: /system.slice/wazuh-indexer.service
└─752 /usr/share/wazuh-indexer/jdk/bin/java -Xshare:auto -Dopensearch.networkaddress.cache.ttl=60 -Dopensearch.networkaddress.cache.negative.ttl=10 -XX:+AlwaysPreTouch -Xss1m >
Jul 01 13:09:41 wazuh systemd[1]: Starting wazuh-indexer.service - Wazuh-indexer...
Jul 01 13:09:46 wazuh systemd-entrypoint[752]: WARNING: A terminally deprecated method in java.lang.System has been called
Jul 01 13:09:46 wazuh systemd-entrypoint[752]: WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.OpenSearch (file:/usr/share/wazuh-indexer/lib/opensearch-2.10>
Jul 01 13:09:46 wazuh systemd-entrypoint[752]: WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.OpenSearch
Jul 01 13:09:46 wazuh systemd-entrypoint[752]: WARNING: System::setSecurityManager will be removed in a future release
Jul 01 13:09:47 wazuh systemd-entrypoint[752]: WARNING: A terminally deprecated method in java.lang.System has been called
Jul 01 13:09:47 wazuh systemd-entrypoint[752]: WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.Security (file:/usr/share/wazuh-indexer/lib/opensearch-2.10.0>
Jul 01 13:09:47 wazuh systemd-entrypoint[752]: WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.Security
Jul 01 13:09:47 wazuh systemd-entrypoint[752]: WARNING: System::setSecurityManager will be removed in a future releaseJul 01 13:09:58 wazuh systemd[1]: Started wazuh-indexer.service - Wazuh-indexer.
lines 1-21/21 (END)
Some logs from indexer:
root@wazuh:/home/myuser-# cat /var/log/wazuh-indexer/wazuh-cluster.log |grep 'WARN'
[2024-07-01T13:09:55,125][WARN ][o.o.s.c.Salt ] [node-1] If you plan to use field masking pls configure compliance salt e1ukloTsQlOgPquJ to be a random string of 16 chars length identical on all nodes
[2024-07-01T13:09:55,173][WARN ][o.o.s.a.r.AuditMessageRouter] [node-1] No default storage available, audit log may not work properly. Please check configuration.
[2024-07-01T13:09:56,245][WARN ][o.o.s.p.SQLPlugin ] [node-1] Master key is a required config for using create and update datasource APIs.
Please set plugins.query.datasources.encryption.masterkey config in opensearch.yml in all the cluster nodes. More details can be found here:
https://github.com/opensearch-project/sql/blob/main/docs/user/ppl/admin/datasources.rst#master-key-config-for-encrypting-credential-information[2024-07-01T13:09:57,491][WARN ][o.o.g.DanglingIndicesState] [node-1] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
[2024-07-01T13:09:58,674][WARN ][o.o.p.c.s.h.ConfigOverridesClusterSettingHandler] [node-1] Config override setting update called with empty string. Ignoring.
[2024-07-01T13:09:58,846][WARN ][o.o.o.i.ObservabilityIndex] [node-1] message: index [.opensearch-observability/Xw1ltJHrT7uCCj00Knnx8Q] already exists
[2024-07-01T13:09:58,880][WARN ]
[o.o.s.SecurityAnalyticsPlugin] [node-1] Failed to initialize LogType config index and builtin log typesroot@wazuh:/home/myuser-# ^C
Note: I restarted the server half an hour ago, currently, it shows INFO events, Attached is a full log since it restarted in txt.
Is there a way I can reset the FIM module? And also trace the issue to see what is causing it?
Regards
Shujaat