Configuring LogSearch

To setup LogSearch when IBM Storage Scaleā„¢ is integrated in an HDP environment, configuration changes are required to point to the correct NameNode, DataNode and ZKFC logs associated with IBM Storage Scale.

  1. Click Ambari GUI > Log Search service > Quick Links > Log Search UI.
  2. Login to Log Search UI and click on the top right corner button. Choose the Configuration Editor option.
  3. In the Configuration Editor page, change the log path for the following components:
    1. hdfs_datanode
    2. hdfs_namenode
    3. hdfs_zkfc
    Example (existing) entry for NameNode:
    "type": "hdfs_namenode",
    "rowtype": "service",
    "path": "/var/log/hadoop/hdfs/hadoop-hdfs-namenode-*.log"
    
    
    change to:
    
    "type": "hdfs_namenode",
    "rowtype": "service",
    "path": "/var/log/hadoop/root/hadoop-root-namenode-*.log"
    

    Make similar changes for DataNode and zkfc.

  4. Restart HDFS service.