Comments (4)
Hello,
Its been awhile since i've worked with this plug-in and I remember having a similar issue. Take a look at the copy plugin https://docs.fluentd.org/output/copy. This is mostly likely what your looking for.
Jason
from fluent-plugin-aws-elasticsearch-service.
Yeah, @jayslife answer is right.
AWS ES Output plugin should emit nothing.
Instead, we can reprecate Fluentd events with copy plugin.
from fluent-plugin-aws-elasticsearch-service.
Thanks for the reply @cosmo0920 @jayslife
I tried with Copy plugin but not working. Could you give us an example here that will be great!
Config that I tried with :
<source>
@type forward
@id input_forward
</source>
<filter *.**>
@type record_transformer
<record>
container_id ${record["container_id"]}
</record>
</filter>
<match *.**>
type aws-elasticsearch-service
logstash_format true
logstash_prefix ${tag[0]}
include_tag_key true
tag_key "Application_name"
flush_interval 5s
<buffer>
flush_at_shutdown true
flush_mode immediate
flush_thread_count 8
flush_thread_interval 1
flush_thread_burst_interval 1
retry_forever true
retry_type exponential_backoff
</buffer>
<endpoint>
url https://vpc-xxxx.us-east-1.es.amazonaws.com
region us-east-1
access_key_id "xxxx"
secret_access_key "xxxx"
</endpoint>
</match>
<match *.**>
type copy
<store>
type s3
aws_key_id "xxxxx"
aws_sec_key "xxxx"
s3_bucket "logstream-testbucket"
s3_region "us-east-1"
path logs/
buffer_path /var/log/td-agent/buffer/s3
time_slice_format %Y-%m-%d/%H
time_slice_wait 10m
</store>
</match>
from fluent-plugin-aws-elasticsearch-service.
This issue should be continued to #58.
This issue should be closing.
from fluent-plugin-aws-elasticsearch-service.
Related Issues (20)
- emit transaction failed: error_class=NoMethodError error="undefined method `full_pack' HOT 3
- Unable to send logs to s3 using aws-elasticsearch-plugin - Help! HOT 3
- Unable to activate faraday_middleware-aws-sigv4-0.2.5, because faraday-0.15.4 conflicts with faraday (< 0.15, >= 0.9) (Gem::ConflictError) HOT 3
- Fluentd can't work with Signature Version 4 HOT 8
- Please release latest version HOT 3
- specifying aws-es index name HOT 2
- Is shard configuration possible while creating index HOT 2
- unable to sign request without credentials set when role-arn is provided to plugin HOT 2
- Error starting FluentD HOT 2
- Unable to start fluentd using this plugin w/ prefer_oj_serializer enabled HOT 1
- Error Starting Fluentd HOT 5
- Can We Have Weekly Index creation?
- Change fluent-plugin-elasticsearch dependency to fluent-plugin-opensearch HOT 1
- This plugin is not compatible with other plugins using the latest elasticsearch gems
- Unable to connect to opensearch using "aws-elasticsearch-service" plugin
- Please add log_400_event or log_level (debug) options HOT 9
- Need to be able to specify session duration properly
- Can i suppress type name for OpenSearchservice v2.3 HOT 2
- Fluentd Pod giving error "C:/ruby31/lib/ruby/gems/3.1.0/gems/fluent-plugin-aws-elasticsearch-service-2.4.1/lib/fluent/plugin/out_aws-elasticsearch-service.rb:144:in `include': wrong argument type Class (expected Module) (TypeError)" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluent-plugin-aws-elasticsearch-service.