framework_eng/skills/tool-usage/diagnostics/event-log-analysis/SKILL.md
Diagnostics of errors and actions in the event log
npx skillsauth add steelmorgan/1c-agent-based-dev-framework event-log-analysisInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
EL is a read-only source. Do not include raw records in the output without masking personal data. By default, mode: "minimal".
For DBMS queries, locks, and platform exceptions, use tech-log-analysis.
| Trigger | Action |
|---------|----------|
| The user reports an error | First the latest Error, then a narrow time window |
| Error for a specific period | search_event_log with from/to |
| Audit of user actions | search_event_log with a user filter |
| Checking changes to an object | search_event_log with a metadata filter |
| Database state after tests | search_event_log with from: test_start_time, limit: 20 |
| Vanessa run failed | First the latest Error, if empty - without a level filter |
cluster_guid and infobase_guid from cluster_map.yaml.search_event_log with the required filters.records: event_time, event_presentation, comment, metadata_presentation.navigate_symbol to jump to the code.level: "Error" records (without from/to if the exact time is unknown).from/to to ±15 minutes.tech-log-analysis.Timezone drift: local time and ClickHouse may differ; therefore step 1 without a time filter is more reliable.
search_event_log(
cluster_guid: "...",
infobase_guid: "...",
from: "2025-02-11T13:00:00Z",
to: "2025-02-11T14:00:00Z",
level: "Error",
mode: "minimal",
limit: 100
)
| Picture | Conclusion |
|---------|-------|
| No records | The database did not start / EL is unavailable |
| There are events, Error is absent | The database is alive, tests are running |
| The last event is session termination without errors | The tests completed successfully |
| There is an Error in event_presentation / comment | Analyze comment and metadata_presentation |
| Security warning | Switch to visual diagnostics through the GUI/screenshot |
After obtaining event_presentation and metadata_presentation:
metadata_presentation contains the name of a metadata object, call navigate_symbol to jump to the code.comment mentions an error text or a procedure name, search the codebase for the comment text.ОбщийМодуль.ОбработкаОшибок → ЗафиксироватьОшибку().If the comment field contains a session ID, HTTP request, or correlation id:
session=..., corrId=... or httpReq=....tech-log-analysis as filters (search_tech_log with session/corrId).The goal is to preserve correlation keys for the next step without mixing EL and TL analysis in one request.
mode: "minimal".from/to to the minimum necessary period.| Capability | Purpose |
|------------|------------|
| search_event_log | Search the event log (via ClickHouse) |
| navigate_symbol | Jump to code by metadata from an EL record |
| Error | Workaround |
|--------|---------------|
| GUIDs are not from cluster_map.yaml | Read the config; if it is missing, ask the user |
| ClickHouse is unavailable | Record the reason; suggest an alternative via TL |
| Time range is too wide - timeout | Narrow the window to 15-30 minutes; reduce limit |
| No errors in the EL | Cascade: without a level filter -> narrow the window -> TL |
development
1C server maintenance webhooks: container restart and external component cache cleanup
development
Interactive DAP debugging of a single BSL procedure
tools
Rules for using RLM tools for project search and navigation in 1C/BSL
development
Creates web applications and routes on Winow (a web server on OneScript and Autumn). Use when working with a web server on OneScript, routing, or Winow controllers.