Skip to content

sincedb_path needs to accept a path not a file #1535

Closed
@jameshueston

Description

@jameshueston

Discovered by coolacid in the irc chat today (7/15/14)
https://github.com/jordansissel/ruby-filewatch/blob/master/lib/filewatch/tail.rb#L209
the input file filter sincedb_path looks for a file and not a path.
I couldn't specify a directory for sincedb files to go into and coolacid said this is why.
Ideally, I'd like to see the ability to specify a relative path with a dynamic filename, like: ../sincedb/%{path}.sincedb

The output file filter path already works this way, dynamically. I can grok the inputFilename and then beautifully do:
output {
file {
path => "../output/%{inputFilename}.out"
...

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions