Skip to content

Ensure that ERRORLOG importer handles the SQL LogScout scenario where >1 GB errorlog files are modified #519

@PiJoCoder

Description

@PiJoCoder

When copying SQL Server ERRORLOG files, if an ERRORLOG file exceeds 1 GB, instead of copying the entire file, it captures only the first 500 lines and last 500 lines into a head-and-tail file (ERRORLOG_Head_and_Tail_Only), with a separator message <<... middle part of file not captured because the file is too large (>1 GB) ...>> indicating the middle was skipped. This optimization avoids collecting excessively large log files while still preserving the most useful diagnostic information from the beginning and end. However, the current importer likely doesn't expect this message to be in the middle of the file and so we need to handle this scenario by skipping the message and continuing to import and put a note /line in the table that this isn't a complete ERRORLOG

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions