question

Genesis C. avatar image
Genesis C. asked ·

How often is the user session data sent to Elasticsearch?

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?

Dynatrace Manageduser session monitoringuser actions
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Answer

Julius L. avatar image
Julius L. answered ·

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).

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

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.

0 Likes 0 · ·

Space Topics

mobile monitoring dotnet synthetic monitoring reports iis chat kubernetes servicenow amazon web services mysql mainframe rest api errors cassandra dashboard oneagent sdk cmc application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo syntheticadvisory activegate ip addresses auto-detection high five award oracle hyperion webserver uem usql iib test automation license web performance monitoring ios news migration management zones index ibm mq web services notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming javascript appmon ai synthetic classic availability tipstricks automation extensions session replay diagnostic tools permissions davis assistant faq documentation problem detection http monitors server easytravel apdex aws-quickstart network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration user actions postgresql synthetic locations oneagent security Dynatrace Managed user management custom python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting NGINX action naming linux nam installation masking error reporting database mission control jmeter recorder apache mobileapp RUM php threshold azure purepath davis scripting agent aix nodejs android