Skip to content

Commit

Permalink
Merge branch 'topic/soehlert/netflow_config'
Browse files Browse the repository at this point in the history
* topic/soehlert/netflow_config:
  add config section example for nfdump netflow
  • Loading branch information
Sam Oehlert committed Mar 8, 2018
2 parents 3521b68 + fa1d912 commit 4126064
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 4126064

Please sign in to comment.