What I want is,
I have a folder CSV which is empty. Now, I want to analyze each '.csv' files being added in this folder, not file integrity monitoring but I want to analyze whole contents of the file.
In short, I want to send the contents of every csv files as logs to wazuh manager which are being added in the CSV folder.
This is my current configuration but this only parsed the logs to manager whenever any modification occurs inside any csv files in that folder. I want all the logs of files parsed to wazuh manager whenever the file gets added in the folder.
<localfile>
<log_format>syslog</log_format>
<location>/my/path/*.csv</location>
</localfile>
Please help me with this.
(I am well known that I might have to write decoders and rules or jeson value can work for that. I will figure it out once I get idea for this)