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

Output Issue #17

Closed
roobixx opened this issue Mar 11, 2015 · 5 comments
Closed

Output Issue #17

roobixx opened this issue Mar 11, 2015 · 5 comments

Comments

@roobixx
Copy link

roobixx commented Mar 11, 2015

When try to process a unified log file with u2json, all I get is the following:
Discarding non-event type while not in event context.
Discarding non-event type while not in event context.
Discarding non-event type while not in event context.
Discarding non-event type while not in event context.
Discarding non-event type while not in event context.
...

The command I am running is: sudo idstools-u2json --snort-conf /etc/snort/snort.conf unified2.log
and I know for a fact that data is in that file

Most likely an OE on my part but any help would be greatly appreciated

@jasonish
Copy link
Owner

Are you able to share this unified log file, or a portion of it?

@roobixx
Copy link
Author

roobixx commented Mar 11, 2015

Not sure the best place to load it so I just put it on google drive

https://drive.google.com/file/d/0B81vhRROPiNyaWV3UEhSaG1RbWM/view?usp=sharing

@jasonish
Copy link
Owner

This unified has no event records in it. Its has a lot of packet records,
and some extra data records but lacks event records. You can verify these
using u2spewfoo (from Snort) idstools-u2spewfoo - both tools just dump the
contents record by record.

idstools-u2json requires an event record to get started. It will then
bundle the event record, and following packets and extra data into a JSON
representation of the event.

I'm curious how this file was generated, I've rarely seen this many packets
without any event records.

On Wed, Mar 11, 2015 at 2:31 PM, Tim Fowler notifications@github.com
wrote:

Not sure the best place to load it so I just put it on google drive

https://drive.google.com/file/d/0B81vhRROPiNyaWV3UEhSaG1RbWM/view?usp=sharing


Reply to this email directly or view it on GitHub
#17 (comment).

@roobixx
Copy link
Author

roobixx commented Mar 11, 2015

Ahh ok!

I was having issues with snort not generating any alerts so I created a rule to basically captured everything. That is why you see so many packets

@jasonish
Copy link
Owner

jasonish commented Jul 1, 2015

Given the log file, the output was to be expected. Closing.

@jasonish jasonish closed this as completed Jul 1, 2015
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