How can we store input>file>csv filename into log file?


(Suraj) #1

Hi,

How can we write or store input filename into log file?

Below is my config for the input:
input {
file {
path => "path to file/*.csv"
type => "csv"
start_position => beginning
}
file {
path => "path to log/logstash-plain.log"
type => "syslog"
sincedb_path => "null"

Any idea or support would be really helpful.

Thank you.


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.