Skip to main content

NSML++: Neuro-Symbolic Memory Lattice for Intelligent Log Parsing

Project description

NSML Parser

Neuro Symbolic Memory Lattice Parser (NSML) is a lightweight, cognitively inspired, fuzzy-intelligent log parser that combines heuristic reasoning, semantic backtracking, and fuzzy key recognition to extract structured information from semi-structured log lines.


🚀 Features

  • 🔎 Fuzzy key matching: Autocorrects mistyped or aliased keys.
  • 🧠 Heuristic inference: Guesses missing values based on patterns.
  • 🧬 Semantic classifier-ready: Plug in vector similarity models.
  • 📚 Confidence scoring: Score for every parsed key.
  • 🔁 REPL-friendly: Can be wrapped into command-line tools.

🧪 Example

from nsml_parser import NSMLParser

log = '''Running HTTPS_PROXY='http://proxy.net:8080' /opt/radar/bin/apprise \
  -consumers "FUNNYTEAM_AUDIT" -cluster "POD109" -product "blah-base" -sp "KP" \
  -dc "MM" -caseNumber -release "rrrrr" -event "ERROR_RUNNING_PLSQL_TARGET" \
  -eventTime "2023-06-09_04:31:04" -stage "RUN_PLSQL_TARGET" -status "FAILED" \
  -type "ERROR" -source "ops0-release2-2-RR" "123456" --message "some issue here"'''

parser = NSMLParser()
parsed = parser.parse(log)
print(parsed)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nsml_parser-0.1.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nsml_parser-0.1.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file nsml_parser-0.1.1.tar.gz.

File metadata

  • Download URL: nsml_parser-0.1.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.12

File hashes

Hashes for nsml_parser-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5795cccd9ee1019a79bb79fe697e2490e751d5b9b341dc9e690b2d8bcec82287
MD5 3a670781bc62e19b2211d30755d8ce38
BLAKE2b-256 fab26957f88dd80f24e8f5b60a9e9908084baa96572bb77679535166d1a6d9d1

See more details on using hashes here.

File details

Details for the file nsml_parser-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: nsml_parser-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.12

File hashes

Hashes for nsml_parser-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e5a49e02435c6be234cdd30e335ec879229e90d29d61f03985735f33bb95b8c8
MD5 1c9113a3f3735d9ee6369ea35823bdc1
BLAKE2b-256 171cdb4bfc0dddec98cb06ebe5de160cf82d14274f9f8abc16508668d68ba5fd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page