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

JSON Result File contains empty lines #37

Closed
matthewtckr opened this issue Mar 16, 2020 · 3 comments
Closed

JSON Result File contains empty lines #37

matthewtckr opened this issue Mar 16, 2020 · 3 comments

Comments

@matthewtckr
Copy link

matthewtckr commented Mar 16, 2020

When using the default settings of logging JSON to a result.txt file, there are empty lines between each JSON object

The u"\n" should not be appended when serializing each result to JSON
https://github.com/sophos/Sophos-Central-SIEM-Integration/blob/v1.1.0/siem.py#L278

@ramksophos
Copy link
Contributor

@matthewtckr, is that a problem?

@matthewtckr
Copy link
Author

matthewtckr commented Sep 9, 2021

We can probably close this. I've since switched from an ELK stack where this is a problem

@ramksophos
Copy link
Contributor

We've fixed this now: #59 (in master)

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

No branches or pull requests

2 participants