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

suricata stats on "Packet Capture Statistics" not reflecting search time frame #442

Closed
mmguero opened this issue Mar 13, 2024 · 0 comments
Closed
Assignees
Labels
bug Something isn't working dashboards Relating to Malcolm's OpenSearch Dashboards interface suricata zeek Relating to Malcolm's use of Zeek
Milestone

Comments

@mmguero
Copy link
Collaborator

mmguero commented Mar 13, 2024

there was an issue I found in the Packet Capture Statistics dashboard dealing with the following visualizations:

image

The issue is that while the Zeek stats report a measurement per interval, the Suricata stats report a monotonically increasing number. In other words, if my search time frame is 15 minutes, with the Zeek logs I'll get the total just within those 15 minutes, but with the Suricata logs I'd get a series of increasing numbers between the start and end of that time frame.

This would cause it to look something like this:

image

which would lead to the erroneous conclusion that suricata is seeing more than Zeek, when in reality it's not.

I've fixed (see mmguero-dev/Malcolm@4244740) the dashboard to take the max from the time period, subtract the min from the time period, and display that. The numbers should be more accurate now.

Note that the zeek and suricata numbers may never be exactly the same, as there are things dealing with buffers and caches, but I imagine they'll be close.

@mmguero mmguero added bug Something isn't working dashboards Relating to Malcolm's OpenSearch Dashboards interface zeek Relating to Malcolm's use of Zeek suricata labels Mar 13, 2024
@mmguero mmguero added this to the v24.03.1 milestone Mar 13, 2024
@mmguero mmguero self-assigned this Mar 13, 2024
@mmguero mmguero closed this as completed Mar 13, 2024
@mmguero mmguero added the falcon label Mar 18, 2024
This was referenced Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dashboards Relating to Malcolm's OpenSearch Dashboards interface suricata zeek Relating to Malcolm's use of Zeek
Projects
Status: Released
Development

No branches or pull requests

1 participant