# Visualizing bank transactions using graph based on amount of transactions

**URL:** <https://discuss.elastic.co/t/visualizing-bank-transactions-using-graph-based-on-amount-of-transactions/165890>\
**Category:** Kibana\
**Tags:** elastic-stack-graph\
**Created:** [January 27, 2019, 10:37am UTC](https://discuss.elastic.co/t/visualizing-bank-transactions-using-graph-based-on-amount-of-transactions/165890 "2019-01-27T10:37:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ilia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ilia/32/60042_2.png) [@Ilia](https://discuss.elastic.co/u/Ilia)\
**Post date:** [January 27, 2019, 10:37am UTC](https://discuss.elastic.co/t/visualizing-bank-transactions-using-graph-based-on-amount-of-transactions/165890/1 "2019-01-27T10:37:10Z")

</div>

I've created a graph visualization for some bank transactions. It looks like the strength of the edges between nodes is based on the traditional IR (Information Retrieval) similarity/ranking models, i.e. cosine similarity and TF/IDF models, that are implemented in lucene. What I need is to strength the edges based on the amount or count of transactions (amount and count are two fields of each event captured by jdbc plugin of logstash from a database and stored in elasticsearch).

It seems that I should override or customize the similarity of elasticsearch for this index ... probably something like [this](http://stefansavev.com/blog/custom-similarity-for-elasticsearch/). If this is the right path or there is another solution for it?

Thanks in advanced.

---

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [January 28, 2019, 5:15pm UTC](https://discuss.elastic.co/t/visualizing-bank-transactions-using-graph-based-on-amount-of-transactions/165890/2 "2019-01-28T17:15:17Z")

</div>

@Mark_Harwood do you happen to know the answer to Ilia's question?

---

<div class="post-metadata">

**Author:** ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)\
**Post date:** [January 28, 2019, 5:19pm UTC](https://discuss.elastic.co/t/visualizing-bank-transactions-using-graph-based-on-amount-of-transactions/165890/3 "2019-01-28T17:19:17Z")

</div>

Sorry, not in the GUI as it stands today.

---

<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:** [February 25, 2019, 5:19pm UTC](https://discuss.elastic.co/t/visualizing-bank-transactions-using-graph-based-on-amount-of-transactions/165890/4 "2019-02-25T17:19:26Z")

</div>

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