Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoMethodError #277

Open
egkelly opened this issue May 2, 2023 · 0 comments
Open

NoMethodError #277

egkelly opened this issue May 2, 2023 · 0 comments

Comments

@egkelly
Copy link

egkelly commented May 2, 2023

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:
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

No branches or pull requests

1 participant