2019-03-25 21:17:34 +01:00
|
|
|
nodes = {
|
|
|
|
file_node = {
|
2019-03-26 14:02:12 +01:00
|
|
|
type = "file"
|
|
|
|
|
2020-07-10 13:30:11 +02:00
|
|
|
### The following settings are specific to the file node-type!! ###
|
|
|
|
|
2019-03-26 14:02:12 +01:00
|
|
|
uri = "logs/input.log", # These options specify the URI where the the files are stored
|
|
|
|
#uri = "logs/output_%F_%T.log" # The URI accepts all format tokens of (see strftime(3))
|
2019-03-25 21:17:34 +01:00
|
|
|
|
2020-07-10 13:30:11 +02:00
|
|
|
format = "csv"
|
2019-03-25 21:17:34 +01:00
|
|
|
|
|
|
|
in = {
|
|
|
|
epoch_mode = "direct" # One of: direct (default), wait, relative, absolute
|
|
|
|
epoch = 10 # The interpretation of this value depends on epoch_mode (default is 0).
|
|
|
|
# Consult the documentation of a full explanation
|
|
|
|
|
|
|
|
rate = 2.0 # A constant rate at which the lines of the input files should be read
|
|
|
|
# A missing or zero value will use the timestamp in the first column
|
|
|
|
# of the file to determine the pause between consecutive lines.
|
|
|
|
eof = "rewind" # Rewind the file and start from the beginning.
|
2020-07-10 13:30:11 +02:00
|
|
|
|
|
|
|
buffer_size = 0 # Creates a stream buffer if value is positive
|
2019-03-25 21:17:34 +01:00
|
|
|
},
|
|
|
|
out = {
|
|
|
|
flush = false # Flush or upload contents of the file every time new samples are sent.
|
2020-07-10 13:30:11 +02:00
|
|
|
|
|
|
|
buffer_size = 0 # Creates a stream buffer if value is positive
|
2019-03-25 21:17:34 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|