# Count of a particular value is different in dicover and in visulisation specially in line chart

**URL:** <https://discuss.elastic.co/t/count-of-a-particular-value-is-different-in-dicover-and-in-visulisation-specially-in-line-chart/369714>\
**Category:** Kibana\
**Created:** [October 29, 2024, 10:20am UTC](https://discuss.elastic.co/t/count-of-a-particular-value-is-different-in-dicover-and-in-visulisation-specially-in-line-chart/369714 "2024-10-29T10:20:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aman\_kumar4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aman_kumar4/32/137605_2.png) [@aman\_kumar4](https://discuss.elastic.co/u/aman_kumar4)\
**Post date:** [October 29, 2024, 10:20am UTC](https://discuss.elastic.co/t/count-of-a-particular-value-is-different-in-dicover-and-in-visulisation-specially-in-line-chart/369714/1 "2024-10-29T10:20:29Z")

</div>

I'm using split processor that separate on the basis of "/' (light/moon) and create a new field that is a basically simple values like "sun" and arrays like [light, bulb, sun] type

now the problem is lets suppose the field has two value  
light  
[moon,light]

now if I look and filter for "light" in discover section the hit is 2 which what i wanted , but at the same time if i look at the line chart of this in visualization the count is 3, i just want the count of light that is 2, how can I do this
