You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Yann Esposito (Yogsototh) 3a33f6725f
initial commit
5 years ago
doc initial commit 5 years ago
src/cef_parser initial commit 5 years ago
test/cef_parser initial commit 5 years ago
.gitignore initial commit 5 years ago
CHANGELOG.md initial commit 5 years ago
LICENSE initial commit 5 years ago
README.md initial commit 5 years ago
project.clj initial commit 5 years ago

README.md

cef-parser

A Clojure library designed to parse CEF.

Usage

> (require '[cef-parser.core :refer :all])
> (parse-cef (str "2016-07-04T10:09:33 CEF:0|Sec\\|urity|threat\\\\manager|1.0|100|worm successfully stopped|10|"
~                 "src\\\\he=10.0.0.1 dst=2.1.2.2 spt=1232 filePath=/user/username/dir/my file name.txt "
~                 "E\\=mc2=Einstein formula my\\ file=foo bar"))
{:version "Sec|urity"
 :device-vendor "threat\\manager"
 :device-product "1.0"
 :device_event_class_id "100"
 :name "worm successfully stopped"
 :severity "10"
 :extension {"spt" "1232"
             "dst" "2.1.2.2"
             "filePath" "/user/username/dir/my file name.txt"
             "src\\he" "10.0.0.1"
             "my file" "foo bar"
             "E=mc2" "Einstein formula"}}

License

Copyright © 2016 Cisco

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.