Agentic AI · Project overview
LogIQ — Role-Aware AI Log Intelligence
An AI agent that investigates nearly 5 million infrastructure log records and produces evidence-grounded answers tailored to engineers, team leads, and managers.
Project Overview
- Searchable log records
- 4.96M
- Investigation tools
- 19
- Role-specific perspectives
- 3
Recorded infrastructure data, predefined SQL tools, and evidence-grounded responses tailored to the person investigating.
System Architecture
LogIQ / System architecture
One agent. A loop of evidence.
Historical logs
Three reporting perspectives
An investigation moves between a shared AI agent and its SQL tools. Evidence returns to the agent before findings are adapted to the selected audience.
Natural-language investigation
Dataset · time window · filters
Engineer
Interpret the request
Question, scope, role instructions, and conversation context.
Choose the next tool
Select a named function and relevant arguments.
Interpret returned evidence
Read structured results and their limits; decide whether more evidence is needed.
Continue with another tool, or synthesize the answer.
Planning, tool choice, and interpretation belong to this same agent loop.
Patterns, context & findings
Interpret observed errors and temporal context. Keep findings traceable to the returned evidence.
- scope · filters
- What was queried
- queries · params
- Executed SQL and bound values
- data
- Bounded records and aggregates
- notes · truncated
- Caveats and result limits
Named tool + arguments
19 predefined tools · selected as needed
Search & scope4+
Find log lines, inspect corpus coverage, and extract or filter message fields.
corpus_overviewsearch_logsextract_fieldfilter_numeric
Event investigation5+
Inspect events, neighboring lines, template history, tracebacks, and entity context.
get_nearby_eventsinvestigate_eventtemplate_historyget_tracebacktrace_instance
Aggregation & trends5+
Measure groups, recurrence, time buckets, period changes, and estimated episodes.
count_problemsproblem_trendrecurring_problemscompare_periodscount_incidents
Correlation4+
Explore preceding patterns, correlated templates, and candidate event chains. Association does not establish cause.
preceding_patternscorrelate_templatescorrelation_chainschain_profile
Prioritization1+
Rank observed patterns or teams using documented severity, frequency, spread, and trend signals.
risk_ranking
Parameterized SQL
Return structured evidence
to the same agent
SereneDB
SQL search & aggregation
4,955,783 historical log recordsTimestamp · source · component
Level · template · log content
BGL + OpenStack → parsed CSVs → loaded tables
Recorded datasets, prepared before investigation.
One agent’s findings, presented for the selected audience.
Engineer emphasis: Log lines, traceback context, labeled hypotheses, and concrete diagnostic checks.
Text architecture & implementation boundaries
A natural-language question and selected role enter one agent session. The agent interprets the context and dynamically selects from 19 predefined SQL-backed tools. Selected functions execute parameterized queries in SereneDB; bounded results and their evidence envelopes return to the same agent. It can select another tool or synthesize a response.
Evidence supports error-pattern and temporal interpretation. Role instructions shape Engineer, Team Lead, or Manager reporting through the same agent, rather than independent agents. Tools remain a shared registry; selecting a perspective here only previews reporting emphasis.
BGL and OpenStack are historical datasets. Offline preparation parses archives into structured CSVs and loads SereneDB before investigations. The corpus total describes log records, not live telemetry or independent incidents. Subsystem boundaries and tool families express responsibilities, not separate deployed services.
19 predefined investigation tools across search, investigation, aggregation, correlation, and prioritization. Tools execute parameterized SQL; the agent does not generate arbitrary SQL.
Investigation in Action
Recorded OpenStack investigation · May 16–17, 2017
Recurring InvalidDiskInfo / qemu-img failures
Follow the evidence from a scoped question to a role-aware interpretation. The investigation stays the same when the perspective changes.
- Matching error lines
- 8
- InvalidDiskInfo search matches
- Related diagnostic matches
- 24
- qemu-img search matches
- Component-level ERROR volume
- 192
- oslo_service.periodic_task
Evidence-to-answer workflow
Select a stageNatural-Language Question
Investigate recurring InvalidDiskInfo / qemu-img failures in OpenStack on May 16–17, 2017. Separate observed evidence from possible causes.
Scope: 2017-05-16 00:00:00 inclusive to 2017-05-18 00:00:00 exclusive. Timestamps remain as recorded, without timezone conversion.
Same evidence · Engineer perspective
- Finding
- Disk inspection failed with a missing-path diagnostic.
- Recommended follow-up
- Check disk paths, image-cache state, and instance lifecycle timing; verify against the recorded traceback.
Explore the recorded evidence Tools · inputs · log context
Search family · search_logs
- Example recorded input parameters
{ "dataset": "openstack", "text": "InvalidDiskInfo", "start": "2017-05-16 00:00:00", "end": "2017-05-18 00:00:00", "limit": 20 }- Evidence type
- Matching lines and total match count
- Tool operation
- Search the indexed log content within the supplied dataset and time window; return representative matches and a separate total count.
Interpretation limit. A search match is a log line, not a complete traceback or an independent incident.
2017-05-16 03:19:45 · oslo_service.periodic_task · ERROR
InvalidDiskInfo: Disk info file is invalid: qemu-img failed to execute on /var/lib/nova/instances/16797a0f-32fb-494c-8f36-38588148c35d/disk : Unexpected error while running command.
The adjacent recorded traceback includes a missing-path diagnostic. Why the path was unavailable remains unconfirmed. This context comes from the recorded search, not a new tool execution.
Root cause was not conclusively established. The missing-path diagnostic does not explain why the file was unavailable. Operational impact remains unconfirmed.
Explore the Code
Explore the implementation
Explore the agent, 19 investigation tools, SQL evidence retrieval, MCP integration, and Docker setup.