from ..core.Processor import Processor


class PutSplunkHTTP(Processor):
    def __init__(self, schedule={'scheduling strategy': 'EVENT_DRIVEN'}):
        super(PutSplunkHTTP, self).__init__(
            'PutSplunkHTTP',
            properties={
                'Hostname': 'splunk',
                'Port': '8088',
                'Token': '<PASSWORD>'
            },
            auto_terminate=['success', 'failure'],
            schedule=schedule)

from ..core.Processor import Processor


class PutSplunkHTTP(Processor):
    def __init__(self, schedule={'scheduling strategy': 'EVENT_DRIVEN'}):
        super(PutSplunkHTTP, self).__init__(
            'PutSplunkHTTP',
            properties={
                'Hostname': 'splunk',
                'Port': '8088',
                'Token': '<PASSWORD>'
            },
            auto_terminate=['success', 'failure'],
            schedule=schedule)
