{"id":19045409,"url":"https://github.com/marirs/cef2hashmap-rs","last_synced_at":"2025-10-25T16:42:16.797Z","repository":{"id":43731192,"uuid":"461379059","full_name":"marirs/cef2hashmap-rs","owner":"marirs","description":"A Simple CEF Parser to a HashMap","archived":false,"fork":false,"pushed_at":"2022-06-17T05:17:57.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-18T08:39:35.547Z","etag":null,"topics":["cef","common-event-format","json","parsing","rust","rust-crate","rust-lang","rust-library"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/marirs.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":"2022-02-20T04:01:32.000Z","updated_at":"2022-02-20T17:07:31.000Z","dependencies_parsed_at":"2022-08-27T05:21:39.331Z","dependency_job_id":null,"html_url":"https://github.com/marirs/cef2hashmap-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marirs%2Fcef2hashmap-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marirs%2Fcef2hashmap-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marirs%2Fcef2hashmap-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marirs%2Fcef2hashmap-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marirs","download_url":"https://codeload.github.com/marirs/cef2hashmap-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250535084,"owners_count":21446504,"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":["cef","common-event-format","json","parsing","rust","rust-crate","rust-lang","rust-library"],"created_at":"2024-11-08T22:50:09.047Z","updated_at":"2025-10-25T16:42:11.761Z","avatar_url":"https://github.com/marirs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CEF to HashMap\n[![macOS](https://github.com/marirs/cef2hashmap-rs/actions/workflows/macos.yml/badge.svg)](https://github.com/marirs/cef2hashmap-rs/actions/workflows/macos.yml)\n[![Linux Arm7](https://github.com/marirs/cef2hashmap-rs/actions/workflows/linux_arm.yml/badge.svg)](https://github.com/marirs/cef2hashmap-rs/actions/workflows/linux_arm.yml)\n[![Linux x86_64](https://github.com/marirs/cef2hashmap-rs/actions/workflows/linux_x86_64.yml/badge.svg)](https://github.com/marirs/cef2hashmap-rs/actions/workflows/linux_x86_64.yml)\n[![Windows](https://github.com/marirs/cef2hashmap-rs/actions/workflows/windows.yml/badge.svg)](https://github.com/marirs/cef2hashmap-rs/actions/workflows/windows.yml)\n\nConvert a syslog CEF string or a regular CEF string to a HashMap object.\n\n### Requirements\n- Rust 1.56+ (2021 edition)\n\n### Example Usage\n\n```toml\n[dependencies]\ncef2hashmap = \"0.1.3\"\n```\n\nand then\n\n```rust\nuse cef2hashmap::CefToHashMap;\n\nfn main() {\n    let example = \"\u003c134\u003e2022-02-14T03:17:30-08:00 TEST CEF:0|Vendor|Product|20.0.560|600|User Signed In|3|src=127.0.0.1 suser=Admin target=Admin msg=User signed in from 127.0.0.1 Tenant=Primary TenantId=0 act= cs1Label=Testing Label 1 Key cs1=Testing Label 1 String Value\";\n    println!(\"{:#?}\", example.to_hashmap(true));\n}\n```\n- pass `false` to `.to_hashmap(false)` if you don't want to preserve the original event\n\n---\nLicense: MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarirs%2Fcef2hashmap-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarirs%2Fcef2hashmap-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarirs%2Fcef2hashmap-rs/lists"}