[Security Solution][Data Views][Discuss] - Updating sourcerer/data view state management #137885
Labels
discuss
Feature:Data Views
Data Views code and UI - index patterns before 8.0
Team:Detection Engine
Security Solution Detection Engine Area
Team: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Purpose
The goal of this issue is to 1) collect documentation on sourcerer that help us understand the existing architecture 2) discuss updates needed to sourcerer.
Background
Security solution introduced data views into it's flows in 8.0 - the logic and component that control this are referred to as
Sourcerer
within the team. Security solution has a default data view it instantiates and uses that includes all relevant security solution indices-*elastic-cloud-logs-*,.alerts-security.alerts-default,apm-*-transaction*,auditbeat-*,endgame-*,filebeat-*,logs-*,packetbeat-*,traces-apm*,winlogbeat-*
. Based on which page the user is navigating to, sourcerer decides which indices to filter on.At a very very high level, sourcerer includes logic to:
Over the course of moving to sourcerer we've come up against a number of performance issues. Additionally, there is a lack of understanding of what the best practice is for devs when fetching needed browser fields or index information resulting in use of very heavy/costly hooks throughout the code.
The first step in all of this was to establish an understanding of the existing architecture. Big kudos to @YulNaumenko who took this on and created some awesome flows for us.
Existing architecture
🔥 Diagram by @YulNaumenko
![diagrams and data flows](https://user-images.githubusercontent.com/10927944/182420158-1a3e6d2a-f9ea-41af-9da0-7a245372571a.jpeg)
Takeaways from initial research
[Notes by @YulNaumenko]
Existing documentation
Related issues
fields
from sourcerer response #130917The text was updated successfully, but these errors were encountered: