Logstash behaviour


(JAYALAKSHMI R) #1

I am loading the data into ES Cluster through logstash. If I Provide the path i.e)source path as the mentioned below.

Path: /Folder/Folder1/*

How will Logstash behave if there are 5 files inside the folder1? Which one logstash will process first and which one last.

Is there a way to align the files based on which logstash will process?

Please suggest.


(Magnus B├Ąck) #2

Path: /Folder/Folder1/*

In which file would you have this line? What kind of files are matched by this wildcard?


(JAYALAKSHMI R) #3

Logstash configuration while specifying the input path for the logstash. If I have given the path it will take the files inside the folder(Folder1).

Example:
input {
file {
type => "json"
path => "/app/data1/NDES/*"
start_position => "beginning"
sincedb_path => "/dev/null"
}
}


(system) #4

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