Closed shrinaththube closed 5 years ago
Hi @shrinaththube from this Error its looks likes you are trying to send too many things at once. Id look to reduce the chunk_limit_size 1M in your fluent configuration and try again
@dtregonning Thank you for responding.
I am actually only sending a single line log as
{ "key" : "Hello" }
and in a fluentd configuration I have kept chunk_limit_size 1M
@shrinaththube Understood. Which protocol do you have set on your Splunk HEC token? See attached image (Enable SSL Option)
You may also look to add the protocol parameter in your Fluentd configuration. By default this is HTTPS. You'll need to ensure this matches.
Are you seeing any data flow through at all? Apart from test data?
Also noting your inputs.conf configuration supplied. Using HEC will be set up in a different stanza not [splunktcp-ssl:8088] - https://docs.splunk.com/Documentation/Splunk/7.2.5/Admin/Inputsconf - see HTTP Event Collector Section.
@dtregonning Thank you for pointing in the right direction. I update the input.conf file and it worked. Here is the configuration I have used -
[http]
port = 8088
disabled = 0
enableSSL = 1
dedicatedIoThreads = 4
maxSockets = 50
maxThreads = 20
serverCert = /opt/splunk/etc/auth/myNewServerCertificate.pem
sslPassword = <password>
caCertFile = /opt/splunk/etc/auth/myCACertificate.pem
Thank you once again!! Closing the issue.
I am using
splunk/splunk
docker image. I have generated hec token and kept SSL enable. I have generated self-signed certs similar as following documentation https://docs.splunk.com/Documentation/Splunk/7.2.5/Security/Howtoself-signcertificates https://docs.splunk.com/Documentation/Splunk/7.2.5/Security/HowtoprepareyoursignedcertificatesforSplunk https://docs.splunk.com/Documentation/Splunk/7.2.5/Security/ConfigureSplunkforwardingtousesignedcertificatesModified input.conf
Fluentd configuration
I have kept server.pem certs
CN
as VM hostname where splunk container is runningAfter all these steps, I am getting following error at Fluentd side -
And getting following error in a
spunkd.log
-I am sending only a single line log which is way below the data limits. I am getting this problem only for HTTPS and not for HTTP. I am also able to send testing logs using CURL.
Can you please let me know if I am misconfiguring something?