Class LogUtils

Object
org.apache.spark.util.LogUtils

public class LogUtils extends Object
:: : DeveloperApi :: Utils for querying Spark logs with Spark SQL.

Since:
4.0.0
  • Constructor Details

    • LogUtils

      public LogUtils()
  • Method Details

    • LOG_SCHEMA

      public static String LOG_SCHEMA()
      Schema for structured Spark logs. Example usage: val logDf = spark.read.schema(LOG_SCHEMA).json("path/to/logs")
      Returns:
      (undocumented)