def logstashIndex(date):
    """
    Return the logstash index name for the given date

    Logstash index names are in the format: 'logstash-YYYY.MM.DD'
    """

    return "logstash-" + date.strftime("%Y.%m.%d")