cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How often is the user session data sent to Elasticsearch?

genesis_chiu
Newcomer

Dynatrace has a feature that sends user session data directly to Elasticsearch. However, there isn't much information about that feature. Does it send the data to Elasticsearch every time there's a new session or the data will be sent, for example, every two hours?

 

2 REPLIES 2

Julius_Loman
DynaMight Legend
DynaMight Legend

Based on my observation, user session data is sent out just after the user session has finished (it is not a live session anymore). It won't send out any live session data as they may change during the session.

The actual time depends on how your sessions are being handled plus a short time to finalize the session. For a session ending with a timeout, it is 30 minutes of inactivity. If you close the session explicitly by calling dtrum.endSession() then it just this short time (about 1-2 minutes).


Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Exactly, sessions are sent when finished. After this, they are sent in bulk at least over the next 30 seconds, so should appear quickly on your end.

Please note that Elasticsearch also has a configurable delay until data becomes visible, the setting per index is called the "index refresh", by default it is 5 seconds, but could be set much higher in some installations.


Featured Posts