Log Template Miner

Log Template Miner

Logs stay in your browser. Field exports may contain original secrets; inspect before sharing.

1. Log input

Enter one event per line. Up to 1500 lines/256 KiB. Multiline stack traces are not combined into one event.

Enter log lines.

Comments & questions

Log Template Miner

Paste one event per line to identify number, IP, UUID, hexadecimal and time-shaped variables. Lines with enough fixed words in the same positions form a template, including varying words in the middle. Inspect each group's frequency, source line numbers and original variable values. Ordinary first and last words must match, reducing accidental merges between different event types. This is a rule-based candidate finder, not a complete log parser.

Key features

  • Up to 1500 text log lines and 256 KiB
  • Shape-based number/unit, IP, UUID, hexadecimal and time slots
  • Clusters based on shared fixed words and varying middle words
  • Frequency, original line numbers, variable positions and values
  • Template CSV, field CSV and full JSON downloads

How to use

  1. Paste log lines or choose a local .log/.txt file.
  2. Run pattern mining to separate repeated and one-off messages.
  3. Filter repeated or single templates and inspect original line numbers.
  4. Review original values in variable positions and check mistaken clusters.
  5. Download template/field CSV or full JSON.

Use cases

  • Count recurring server error messages
  • Locate changing request IDs and response times
  • Prepare candidate shapes before writing alert rules

Frequently asked questions

Which lines share a template?

Lines need the same whitespace-token count and first token, with roughly 60% of fixed positions matching. Different ordinary first or last words remain separate. Review these heuristic groups yourself.

Does it understand every log format?

No. It recognizes selected date, number, IP, UUID and hexadecimal shapes plus common words in matching positions. It does not structurally parse nested JSON, multiline stack traces or custom delimiters.

Are numbers followed by ms or MB recognized?

Yes. Numeric values with ms, s, KB, MB, GB or % suffixes are treated as variable. Arbitrary unit formats are not interpreted.

Are original logs sent out?

No. Input and selected files remain in the browser. Field CSV and JSON contain original tokens and sample lines, so inspect sensitive data before sharing.

Why can one event split into several templates?

The grouping limits merging when token counts or ordinary first/last words differ. This conservative rule avoids some false merges; manual rule training is not provided.

What happens to blanks and what are the limits?

Blank lines are skipped and counted. Input supports up to 1500 nonblank lines, 256 KiB UTF-8, 2000 characters and 64 tokens per line.

Privacy

Logs are analyzed in browser memory and selected files are not uploaded. Variable CSV and JSON may contain original IP addresses, names or secrets. Check them before sharing.

Related Tools

Text CleanerRegex TesterEvent Log SessionizerWasm Module InspectorHreflang Matrix CheckerAST Query PlaygroundContainer Build GraphDependency Graph ExplorerSemver Range LabCron Schedule AuditorPatch Review WorkbenchSource Map ExplorerLocalization Catalog AuditorStructured Data ReviewerHTTP Archive AnalyzerWebhook Signature LabProtobuf Schema WorkbenchGraphQL Schema LabAvro Schema EvolutionLocal SQL WorkbenchSchema Form BuilderMesh Repair WorkbenchPipe Network LabRobot Arm Kinematics LabThermal Network LabBeam Response LabGear Train DesignerTolerance Stackup LabSensor Calibration FitPCB Stackup PlannerDigital Filter DesignerNetwork Reachability MapSun Shadow MapGPS Error SimulatorDigital Logic SimulatorAnalog Circuit LabMechanism Linkage LabAnalysis Mesh GeneratorOpenAPI Contract InspectorDatabase Migration PlannerDimensional Equation CheckerTruss Force LabBoolean Minimization LabControl Response LabQueueing Simulation LabGeofence Event SimulatorCoordinate Reference LabSurvey Traverse LabRaster Classification LabChoropleth Design LabMap Print ComposerRaster Reprojection LabElevation Contour MakerTerrain Viewshed LabWatershed DelineatorMap Tile PackagerText File Encoding WorkbenchFilesystem Portability AuditorSBOM License ExplorerFile Signature Auditornpm Lockfile Conflict ResolverSource Secret AuditorOffline Web Package BuilderCertificate Chain InspectorTorrent Metainfo InspectorChunked File PackagerEncrypted File VaultDuplicate File FinderArchive WorkbenchDesign Token ManagerSpacing Token DesignerResponsive Type SystemPackaging Dieline DesignerSVG Icon Sprite PackerFlex Layout PlaygroundCSS Grid PlaygroundRegex Equivalence LabMarkdown Repository AuditorResponsive Layout AuditorEmail Template PreviewInternal Link GraphState Machine TesterPetri Net SimulatorGit History VisualizerCurl Request WorkbenchBinary Protocol DesignerHex File EditorBinary Patch WorkbenchFile Signature WorkbenchAPI Mock SandboxSchema Column MapperER Diagram DesignerTime Series Gap AuditorStratified Data SplitterData Lineage DesignerDecision Tree LabData Anonymization WorkbenchData Expectation RunnerJSON Schema ValidatorBasket Pattern AnalyzerRobots Policy TesterSEO HTML AuditorAccessibility Structure AuditorSyndication Feed WorkbenchIndexNow Payload BuilderCrawl Log AnalyzerCSP Policy WorkbenchSearch Performance AnalyzerCSV Formula Risk AuditorCORS Response SimulatorCache Header LabCookie Policy InspectorWeb Vitals Trace LabSitemap Health AuditorBatch File RenamerFile Manifest VerifierFolder Space MapFolder Difference ReviewerRoute Order OptimizerGeoJSON Map EditorPolygon Overlay LabCartographic Label PlacerSpatial Table JoinGeoJSON Topology AuditorGPX Track AnalyzerTrack Privacy RedactorCSV Table JoinCSV Pivot WorkbenchScientific Data ProfilerTabular Cleaning WorkbenchRecord ReconciliationData Dictionary BuilderCanonical Graph AuditorRedirect Plan TesterHTTP response and ping reference testBrowser and System InformationJSON ↔ YAML ConverterXML ↔ JSON ConverterHTML FormatterJavaScript MinifierMock Data Generator.gitignore GeneratorLicense GeneratorUser-Agent ParserPassword Strength CheckerCode to ImageXML FormatterHTTP Status Code LookupMIME Type LookupJS & SQL String EscapeCSS Box Shadow GeneratorCSS Gradient GeneratorIndent ConverterNumber Base ConverterUnicode Escape ConverterUnicode InspectorJSON Structure DiffMarkdown Table GeneratorBase64 EncoderJSON FormatterURL EncoderSQL FormatterCron Expression GeneratorUUID GeneratorHash GeneratorTimestamp ConverterJWT DecoderHTML Entity ConverterMarkdown PreviewCSS MinifierMeta Tag GeneratorJSON ↔ CSVCase ConverterImage to Base64
Explore all Dev Tools tools →Image/Media →Text/Convert →Life/Fun →