Skip to content

NoMethodError #277

Open
Open
@egkelly

Description

@egkelly

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions