TritonDataCenter / dragnet

event stream analysis
MIT License
11 stars 4 forks source link

eliminate bogus "field" requirement for "date" fields #1

Closed davepacheco closed 9 years ago

davepacheco commented 9 years ago

"date" fields currently require you to specify an underlying "field", because the assumption is that you're creating a synthetic field by parsing some other field. That's true when scanning and indexing, but not when querying or rolling up an index. You can work around this by specifying the field as itself (e.g., "timestamp[date;field=timestamp]"), but that's lame.