# Kibana shows Multiple entries for the same tag

**URL:** <https://discuss.elastic.co/t/kibana-shows-multiple-entries-for-the-same-tag/67307>\
**Category:** Logstash\
**Created:** [November 28, 2016, 7:04am UTC](https://discuss.elastic.co/t/kibana-shows-multiple-entries-for-the-same-tag/67307 "2016-11-28T07:04:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vivin\_Pai](https://avatars.discourse-cdn.com/v4/letter/v/48db29/32.png) [@Vivin\_Pai](https://discuss.elastic.co/u/Vivin_Pai)\
**Post date:** [November 28, 2016, 7:04am UTC](https://discuss.elastic.co/t/kibana-shows-multiple-entries-for-the-same-tag/67307/1 "2016-11-28T07:04:02Z")

</div>

Hello All,  
I have written 2 conf files for Log stash and placed under the path /etc/logstash/conf.d

1st conf file

[root@blrvmelk-01 conf.d]# cat logstash-Error1.conf  
input {  
file {  
path =\> "/advdata/tmp/Error\_Trace\_blrhpbl\_SC1\*"  
}  
}

filter {  
grok {  
match =\> { "message" =\> "%{DATE\_EU:date}-%{TIME:time}.[0-9]+" }  
}

mutate {  
gsub =\> ["date","/","-"]  
add\_field =\> { "timestamp" =\> "20%{date} %{time}" }  
}

date {  
match =\> ["timestamp", "YYYY-MM-dd HH:mm:ss"]  
timezone =\> "Asia/Calcutta"  
locale =\> "en"  
}  
}

output {  
elasticsearch {  
hosts =\> ["localhost:9200"]  
user =\> "elastic"  
password =\> "changeme"  
}  
stdout { codec =\> rubydebug }  
}

[root@blrvmelk-01 conf.d]#

Second Conf File

[root@blrvmelk-01 conf.d]# cat logstash-Error2..conf  
input {  
file {  
path =\> "/advdata/tmp/Error\_Trace\_blrhpbl\_SC2\*"  
}  
}

filter {  
grok {  
match =\> { "message" =\> "%{DATE\_EU:date}-%{TIME:time}.[0-9]+" }  
}

mutate {  
gsub =\> ["date","/","-"]  
add\_field =\> { "timestamp" =\> "20%{date} %{time}" }  
}

date {  
match =\> ["timestamp", "YYYY-MM-dd HH:mm:ss"]  
timezone =\> "Asia/Calcutta"  
locale =\> "en"  
}  
}

output {  
elasticsearch {  
hosts =\> ["localhost:9200"]  
user =\> "elastic"  
password =\> "changeme"  
}  
stdout { codec =\> rubydebug }  
}

[root@blrvmelk-01 conf.d]#

Now in Kibana, when i Visualise the data, i see duplicate entries, example as below (see time, timestamp,)

November 27th 2016, 08:04:45.000 message:blrhpbl001-bl06:2016/11/27-08:04:45.319319-36501-38250-IMS\_G\_PCS\_CORE\_290- \> Connection details are not available for the peer : GGSN\_A date:16-11-27, 16-11-27 path:/advdata/tmp/Error\_Trace\_blrhpbl\_SC1\_27112016.txt @timestamp:November 27th 2016, 08:04:45.000 @version:1 host:blrvmelk-01 time:08:04:45, 08:04:45 tags:\_dateparsefailure timestamp:2016-11-27 08:04:45, 2016-11-27,16-11-27 08:04:45,08:04:45 \_id:AVips3fM-9\_iqxSYx-LJ \_type:logs \_index:logstash-2016.11.27 \_score: -

This was observed after i added the second conf file. Even though the Input files are different for the 2 conf files, i expect Kibana not to duplicate the tags. How do i avoid this ? Any suggestions for improvement in the Conf files ?

---

<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:** [December 26, 2016, 7:04am UTC](https://discuss.elastic.co/t/kibana-shows-multiple-entries-for-the-same-tag/67307/2 "2016-12-26T07:04:25Z")

</div>

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