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

[Logs UI] Original log message doesn't show for events coming from cisco.asa and netflow.log #72069

Closed
afgomez opened this issue Jul 16, 2020 · 10 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Logs UI Logs UI feature Team:obs-ux-logs Observability Logs User Experience Team

Comments

@afgomez
Copy link
Contributor

afgomez commented Jul 16, 2020

This comes from a user report in our discuss.

From the user:

I've setup the Cisco ASA module in filebeat and all the ASA logs are coming OK to my ELK server on port UDP/514. I can see the ASA lohgs in Discover and SIEM Netwotk tab.

But when I go to Kibana --> Observavility --> Logs I see a lot of error messages:

imagen

imagen(1)

We need to determine if filebeat is populating the right field in the schema or if the logs app is not processing the entry correctly.

@afgomez afgomez added bug Fixes for quality problems that affect the customer experience Feature:Logs UI Logs UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services labels Jul 16, 2020
@weltenwort
Copy link
Member

There is not message field - mainly because there's no canonical string representation.

Related:

@afgomez
Copy link
Contributor Author

afgomez commented Jul 17, 2020

I see. I'm trying to think what would make sense for a user. Let me know what you think:

For the netflow.log dataset, since there's no canonical representation (because there's not really a "log") I think it's better to filter them out when fetching log entries instead of showing something confusing. This will have two steps:

  • Change the query to filter them out.
  • Document in the netflow filebeat module that the entries will not appear in the logs UI (explaining why), but the data will still be available in Discover and Visualize.

Filtering those out will have implications in the Logs ML integration. In case we move forward with this idea we will need to decide what to do there.

For the cisco.asa dataset, the original log seems to be available in the event.original field. I think we can rebuild the message from that field for 7.10, until elastic/beats#14708 gets merged.

The potential downsides I see is that we are treating these two datasets as special snowflakes, but we do that already with nginx, kibana, etc.

Separately from this, if in filebeat 8.0.0 the default will be to ship the original log message, we need to decide if we will deprecate ourselves the reconstruction of the messages based on the individual fields. I personally think it makes sense to do so, documenting to the user that if they decide to not send the original message, the log will only appear in discover/visualize/etc.

Thoughts?

@weltenwort
Copy link
Member

Change the query to filter them out.

That sounds easier than it is - mostly due to the message reconstruction heuristics applied for other modules. I'd love to have a conversation about the future of that aspect overall.

Filtering those out will have implications in the Logs ML integration. In case we move forward with this idea we will need to decide what to do there.

The log rate analysis job currently would include it, because it only counts documents and doesn't have a technical dependency on the message. The log categorization job already filters out documents that don't have a message field, because it's the basis of the categorization.

Document in the netflow filebeat module that the entries will not appear in the logs UI

Yes, in general it would be great if each module's documentation indicated what the indexed message will be.

@stephanbinder
Copy link

Are there any updates on this bug? We need to have the asa logs correctly showing up in Kibana (case was allready opened and led to this bug).

@afgomez
Copy link
Contributor Author

afgomez commented Jul 28, 2021

@stephanbinder I don't think there has been any progress, but let me check that for you.

@drexciyaforever
Copy link

Hey team, any chance we've made progress on this? Wondering if the added support for event.original in Elastic Agent might be a solution!

@gbamparop gbamparop added Team:obs-ux-logs Observability Logs User Experience Team and removed Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services labels Nov 9, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs)

@botelastic botelastic bot added needs-team Issues missing a team label and removed needs-team Issues missing a team label labels Nov 9, 2023
@gbamparop
Copy link
Contributor

@weltenwort I assume that in Logs Explorer we would display the JSON doc in the content column, do you think there's still work to be done from our side?

@weltenwort
Copy link
Member

Ideally this would be solved via curated columns provided by these specific integrations, but the "content" column already mitigates much of this.

@gbamparop
Copy link
Contributor

Closing as it's covered by the summary / document column in Discover and the content section in the log details flyout.

@gbamparop gbamparop closed this as not planned Won't fix, can't repro, duplicate, stale Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Logs UI Logs UI feature Team:obs-ux-logs Observability Logs User Experience Team
Projects
None yet
Development

No branches or pull requests

6 participants