Skip to content

Commit

Permalink
Merge pull request #6 from samoehlert/master
Browse files Browse the repository at this point in the history
Add example netflow nfdump config
  • Loading branch information
JustinAzoff authored Mar 8, 2018
2 parents 3521b68 + 4126064 commit 4afb77e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions example_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,16 @@
"filename_to_time_regex": "logs/(?P<year>\\d\\d\\d\\d)-(?P<month>\\d\\d)-(?P<day>\\d\\d)/\\w+\\.(?P<hour>\\d\\d):(?P<minute>\\d\\d)",
"database_root": "/bro/index/notice/",
"database_path": "$year.db"
},
{
"name": "flows",
"backend": "nfdump",
"file_glob": "/netflow/data/*/*/*/*/nfcapd.*",
"recent_file_glob": "/netflow/data/*/%Y/%m/%d/nfcapd.*",
"filename_to_database_regex": "nfcapd.(?P<year>\\d\\d\\d\\d)(?P<month>\\d\\d)(?P<day>\\d\\d)(?P<hour>\\d\\d)(?P<minute>\\d\\d)",
"filename_to_time_regex": "nfcapd.(?P<year>\\d\\d\\d\\d)(?P<month>\\d\\d)(?P<day>\\d\\d)(?P<hour>\\d\\d)(?P<minute>\\d\\d)",
"database_root": "/opt/flow-indexer/flows/",
"database_path": "$year$month$day.db"
}
]
}
Expand Down

0 comments on commit 4afb77e

Please sign in to comment.