netflow-indexer icon indicating copy to clipboard operation
netflow-indexer copied to clipboard

docid_to_date discards useful file path information

Open JustinAzoff opened this issue 14 years ago • 3 comments

a filename like

turn /data/nfsen/profiles/live/podium/nfcapd.2009030110

gets turned into

"2009-03-01 10:00"

but the path contained potentially useful information like profile='live' and source='podium'

I need to replace doc_id_to_date with something that keeps this information

JustinAzoff avatar Jul 28 '11 19:07 JustinAzoff

50% complete. Backend support was added in 6d986a1ab55f2ed0d9d2ee03e61772942a71a896

'pathregex' is the new configuration option that can either be a real regex or a simple string like profiles/:profile/:source/

Remaining now is support in the CLI and CGI for controlling what fields are output

JustinAzoff avatar Sep 26 '11 14:09 JustinAzoff

CLI support added in 611b2e5311defa82bc94ef27b2cf419d79607e01

JustinAzoff avatar Sep 27 '11 20:09 JustinAzoff

TODO: web interface

JustinAzoff avatar Sep 27 '11 20:09 JustinAzoff