How to display a grpah based on commpm value order by timespamp

it goes like this : so all my documents have a property called sessionId
and has a parent-child connection

the purpose:

user is searching by sessionId

  • show a graph of all document that shares this Id
  • connect the nodes by parent-child connection
  • show some data from the document content

can I do this?

Hi @David_Munsa

welcome to the Kibana community.
About your question, I have to ask few questions: how is the parent-child relation described in the document? Is it something like parentId: keyword property in each document that can be filled or null?

In general the Kibana Graph API is more a node-based use case, where the connection between two nodes describes the co-occurrence of some field values within the same document.

an example of the docs

{
   logId:"askdkajsh"
   sessionId:"sdfg67t342rsd"
   context:"update_user"
}

{
   logId:"dhfuw4y97ysf"
   sessionId:"sdfg67t342rsd"
   parentLogId:"askdkajsh"
   context:"update_user"
}
{
   logId:"xcbnvdsdf"
   sessionId:"sdfg67t342rsd"
   parentLogId:"dhfuw4y97ysf"
   context:"update_user"
}

the idea is to search all docs by common sessionId, then display graph as parent-child relation (set on parentLogId prop)

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