Skip to content

feat: exposed factory interface to extend splunk_outputs - #111

Open
dhruvanshus-crest wants to merge 2 commits into
splunk:mainfrom
dhruvanshus-crest:feat/otl-4482-exporter
Open

feat: exposed factory interface to extend splunk_outputs#111
dhruvanshus-crest wants to merge 2 commits into
splunk:mainfrom
dhruvanshus-crest:feat/otl-4482-exporter

Conversation

@dhruvanshus-crest

Copy link
Copy Markdown

Task - OTL-4482
splunk_ouptuts

  • Updated splunkoutputsexporter.NewFactory(opts ...Option) to register the built-in httpout sub-exporter by default and apply external overrides at construction time.
  • Added a public SubExporterFactory interface and WithSubExporter option so external repos can override the built-in [httpout] exporter creation.
  • Added tests for httpout override behavior, ensuring only [httpout] is read, and preserving the existing error behavior when [httpout] is missing.
  • Note: splunk_outputs currently supports overriding the existing [httpout] path only; generic output stanza schemes such as [tcpout] or [s2s] are not parsed.

@dhruvanshus-crest
dhruvanshus-crest marked this pull request as ready for review August 17, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant