How to display only direct connections on elastic Graph

Hello everyone,

We would like to know how we could display only direct connections through the Elastic Graph functionality. Currently, we are only able to see all connections in a shot which is making a certain difficulty to manage the data. Unfortunately, no articles haven't been found on the internet. In summary, from the attached file

e'd like to visualize only 'linked' connections.

Having any additional questions, feel free to reach out to us.


Hi @Leonardo_Carlos ,

welcome to the Kibana community.
What you mean by direction connections precisely?

The Graph app works using the ES Graph API which looks for co-occurrencies of terms, so a fromSigla.keyword term (take CONTROL-M in your chart) is connected to a Sigla.keyword term (take OR term in the chart) if both terms are in the same document.
The more fields in the configuration, the more connection will be brought to the graph representation (as the co-occurrence will be computed from each term to any other term of other fields).

I would like it to bring me the only direct connections from the selected "Sigla".
I filter the Sigla TKM (1 node) and I want to show the "Siglas" that connect with this node.

But when I plot the graph it brings me the Sigla"TKM" connected to other siglas and brings me other siglas that are not directly connected to the main sigla"TKM".
they connect with siglas that connect to sigla "TKM"

For example. i have this dataset.

if I send the two fields above as a parameter, I expect it to create 1 node for the main TKM and the other nodes according to the "FromSigla" field.
But when I plot the graph see how it looks

I drew what I hope he plots

I see what you are looking for.
The Graph API works in terms of values rather than simply fields, so the AA value term will be connected with other values which appear in the same record, given the fromSigla field as an array of terms.

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