# Logstash 5.5 dynamic columns detection

**URL:** <https://discuss.elastic.co/t/logstash-5-5-dynamic-columns-detection/94336>\
**Category:** Logstash\
**Created:** [July 24, 2017, 1:08pm UTC](https://discuss.elastic.co/t/logstash-5-5-dynamic-columns-detection/94336 "2017-07-24T13:08:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vinuja1](https://avatars.discourse-cdn.com/v4/letter/v/c57346/32.png) [@Vinuja1](https://discuss.elastic.co/u/Vinuja1)\
**Post date:** [July 24, 2017, 1:08pm UTC](https://discuss.elastic.co/t/logstash-5-5-dynamic-columns-detection/94336/1 "2017-07-24T13:08:52Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [July 25, 2017, 9:14pm UTC](https://discuss.elastic.co/t/logstash-5-5-dynamic-columns-detection/94336/2 "2017-07-25T21:14:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 22, 2017, 9:14pm UTC](https://discuss.elastic.co/t/logstash-5-5-dynamic-columns-detection/94336/3 "2017-08-22T21:14:45Z")

</div>

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