# Visualizing fading effect of geo points in kibana

**URL:** https://discuss.elastic.co/t/visualizing-fading-effect-of-geo-points-in-kibana/87427
**Category:** Kibana
**Created:** [May 29, 2017, 10:35am UTC](https://discuss.elastic.co/t/visualizing-fading-effect-of-geo-points-in-kibana/87427 "2017-05-29T10:35:31Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![Rahul\_Lao](https://avatars.discourse-cdn.com/v4/letter/r/f0a364/32.png) [@Rahul\_Lao](https://discuss.elastic.co/u/Rahul_Lao)
#### Post date: [June 9, 2017, 1:27pm UTC](https://discuss.elastic.co/t/visualizing-fading-effect-of-geo-points-in-kibana/87427/5 "2017-06-09T13:27:50Z")

</div>

@warkolm @tsmalley

The above solution that i have shared was a work around that i could do.

**But this is what i am not looking for.**

I want to use the original dataset, which has a timestamp field in it. I then want to utilize that timestamp to reflect the @timestamp in elasticsearch....which can be done.  
Then i want to fetch records using a query and custom score function such that the most recent ones have highest score and the score gradually decreases with timestamp. This again can be done.

Refer

> [@Correlation/updation of document score on timestamp, during query time in kibana search](https://discuss.elastic.co/t/correlation-updation-of-document-score-on-timestamp-during-query-time-in-kibana-search/88421):
>
> Hello, In Kibana say i am able to populate data using a Tile Map as heat map. Consider below few lines of data that I index in elastic search 3078.48,-96.7991,33.0579,148.39,109.44,0.0,a808c4,,false,1.496753069E9,2017-06-06 14:44:29,United States 9159.24,-87.9397,34.6983,220.73,268.93,-11.38,a086d8,FDX476 ,false,1.496753004E9,2017-06-06 14:41:58,United States 5661.66,-84.9921,38.679,164.45,221.07,13.0,ac1c13,N88GA ,false,1.496753068E9,2017-06-06 14:44:28,United States 518.16,-96.5803,33.20…

Using this discussion i created a score function for timestamp.

So now i have the original dataset without the myscore field, and using my custom query i get results which has score updated according to timestamp.

Query

```
    curl -XGET 'localhost:9200/test/_search?pretty' -H 'Content-Type: application/json' -d'
    {
        "query": {
            "function_score": {
                "gauss": {
                    "@timestamp": {
                          "origin": "1496061764181", 
                          "scale": "1ms", 
                          "decay" : 0.5 
                    }
                }
            }
        }
    }
    '

```

But the problem is that i cannot achieve this fading effect when i consider \_score field. Refer below screenshots.

 ![](https://us1.discourse-cdn.com/elastic/original/3X/9/3/934b576bbf37f110942fd18c1451eecc1f44e8d2.jpg)

Options  
 ![](https://us1.discourse-cdn.com/elastic/original/3X/e/9/e9d1554b7e2821f1da2c15f1c8c3730faa86f575.PNG)

Why is \_score field on hovering over the point not reflecting the score? And why can't the fading effect be achieved with this?

Please can you suggest what can be done.

---

_[View the full topic](https://discuss.elastic.co/t/visualizing-fading-effect-of-geo-points-in-kibana/87427)._
