1. A method for heterogeneous log analysis, comprising: performing hierarchical log clustering on heterogeneous logs to generate a log cluster hierarchy for the heterogeneous logs; performing, by a log pattern recognizer device having a processor, log pattern recognition on the log cluster hierarchy to generate log pattern representations; performing log field analysis on the log pattern representations to generate log field statistics; and performing log indexing on the log pattern representations to generate log indexes.