{"id":19142028,"url":"https://github.com/supercowpowers/zat","last_synced_at":"2025-04-09T04:04:04.796Z","repository":{"id":44101251,"uuid":"85858065","full_name":"SuperCowPowers/zat","owner":"SuperCowPowers","description":"Zeek Analysis Tools (ZAT):  Processing and analysis of Zeek network data with Pandas, scikit-learn, Kafka and Spark","archived":false,"fork":false,"pushed_at":"2024-01-16T20:44:46.000Z","size":5331,"stargazers_count":434,"open_issues_count":10,"forks_count":110,"subscribers_count":38,"default_branch":"main","last_synced_at":"2025-04-02T03:01:50.525Z","etag":null,"topics":["bro","data-analysis","kafka","networking","pandas","python","scikit-learn","security","spark","zeek","zeek-analysis"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/SuperCowPowers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":["SuperCowPowers"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2017-03-22T17:40:04.000Z","updated_at":"2025-03-22T10:30:53.000Z","dependencies_parsed_at":"2023-02-15T00:45:52.799Z","dependency_job_id":"6e9c565c-267f-4aee-a440-3cbc6e51a722","html_url":"https://github.com/SuperCowPowers/zat","commit_stats":{"total_commits":489,"total_committers":11,"mean_commits":44.45454545454545,"dds":0.05521472392638038,"last_synced_commit":"00a2373cd4043e535ec754c35349510091ba92f4"},"previous_names":["kitware/bat","kitware/brothon","kitware/broutils"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuperCowPowers%2Fzat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuperCowPowers%2Fzat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuperCowPowers%2Fzat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuperCowPowers%2Fzat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SuperCowPowers","download_url":"https://codeload.github.com/SuperCowPowers/zat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247974715,"owners_count":21026742,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","data-analysis","kafka","networking","pandas","python","scikit-learn","security","spark","zeek","zeek-analysis"],"created_at":"2024-11-09T07:25:37.302Z","updated_at":"2025-04-09T04:04:04.761Z","avatar_url":"https://github.com/SuperCowPowers.png","language":"Jupyter Notebook","funding_links":["https://github.com/sponsors/SuperCowPowers"],"categories":[],"sub_categories":[],"readme":"\u003cimg align=\"right\" style=\"padding:35px\" src=\"notebooks/images/SCP_med.png\" width=\"160\"\u003e\n\n# Zeek Analysis Tools (ZAT) \n[![codecov.io](http://codecov.io/github/SuperCowPowers/zat/coverage.svg?branch=master)](http://codecov.io/github/SuperCowPowers/zat?branch=master) [![supported-versions](https://img.shields.io/pypi/pyversions/zat.svg)](https://pypi.python.org/pypi/zat) [![license](https://img.shields.io/badge/License-Apache%202.0-green.svg)](https://choosealicense.com/licenses/apache-2.0)\n\nThe ZAT Python package supports the processing and analysis of Zeek data\nwith Pandas, scikit-learn, Kafka, and Spark\n\n### Install\n```\npip install zat\npip install zat[pyspark] (includes pyspark library)\npip install zat[all] (include pyarrow, yara-python, and tldextract)\n```\n\n### Getting Started\n- [Examples of Using ZAT](https://supercowpowers.github.io/zat/examples.html)\n\n### AWS Data Processing and ML Modeling\n- Please see [SageWorks](https://github.com/SuperCowPowers/sageworks)\n\n### Installing on Raspberry Pi!\n- [Raspberry Pi Instructions](https://supercowpowers.github.io/zat/raspberry_pi.html)\n\n### Recent Improvements\n- Faster/Smaller Pandas Dataframes for large log files: [Large Dataframes](https://supercowpowers.github.io/zat/large_dataframes.html)\n- Better Panda Dataframe to Matrix (ndarray) support: [Dataframe To Matrix](https://supercowpowers.github.io/zat/dataframe_to_matrix.html)\n- Scalable conversion from Zeek logs to Parquet: [Zeek to Parquet](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Parquet.ipynb)\n- Vastly improved Spark Dataframe Class: [Zeek to Spark](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Spark.ipynb)\n- Updated/improved Notebooks: [Analysis Notebooks](#analysis-notebooks)\n- Zeek JSON to DataFrame class: [Zeek JSON to DataFrame Example](https://github.com/SuperCowPowers/zat/blob/main/examples/zeek_json_to_pandas.py)\n\n### Video Presentation\n- [Data Analysis and Machine Learning with Zeek](https://www.youtube.com/watch?v=pG5lU9CLnIU)\n\n### Why ZAT?\nZeek already has a flexible, powerful scripting language why should I use\nZAT?\n\n**Offloading:** Running complex tasks like statistics, state machines,\nmachine learning, etc.. should be offloaded from Zeek so that Zeek can\nfocus on the efficient processing of high volume network traffic.\n\n**Data Analysis:** We have a large set of support classes that help\nbridge from raw Zeek data to packages like Pandas, scikit-learn, Kafka, and\nSpark. We also have example notebooks that show step-by-step how to get\nfrom here to there.\n\n### Analysis Notebooks\n\n- [Zeek to Scikit-Learn](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Scikit_Learn.ipynb)\n- [Zeek to Parquet](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Parquet.ipynb)\n- [Zeek to Spark](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Spark.ipynb)\n- [Spark Clustering](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Spark_Clustering.ipynb)\n- [Zeek to Kafka](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Kafka.ipynb)\n- [Zeek to Kafka to Spark](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Kafka_to_Spark.ipynb)\n- [Clustering: Picking K (or not)](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Clustering_Picking_K.ipynb)\n- [Anomaly Detection Exploration](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Anomaly_Detection.ipynb)\n- [Risky Domains Stats and Deployment](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Risky_Domains.ipynb)\n- [Zeek to Matplotlib](https://nbviewer.jupyter.org/github/SuperCowPowers/zat/blob/main/notebooks/Zeek_to_Plot.ipynb)\n\n\u003cimg align=\"right\" style=\"padding: 10px\" src=\"notebooks/images/SCP_med.png\" width=\"120\"\u003e\n\n### Documentation\n\u003chttps://supercowpowers.github.io/zat/\u003e\n\n#### Running the Tests\n```\npip install pytest coverage pytest-cov\npytest zat\n```\n\n### About SuperCowPowers\nThe company was formed so that its developers could follow their passion for Python, streaming data pipelines and having fun with data analysis. We also think cows are cool and should be superheros or at least carry around rayguns and burner phones. \u003ca href=\"https://www.supercowpowers.com\" target=\"_blank\"\u003eVisit SuperCowPowers\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupercowpowers%2Fzat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupercowpowers%2Fzat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupercowpowers%2Fzat/lists"}