Hi,
I am having issues with FIM. When I look at the inventory tab on the web interface, I can see that the test file I modified changed its checksum. But when I add a filter under the Events tab, I don't get any results when I execute the query.
I try the following filter
syscheck.path is /etc/issue
but it did not work. Filebeat is running on the client. The ossec.conf configuration is this
<directories check_all="yes" report_changes="yes" whodata="yes">/etc,/usr/bin,/usr/sbi
n</directories>
I did restart the daemon to ensure that the change to the ossec.conf file was read.
Logstash is running on the server
# systemctl status logstash
● logstash.service - logstash
Loaded: loaded (/etc/systemd/system/logstash.service; enabled;
vendor preset: disabled)
Active: active (running) since Mon 2022-03-21 19:16:48 UTC; 3s ago
Main PID: 591 (java)
CGroup: /system.slice/logstash.service
└─591 /usr/share/logstash/jdk/bin/java -Xms1g -Xmx1g
-XX:+UseConcMarkSweepGC...
Mar 21 19:16:48 yah-wazuh.novalocal systemd[1]: Started logstash.
Mar 21 19:16:48 yah-wazuh.novalocal logstash[591]: Using bundled JDK:
/usr/share/logst...k
Mar 21 19:16:48 yah-wazuh.novalocal logstash[591]: OpenJDK 64-Bit
Server VM warning: O....
Hint: Some lines were ellipsized, use -l to show in full.
but the log shows that it crashes periodically. The following lines come from logstash-plain.log:
[2022-03-21T20:36:04,083][INFO ][logstash.config.source.local.configpathloader] No config
files found in path {:path=>"/etc/logstash/conf.d/*.conf"}
[2022-03-21T20:36:04,107][ERROR][logstash.config.sourceloader] No configuration found in t
he configured sources.
[2022-03-21T20:36:04,227][INFO ][logstash.agent ] Successfully started Logstash
API endpoint {:port=>9601, :ssl_enabled=>false}
[2022-03-21T20:36:09,350][INFO ][logstash.runner ] Logstash shut down.
[2022-03-21T20:36:09,367][FATAL][org.logstash.Logstash ] Logstash stopped processing be
cause of an error: (SystemExit) exit
org.jruby.exceptions.SystemExit: (SystemExit) exit
at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:747) ~[jruby-complete-9.2.2
0.1.jar:?]
at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:710) ~[jruby-complete-9.2.2
0.1.jar:?]
at usr.share.logstash.lib.bootstrap.environment.<main>(/usr/share/logstash/lib/boo
tstrap/environment.rb:94) ~[?:?]
Do you have any suggestions?
thanks,