How can i access real time driver log (not with a lag of 5 min) other than Azure databricks sparkUI

Viewed 194

I am trying to integrate the driver logs to Control-M scheduler.

How can i access real time driver log (not with a lag of 5 min) other than Azure databricks sparkUI. Using some API or accessing the location of real time written logs.

Also I am planning to do elastic analysis on top of it.

1 Answers

Such things (real-time collection of metrics or logs) are usually done via installation of some agent (for example, filebeat) via init scripts (global or cluster-level init scripts).

The actual script content heavily depends on the type of the agent used, but Databricks' documentation contains some examples of that:

  • Blog post on setting Datadog integration
  • Notebook that shows how setup init script for Datadog
Related