'Does a comparison to evaluate the logging component'

def comp(self, name):

    if name.startswith('logging-curator-ops'):
        return 'curator_ops'
    elif (name.startswith('logging-kibana-ops') or name.startswith('kibana-ops')):
        return 'kibana_ops'
    elif (name.startswith('logging-es-ops') or name.startswith('logging-elasticsearch-ops')):
        return 'elasticsearch_ops'
    elif name.startswith('logging-curator'):
        return 'curator'
    elif (name.startswith('logging-kibana') or name.startswith('kibana')):
        return 'kibana'
    elif (name.startswith('logging-es') or name.startswith('logging-elasticsearch')):
        return 'elasticsearch'
    elif (name.startswith('logging-fluentd') or name.endswith('aggregated-logging-fluentd')):
        return 'fluentd'
    else:
        return None
