aboutsummaryrefslogtreecommitdiffstats
path: root/logforwarder/src/apps/vespa-logforwarder-start/splunk-starter.h
diff options
context:
space:
mode:
Diffstat (limited to 'logforwarder/src/apps/vespa-logforwarder-start/splunk-starter.h')
-rw-r--r--logforwarder/src/apps/vespa-logforwarder-start/splunk-starter.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/logforwarder/src/apps/vespa-logforwarder-start/splunk-starter.h b/logforwarder/src/apps/vespa-logforwarder-start/splunk-starter.h
new file mode 100644
index 00000000000..39cb8ca0efe
--- /dev/null
+++ b/logforwarder/src/apps/vespa-logforwarder-start/splunk-starter.h
@@ -0,0 +1,19 @@
+// Copyright Yahoo. 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;
+};
+