75 void RefreshNgrams (
const std::vector<unsigned long>& indices);
81 [[nodiscard]]
static std::vector<std::string>
Tokenise(
const std::string& text);
84 [[nodiscard]]
static std::vector<std::string>
MergeTokens(
85 const std::vector<std::string>& a,
86 const std::vector<std::string>& b);
89 [[nodiscard]]
static QString
RenderTemplate(
const std::vector<std::string>& tokens);
High-performance, thread-safe container for managing large collections of LogEvent objects.
Definition EventsContainer.hpp:129
Definition DrillDownFilter.hpp:20
Definition EventsTableView.hpp:29
Panel for detecting recurring structures and correlations across log events.
Definition PatternAnalysisPanel.hpp:51
void RefreshTemplates(const std::vector< unsigned long > &indices)
Definition PatternAnalysisPanel.cpp:326
void TemplateSelected(std::vector< unsigned long > matchingIndices)
DrillDownFilter m_templateFilter
The events-view filter set by the last template click.
Definition PatternAnalysisPanel.hpp:113
QComboBox * m_ngramSizeCombo
Bigram / Trigram selector.
Definition PatternAnalysisPanel.hpp:106
void RefreshNgrams(const std::vector< unsigned long > &indices)
Definition PatternAnalysisPanel.cpp:626
std::vector< std::vector< unsigned long > > m_templateMatches
Definition PatternAnalysisPanel.hpp:111
static QString RenderTemplate(const std::vector< std::string > &tokens)
Render a token sequence back to a human-readable string.
Definition PatternAnalysisPanel.cpp:311
QSpinBox * m_windowSpin
Time-window size in seconds.
Definition PatternAnalysisPanel.hpp:102
void BuildLayout()
Definition PatternAnalysisPanel.cpp:40
std::vector< unsigned long > VisibleIndices() const
Definition PatternAnalysisPanel.cpp:250
QTabWidget * m_tabs
Definition PatternAnalysisPanel.hpp:95
static std::vector< std::string > MergeTokens(const std::vector< std::string > &a, const std::vector< std::string > &b)
Merge two token sequences into a template; differing tokens → "{*}".
Definition PatternAnalysisPanel.cpp:287
QTableWidget * m_coocTable
Definition PatternAnalysisPanel.hpp:103
static std::vector< std::string > Tokenise(const std::string &text)
Tokenise text on whitespace and common delimiters.
Definition PatternAnalysisPanel.cpp:266
void RefreshCooccurrence(const std::vector< unsigned long > &indices)
Definition PatternAnalysisPanel.cpp:503
EventsTableView * m_eventsView
Definition PatternAnalysisPanel.hpp:93
db::EventsContainer & m_events
Definition PatternAnalysisPanel.hpp:92
QTableWidget * m_templateTable
Definition PatternAnalysisPanel.hpp:99
QComboBox * m_msgFieldCombo
Which field to use as "message".
Definition PatternAnalysisPanel.hpp:98
QTableWidget * m_ngramTable
Definition PatternAnalysisPanel.hpp:108
void Refresh()
Recompute all analyses from the current visible event set.
Definition PatternAnalysisPanel.cpp:203
QSpinBox * m_ngramTopNSpin
How many top n-grams to display.
Definition PatternAnalysisPanel.hpp:107
Database and data model components for the LogViewer application.
Definition EventsContainer.cpp:17
Definition ConfigEditorDialog.cpp:19