fluent-plugin-elasticsearch | Send your logs to Elasticsearch ( and search | Plugin library

 by   uken Ruby Version: v5.2.4 License: Apache-2.0

kandi X-RAY | fluent-plugin-elasticsearch Summary

kandi X-RAY | fluent-plugin-elasticsearch Summary

fluent-plugin-elasticsearch is a Ruby library typically used in Plugin, Docker, Spark applications. fluent-plugin-elasticsearch has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

Send your logs to Elasticsearch (and search them with Kibana maybe?). Note: For Amazon Elasticsearch Service please consider using fluent-plugin-aws-elasticsearch-service. Current maintainers: Hiroshi Hatake | @cosmo0920, Kentaro Hayashi | @kenhys.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              fluent-plugin-elasticsearch has a medium active ecosystem.
              It has 853 star(s) with 302 fork(s). There are 80 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 78 open issues and 505 have been closed. On average issues are closed in 45 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of fluent-plugin-elasticsearch is v5.2.4

            kandi-Quality Quality

              fluent-plugin-elasticsearch has 0 bugs and 0 code smells.

            kandi-Security Security

              fluent-plugin-elasticsearch has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              fluent-plugin-elasticsearch code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              fluent-plugin-elasticsearch is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              fluent-plugin-elasticsearch releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.
              fluent-plugin-elasticsearch saves you 4719 person hours of effort in developing the same functionality from scratch.
              It has 11435 lines of code, 598 functions and 28 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed fluent-plugin-elasticsearch and discovered the below as its top functions. This is intended to give you an instant insight into fluent-plugin-elasticsearch implemented functionality, and help decide if they suit your requirements.
            • Processes a record and returns it as a Hash .
            • Creates a new chunk .
            • Creates a new connection .
            • Send a bulk bulk request
            • Expands the contents of the template
            • Determine if debug level is enabled .
            Get all kandi verified functions for this library.

            fluent-plugin-elasticsearch Key Features

            No Key Features are available at this moment for fluent-plugin-elasticsearch.

            fluent-plugin-elasticsearch Examples and Code Snippets

            No Code Snippets are available at this moment for fluent-plugin-elasticsearch.

            Community Discussions

            QUESTION

            EFK system is build on docker but fluentd can't start up
            Asked 2022-Feb-27 at 16:59

            I want to build the efk logger system by docker compose. Everything is setup, only fluentd has problem.

            fluentd docker container logs

            2022-02-15 02:06:11 +0000 [info]: parsing config file is succeeded path="/fluentd/etc/fluent.conf"

            2022-02-15 02:06:11 +0000 [info]: gem 'fluent-plugin-elasticsearch' version '5.0.3'

            2022-02-15 02:06:11 +0000 [info]: gem 'fluentd' version '1.12.0'

            /usr/local/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- elasticsearch/transport/transport/connections/selector (LoadError)

            my directory:

            ...

            ANSWER

            Answered 2022-Feb-15 at 11:35

            I faced the same problem, but I used to make exactly the same image where everything works to this day. I can't figure out what has changed.

            But if you need to urgently solve the problem, use my in-person image:

            Source https://stackoverflow.com/questions/71120621

            QUESTION

            Copying a Fluentd-config file to a kubernetes pod
            Asked 2021-Jul-20 at 11:13

            I've got a fluentd.conf file and I'm trying to use (copy) it in my minikube cluster (works fine in a docker container). The steps are the following:

            1. Ill build (in my minikube docker-env) the docker image with the following commands Dockerfile:
            ...

            ANSWER

            Answered 2021-Jul-20 at 07:11

            This happens because you are mounting a volume in the same folder.

            Inside your image, the config file is placed in /fluentd/etc/fluent.conf.

            In your pod, you mount the fluentd-claim0 volume into /fluentd/etc/:

            Source https://stackoverflow.com/questions/68450798

            QUESTION

            Fluentd is not filtering as intended before writing to Elasticsearch
            Asked 2020-Nov-05 at 15:24

            Using:

            • Elasticsearch 7.5.1.
            • Fluentd 1.11.2
            • Fluent-plugin-elasticsearch 4.1.3
            • Springboot 2.3.3

            I have a Springboot artifact with Logback configured with an appender that, in addition to the app STDOUT, sends logs to Fluentd:

            ...

            ANSWER

            Answered 2020-Nov-05 at 15:24

            Thanks to @Azeem, and according to grep and regexp features documentation, I got it :).

            I just added this to my Fluentd config file:

            Source https://stackoverflow.com/questions/64669749

            QUESTION

            Fluentd sidecar isn't able to send logs to Elasticsearch: types removal Specifying types in bulk requests is deprecated
            Asked 2020-Oct-23 at 07:52

            I have a sidecar container configured to collect logs for my app container.

            I first tested my fleunt.conf using the following configuration:

            ...

            ANSWER

            Answered 2020-Oct-23 at 07:52

            Support for suppress_type_name true was only added with version 4.0.10 of the plugin: https://github.com/uken/fluent-plugin-elasticsearch/blob/master/History.md#4010.

            According to the logs, you're running 4.0.0, so upgrading and setting the flag in the config should get rid of the warning. The warning should not affect the bulk request.

            Source https://stackoverflow.com/questions/64482766

            QUESTION

            FluentD fails to write log in Elasticsearch
            Asked 2020-Sep-21 at 14:03

            Using:

            • fluentd 1.11.2
            • fluent-plugin-elasticsearch 4.1.3
            • elasticsearch 7.5.1
            • springboot 2.3.3

            Running in Openshift (Kubernetes v1.17.1+20ba474).

            Both Fluentd and Elasticsearch are running in different pods.

            Fluentd configuration file:

            ...

            ANSWER

            Answered 2020-Sep-21 at 14:03

            The configuration of the parser in the filter i.e.

            Source https://stackoverflow.com/questions/63960681

            QUESTION

            Fluentd + Elasticsearch = Connection refused
            Asked 2020-May-21 at 19:32

            I'm trying to connect fluentd with elasticsearch and I'm getting this error when I start the td-agent service.

            td-agent.log:

            Could not communicate to Elasticsearch, resetting connection and trying again. Connection refused - connect(2) for 127.0.0.1:9092 (Errno::ECONNREFUSED)

            td-agent.conf

            ...

            ANSWER

            Answered 2020-May-21 at 19:32

            If you can access elasticsearch from localhost:9200 then the .conf will look like:

            Source https://stackoverflow.com/questions/61940291

            QUESTION

            Fluentd elasticsearch plugin not connecting to Elasticsearch from Kubernetes on a Raspberry Pi
            Asked 2020-Apr-10 at 00:11

            EDIT: I've added new information per my comment in response to efrat-levitan's suggestion. The log output listed is slightly different as I upgraded my Elasticsearch version to 7.6.0 as suggested by the original comment. To help debugging, I also didn't start Elasticsearch right away. The effect of this can be seen in the ECONNREFUSED messages in the log. I called out the log file changes in the summary below. Most of the rest of the message text (i.e., not log snippets) remains the same as before.

            I've been working on getting an ARM version (for a Raspberry Pi 3 & 4) of fluentd with the fluent-plugin-elasticsearch plugin running in docker. I haven't been able to find an appropriate docker image so I've built one on my own (if anyone knows where I can find one I'd appreciate it). I started with the fluentd-docker-image repo (doesn't include Elasticsearch plugins) and modified it as I thought necessary using the fluentd-kubernetes-daemonset repo (does include the Elasticsearch plugins). The good news is that it starts up just fine on a Raspberry Pi. The bad news is that it appears like it doesn't even try to connect to ElasticSearch (external to the Raspberry Pi network. The log file looks like this:

            ...

            ANSWER

            Answered 2020-Apr-10 at 00:11

            As noted by Efrat Levitan the problem was indeed mismatched version. I installed Elasticsearch 7.6.0 and the corresponding Kibana release 7.6.0 and it's working. Fluentd is up and running and logs are showing up in Kibana.

            Source https://stackoverflow.com/questions/60470888

            QUESTION

            Why is Fluentd Azure blob plugin not working in kubernetes
            Asked 2020-Feb-25 at 08:19

            I've installed fluentd in my AKS cluster using the following command helm install fluentd bitnami-azure/fluentd --namespace mynamespace --set forwarder.configMap=fluentd-aksconfig.

            Below is my configmap.yaml

            ...

            ANSWER

            Answered 2020-Feb-25 at 08:19

            As said by @ArghyaSadhu in his answer, Currently fluentd docker image does not come with azure blob plugin pre-installed. We can obtain the docker image and customize it. Please refer to the following link on how to customize fluentd's docker image. https://github.com/bitnami/bitnami-docker-fluentd#customize-this-image

            Source https://stackoverflow.com/questions/60278431

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install fluent-plugin-elasticsearch

            You can download it from GitHub.
            On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.

            Support

            Starting with version 0.8.0, this gem uses excon, which supports proxy with environment variables - https://github.com/excon/excon#proxy-support.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/uken/fluent-plugin-elasticsearch.git

          • CLI

            gh repo clone uken/fluent-plugin-elasticsearch

          • sshUrl

            git@github.com:uken/fluent-plugin-elasticsearch.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link