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.2.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.2-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nsml_parser-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 7ab67dc26d71b8125ac7c8d1febf6e9fea860ad5d782e6065295c63524cdea62
MD5 b65bd97b689082dc6275473ab9174702
BLAKE2b-256 be872e17acf21b046f75dcdc1a84939f8ddb85ebe65204510a0de10b90b30624

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nsml_parser-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4908ec63d147c08bc3df4b0e5ecd4d0ffe73b32d8eb7bbbb5e11092574440005
MD5 607e6071dadb7731765d9f2813329157
BLAKE2b-256 043641f10ab08b2d0e2de68de43308efe28f873dcf1edd79aca5477941575ee2

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