Comments (6)
Your configuration aims to use fluent-plugin-s3 not fluent-plugin-ec2-metadata.
fluent-plugin-s3 does not have {instance_id}
placeholder and fluent-plugin-ec2-metadata cannot substitute {instance_id}
placeholder its outside.
from fluent-plugin-ec2-metadata.
I'm confused - what is the point of your plugin then? Can it not be used in a pipeline?
from fluent-plugin-ec2-metadata.
<match foo.**>
@type ec2_metadata
aws_key_id YOUR_AWS_KEY_ID
aws_sec_key YOUR_AWS_SECRET/KEY
metadata_refresh_seconds 300 # Optional, default 300 seconds
output_tag ${instance_id}.${tag}
<record>
# ...
</record>
</match>
can substitute ${instance_id} because this match section aims to use ec2_metadata plugin.
But your configuration is not for ec2_metadata configuration.
Fluentd plugin cannot recognize other plugin settings in the pipeline.
from fluent-plugin-ec2-metadata.
It seems the best I could do is pass through your plugin and add an instance ID field to the record, correct?
from fluent-plugin-ec2-metadata.
It seems the best I could do is pass through your plugin and add an instance ID field to the record, correct?
It depends on your Fluentd configuration.
I have no enough your configuration information for advising.
Thanks.
from fluent-plugin-ec2-metadata.
@et304383 did you manage to pass the instanceID to S3 eventually ?
I know it was a long time ago :)
from fluent-plugin-ec2-metadata.
Related Issues (17)
- Add Filter Plugin HOT 2
- Unable to use tags with either - or : in the tag key HOT 2
- "unknown placeholder `${tagset_name}` found ... " occured during refresh tag information HOT 1
- unexpected error error="execution expired" HOT 2
- Should yank 0.0.16? HOT 1
- Use without aws permissions HOT 1
- Fluentd >= 1.0 throw warnings on configurations HOT 3
- Migrate Gemnasium
- Nested fields HOT 1
- Don't access AWS APIs if not needed HOT 1
- Bug reporting - stack level too deep ec2_metadata.rb
- aws credential issue introduced in 0.0.5 HOT 2
- tagset misdetection -unknown placeholder - for not simple values
- Metadata v3 support
- Fluentd 1.9 support HOT 1
- Issue with google-fluentd 1.10.0 on CentOS7
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-ec2-metadata.