日志搜索功能支持对账号下所有集群核心服务日志和主机系统日志进行关键词搜索,可以在不登录主机情况下快速查看服务关键日志,在集群主机日志轮转清理之后仍然可以搜到日志,当前仅支持 20 天日志搜索。

日志搜索支持根据集群、日志文件、主机和时间范围条件过滤,日志结果包含日志所在集群的主机名、主机 IP、日志在主机上的绝对路径。

日志搜索支持的服务类型

  • HOST
    • ops-command-log(内部可见)
    • ecm-agent-log(内部可见)
    • ecm-agent-out(内部可见)
    • ecm-agent-health-check-log(内部可见)
    • var-log-messages(内部可见)
  • HIVE
    • hiveserver2-log
    • metastore-log
    • hive-log
  • HDFS
    • namenode-log
    • namenode-out
    • journalnode-log
    • journalnode-out
    • zkfc-log
    • zkfc-out
    • datanode-log
    • datanode-out
    • hdfs-audit-log
    • namenode-gc
  • YARN
    • nodemanager-log
    • nodemanager-out
    • historyserver-log
    • historyserver-out
    • timelineserver-log
    • timelineserver-out
    • resourcemanager-log
    • resourcemanager-out
    • proxyserver-log
    • proxyserver-out
  • ZOOKEEPER
    • zookeeper-out
  • SPARK
    • sparkhistory-out
  • HBASE
    • hbase-gc-log
    • hbase-audit-log
    • hbase-audit-log
    • hmaster-out
    • hmaster-gc-log
    • thriftserver-log
    • thriftserver-out
    • hregionserver-log
    • hregionserver-out
    • hregionserver-gc-log
  • KAFKA-MANAGER
    • kafka-manager-log
  • KAFKA
    • kafka-controller-log
    • kafka-authorizer-log
    • kafka-request-log
    • kafka-server-gc-log
    • kafka-server-out
    • kafka-server-log
    • kafka-log-cleaner-log
    • kafka-state-change-log
  • OOZIE
    • oozie-log
    • oozie-jpa-log
    • oozie-ops-log
    • oozie-server-catalina-out
    • oozie-error-log
    • oozie-instrumentation-log
    • oozie-audit-log
  • PRESTO
    • presto-http-request-log
    • presto-launcher-log
  • STORM
    • storm-nimbus-log
    • storm-supervisor-log
    • storm-ui-log
  • HUE
    • hue-error-log
    • hue-access-log
    • hue-runcpserver-log
    • hue-supervisor-log
  • ZEPPELIN
    • zeppelin-out
    • zeppelin-log
  • IMPALA
    • impala-impalad-info-log
    • impala-impalad-warning-log
    • impala-impalad-error-log
    • impala-impalad-launch-log
    • impala-catalogd-info-log
    • impala-catalogd-warning-log
    • impala-catalogd-error-log
    • impala-statestored-info-log
    • impala-statestored-warning-log
    • impala-statestored-error-log
    • impala-catalogd-launch-log
    • impala-statestored-launch-log
  • HAS
    • has-log
  • EMR-MONITOR
    • gmetric-collector-log(内部可见)
    • component-status-watch-dog-log(内部可见)

日志搜索的日志上下文浏览功能

在排查问题的时候,经常需要关注关键词的上下文日志,在日志搜索结果列表中,单击 浏览上下文按钮,可以查看日志的上下文信息: