{"id":15569242,"url":"https://github.com/elnappo/bro-log-parser","last_synced_at":"2026-03-09T10:01:26.603Z","repository":{"id":55604040,"uuid":"71241486","full_name":"elnappo/bro-log-parser","owner":"elnappo","description":"Simple logfile parser for Bro IDS","archived":false,"fork":false,"pushed_at":"2021-01-26T10:39:56.000Z","size":125,"stargazers_count":5,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-13T22:40:59.403Z","etag":null,"topics":["bro","bro-ids","logfile-parser","python3","security"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elnappo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-18T11:32:41.000Z","updated_at":"2021-06-14T20:02:35.000Z","dependencies_parsed_at":"2022-08-15T04:10:29.853Z","dependency_job_id":null,"html_url":"https://github.com/elnappo/bro-log-parser","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/elnappo/bro-log-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elnappo%2Fbro-log-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elnappo%2Fbro-log-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elnappo%2Fbro-log-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elnappo%2Fbro-log-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elnappo","download_url":"https://codeload.github.com/elnappo/bro-log-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elnappo%2Fbro-log-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30290897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bro","bro-ids","logfile-parser","python3","security"],"created_at":"2024-10-02T17:23:39.308Z","updated_at":"2026-03-09T10:01:26.583Z","avatar_url":"https://github.com/elnappo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bro log parser\n[![Build Status](https://travis-ci.org/elnappo/bro-log-parser.svg?branch=master)](https://travis-ci.org/elnappo/bro-log-parser)\n![GitHub Action Status](https://github.com/elnappo/bro-log-parser/workflows/Python%20package/badge.svg)\n[![Maintainability](https://api.codeclimate.com/v1/badges/680163011be7d7903c0f/maintainability)](https://codeclimate.com/github/elnappo/bro-log-parser/maintainability)\n\nSimple logfile parser for [Bro IDS](https://www.bro.org/). This library parses and transforms entries \nin a logfile created by the [ASCII Writer](https://www.bro.org/sphinx/frameworks/logging.html#ascii-writer)\ninto a dynamically generated namedtuple. Fields are converted into native Python data types.\n\n## Requirements\n* python3\n \n## Install\n    python3 setup.py install\n\n## Tests\n    pytest\n    # OR\n    python3 setup.py test\n\n## Example\n```python\n\u003e\u003e\u003e from brologparse import parse_log_file\n\u003e\u003e\u003e for entry in parse_log_file(\"conn.log\"):\n...     # entry._fields: Tuple of strings listing the field names\n...     # entry._asdict(): Return a new OrderedDict which maps field names to their corresponding values\n...     print(entry)\n...\nConnEntry(\n    ts=datetime.datetime(2015, 1, 23, 0, 49, 13, 396481),\n    uid='CjPbcf1SkE86OWWTra', \n    id_orig_h=IPv4Address('192.168.1.100'),\n    id_orig_p=137,\n    id_resp_h=IPv4Address('192.168.1.255'),\n    id_resp_p=137,\n    proto='udp',\n    service='dns',\n    duration=0.752894,\n    orig_bytes=100,\n    resp_bytes=0,\n    conn_state='S0',\n    local_orig=None,\n    local_resp=None,\n    missed_bytes=0,\n    history='D',\n    orig_pkts=2,\n    orig_ip_bytes=156,\n    resp_pkts=0,\n    resp_ip_bytes=0,\n    tunnel_parents=None\n)\n```\n## License\n\nMIT\n\n## Author Information\n\nFabian Weisshaar \u003celnappo@nerdpol.io\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felnappo%2Fbro-log-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felnappo%2Fbro-log-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felnappo%2Fbro-log-parser/lists"}