Hi,
In this commit it was added that sourceType requires payloadkey to be set for Splunk Outputs.
Is there a reason for this specific requirement? Or could we allow to set the sourceType without specifying the payloadkey or defining a reserved keyword (e.g. .) to take the whole payload?
Background:
We have a sourcetype configured in Splunk that is basically _json but allows for much longer lines than the default 10k characters to accommodate the logs of some workload that sometimes generates longer messages.
We still want to include all metadata the ClusterLogForwarder adds (like kubernetes, openshift etc) so reducing the payload to .message is also not an option. Since we don't want to allow longer lines for everything we ended up on the custom sourcetype.
Internal guidelines to contribute to external projects are cumbersome, so starting this issue to get your opinion first.
Hi,
In this commit it was added that sourceType requires payloadkey to be set for Splunk Outputs.
Is there a reason for this specific requirement? Or could we allow to set the sourceType without specifying the payloadkey or defining a reserved keyword (e.g. .) to take the whole payload?
Background:
We have a sourcetype configured in Splunk that is basically _json but allows for much longer lines than the default 10k characters to accommodate the logs of some workload that sometimes generates longer messages.
We still want to include all metadata the ClusterLogForwarder adds (like kubernetes, openshift etc) so reducing the payload to .message is also not an option. Since we don't want to allow longer lines for everything we ended up on the custom sourcetype.
Internal guidelines to contribute to external projects are cumbersome, so starting this issue to get your opinion first.