Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accepting json input from ossec? #27

Open
craiglawson opened this issue May 27, 2015 · 4 comments
Open

Accepting json input from ossec? #27

craiglawson opened this issue May 27, 2015 · 4 comments

Comments

@craiglawson
Copy link
Contributor

I sometimes see issues with syslog message size errors (I couldn't find one to demonstrate, but I'll keep looking), if we eliminated syslog from the equation completely would this resolve this issue? Could there be other benefits of using json direct into ELK?

I found this : http://notes.is9.co/2015/02/18/ossec-json-elk/

I'm not sure how much it would help the project, just thought it was worth suggesting?

@dsvetlov
Copy link
Owner

I sometimes see issues with syslog message size errors
Yes, I have same error sometimes. It's because originally syslog was designed only for UDP and was limited with MTU size.

json will be easy to parse.

I'm plan to work on similar feature. But I plan to forward /var/osssec/log/alert.log with logstash-forwarder because it log contains changes in files syscheck detects.

@craiglawson, can you please check, does json logs contains changes in files if option report_changes=yes is setup for syscheck?

@craiglawson
Copy link
Contributor Author

I don't (yet) have an instance to test with, upon further investigating the <jsonout_output> feature it is due to arrive with OSSEC 2.9 (or with some github branches)

@dsvetlov
Copy link
Owner

@craiglawson, ossec alert via lumberjack have already implemented. And it works very nice. You can try it.

@dsvetlov
Copy link
Owner

dsvetlov commented Aug 9, 2015

This thread contains some configuration examples for json input.

https://groups.google.com/forum/#!searchin/ossec-list/json/ossec-list/I5CytZEjV_E/eHf8UJ40T40J

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants