% content_for :title, "Events - Baffle Hub" %>
WAF event log and analysis
| Time | IP Address | Action | Path | Method | Status | Country | User Agent |
|---|---|---|---|---|---|---|---|
|
<%= event.timestamp.strftime("%H:%M:%S") %>
<%= event.timestamp.strftime("%Y-%m-%d") %>
|
<%= event.ip_address %> | <%= event.waf_action %> | <%= event.request_path || '-' %> | <%= event.request_method ? event.request_method.upcase : '-' %> | <%= event.response_status || '-' %> | <% if event.country_code.present? %> <%= event.country_code %> <% else %> - <% end %> | <%= event.user_agent&.truncate(50) || '-' %> |
<% if params[:ip].present? || params[:waf_action].present? || params[:country].present? %> No events found matching your filters. <% else %> No events have been received yet. <% end %>
<% if params[:ip].present? || params[:waf_action].present? || params[:country].present? %>