Dear Hamid,
There is no direct way of doing what you want (storing different event logs to different files). But you can do it indirectly by using the following steps:
1. In EventReporter, check the check box that says "Add Logtype". Press apply button.
2. In the WinSyslog, you have the ability of applying mutiple Rules within a specific Rule Set. Create, for example, a Rule for Logging the Application Events in a file. For this Rule, create a filter like shown in the following image:
And the action corresponding to it would be "log to file" as shown in the following picture:
Notice the fileName with Application appended to it.
Now this is how it will work. Since in the first step, in EventReporter, you have checked "include logtype", so the messages that are coming to this syslog WILL contain the Event Log type. In the winsyslog you have defined above that IF the message contains Application, THEN write it in the WinSyslogApplication file.
3. Create same rules for other Event Log types.
4. Restart both EventReporter and WinSyslog Service.
5. You would see different files for differnt Event Log Types in the specified directory.
Now you can configure monilog to pick the data from any file that you like.
Hope this explains. If you have any other question, please feel free to contact us.
Best regards
Wajih-ur-Rehman
Adiscon
*Posted by Andre Lorbach