I have a process which writes something in file, see below for an example. Is there any way to show me what was written in file with this event? thanks.
Example of process monitor write action:
That line in your screenshots contains various bits of information. Among them are an offset and a length. It's likely that they represent the amount of data (length) that was written into that file at a specific position (offset).
As it is a log file, I'd assume its an ASCII file. In that case each character would have one byte and it's likely that the offset and length are given in byte. As such you would just have to jump to the number character and read the following number of characters to get what was written to that file.
There are various approaches to do this and they would depend on the kinds of tools you use. You could use the Linux tool that are available through cygwin, the PowerShell, some editor that allows you to jump to a specific location or another tool altogether. So yes, you could automate it.
The easiest approach would probably to read the first amount of characters, discard them and then read the next amount of characters and output them.
The specifics on how to do this would depend on the tools you use and it should be easy to find a solution using your favorite search engine.
.log
file it's likely a text file. Open it with your favorite text editor and have a look.