You can use syslog. Tell syslogd to write a specific file and ossec agent to read that file.
Read about syslog format and protocol, and the man page of the syslog server in your OS. Regards Alberto Mijares On Thu, Dec 31, 2015 at 5:34 AM, Joao T. <[email protected]> wrote: > Hello, > > I would like to know if it is possible to send to Ossec server some logs > created by my own script running in the same hostname than Ossec server ? > To which port should I communicate and what about the message? can be plain > text? > > Thank you and happy new year > Joao > > > -- > > --- > You received this message because you are subscribed to the Google Groups > "ossec-list" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- --- You received this message because you are subscribed to the Google Groups "ossec-list" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
