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

Use cJSON instead of writing a custom JSON output format. #49

Merged
merged 4 commits into from
Feb 18, 2014

Conversation

reyjrar
Copy link
Member

@reyjrar reyjrar commented Feb 17, 2014

This addresses Issue#32. I have tested that this code builds and runs. I had to tweak the config for the ZeroMQ output stuff, so if @jrossi can sanity check, that would be ideal. I also added a .gitignore.

@ddpbsd
Copy link
Member

ddpbsd commented Feb 17, 2014

Why "crit" and "component" instead of level and location?

@reyjrar
Copy link
Member Author

reyjrar commented Feb 18, 2014

Because CEE.

@jrossi
Copy link
Member

jrossi commented Feb 18, 2014

I hate the duplication of code in csyslog and anaylised it's self. I think some of this should be moved into shared at some point and/or re-factored.

@jrossi
Copy link
Member

jrossi commented Feb 18, 2014

Code is correct and better then making json by hand.

jrossi added a commit that referenced this pull request Feb 18, 2014
Use cJSON instead of writing a custom JSON output format.
@jrossi jrossi merged commit 5c22490 into ossec:master Feb 18, 2014
@reyjrar
Copy link
Member Author

reyjrar commented Feb 18, 2014

Agreed, we should move output into a shared library and expose everything.

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

Successfully merging this pull request may close these issues.

3 participants