aboutsummaryrefslogtreecommitdiffstats
path: root/logforwarder/src/apps/vespa-logforwarder-start/splunk-starter.h
blob: 1a278a3b1e2c1d578127fcba7cb5b966cf1c5a97 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once

#include "cf-handler.h"
#include "child-handler.h"
#include <vespa/config-logforwarder.h>

using cloud::config::LogforwarderConfig;

class SplunkStarter : public CfHandler {
private:
    ChildHandler _childHandler;
public:
    SplunkStarter();
    virtual ~SplunkStarter();
    void stop();
    void gotConfig(const LogforwarderConfig& config) override;
};