Logstash 5.5 dynamic columns detection


#1

Hi there,

The auto detection of the columns name in the version 5.5 is a great idea. However, I have some issues to use it. In fact, I have tried the following :
filter {

if [type] =~ "trade_v7" {
	
	csv {
		separator => "	"
		autodetect_column_names => true
	}
		

	grok {
		patterns_dir => ["C:/HOMEWARE/_ELK/local_ELK_5.5/logstash/patterns"]
		match => { "source" => "%{MAIN_PATH}//%{DATA:AnalysisType}//%{GREEDYDATA:SubAnalysisName}/_Trade%{GREEDYDATA:myProduct}.txt" }
	}
}

}

When I launch Logstash, it starts properly but it does not insert the datas in ES.
Regards
Vinuja MANICCAVASAGAM


(Magnus B├Ąck) #2

Is it even reading the input file? What does your complete configuration look like? Have you looked in the Logstash log file for clues?


(system) #3

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