def collect_headers(entries_list: list) -> list:
    """
    This function collect all keys in a list of dictionaries
    :param entries_list: list of dictionaries
    :return: list of all keys formatted
    """
    headers = [""]
    for entry in entries_list:
        for key, value in entry.items():
            if key == "log":
                headers[0] = "log"
            headers.append(key.replace("_", " "))
    if not headers[0]:
        return headers[1:]
    return headers