fluent-plugin-splunk-hec icon indicating copy to clipboard operation
fluent-plugin-splunk-hec copied to clipboard

NoMethodError

Open egkelly opened this issue 2 years ago • 0 comments

What happened: My logs weren't showing up in Splunk, so I dug a little deeper in the fluentd logs and found this throw during the output process: [warn]: #0 got unrecoverable error in primary and no secondary error_class=NoMethodError error="undefined method `request_uri' for #<URI::Generic >

What you expected to happen: My logs arrive in splunk under my specified index

How to reproduce it (as minimally and precisely as possible): Here is my output config:

  @type splunk_hec
      hec_host http-inputs-firehose.mycompany-com.splunkcloud.com
      hec_port 8088
      protocol https
      hec_token XXXXXXXXXX
      index aws-kinesis-firehose-generic
      <buffer tag, time>
        @type memory
        timekey 60
      </buffer>

I am running version 1.3

Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version): 1.23
  • Ruby version (use ruby --version): 2.5.8p224
  • OS (e.g: cat /etc/os-release): alpine 3.9.6
  • Splunk version: 9.0.2303.100
  • Others:

egkelly avatar May 02 '23 20:05 egkelly