Comments (7)
What does 'measurement name' mean?
from fluent-plugin-influxdb.
It seems like it is called "series" in the InfluxDB ruby library. Other InfluxDB libraries I've used (Go, Java, Javascript) call it the "measurement". An issue was raised in the library repo for this naming issue.
Here is the value I'd like to be customizable:
https://github.com/fangli/fluent-plugin-influxdb/blob/master/lib/fluent/plugin/out_influxdb.rb#L143
from fluent-plugin-influxdb.
I have probably similar question. I got this plugin writing syslog to InfluxDB , but I don't like whole 'message' as InfluxDB tag like below
> select * from "syslog.local0.err" limit 1
name: syslog.local0.err
-----------------------
time host ident message
1484667052000000000 MR-DC.com 1 30:52,001901000999,THREAT,vulnerability,1,2016/01/17 15:30:52,10.3.2.7,155.19.1.6,20.16.12.5,15.19.9.9,to INTERNET,wm\clustersqlservice,,ssh,vsys1,db_backups,isp2,ae1.22,ae3.32,LF-kibana,2016/01/17 15:30:52,67393685,1,49426,22,62473,22,0x80404000,tcp,alert,"",SSH User Authentication Brute Force Attempt(40015),any,high,client-to-server,7899681,0x0,10.0.0.0-10.255.255.255,US,0,,1490491961841411253,,,0,,,,,,,,0,38,0,0,0,PROD,MR-DC,
what I want is to use format csv (see commented below) and get field1,2,3 in InfluxDB, but once I try to uncomment it I don't receive anything in the InfluxDB
<source>
@type syslog
bind 0.0.0.0
port 11514
tag syslog #syslog.local0.err local0.crit
#format csv
#keys field1, field2, field3
</source>
from fluent-plugin-influxdb.
Is measurement
parameter enough?
Configuration example:
<match app.**>
@type influxdb
measurement foo # use foo instead of tag
</match>
I will implement this parameter soon.
from fluent-plugin-influxdb.
That would be perfect!
from fluent-plugin-influxdb.
Added and released v0.3.2. Try it!
from fluent-plugin-influxdb.
Thanks! It works perfectly.
from fluent-plugin-influxdb.
Related Issues (20)
- auto_tag functionality
- Number/float field are pushed into influxdb as string HOT 1
- Adding support for InfluxDB 2? HOT 2
- Dynamic measurement value
- How do I inject custom key/values
- Errors transporting Collectd metrics into Influxdb via fluentbit
- retry parameter not working at all
- plugin makes fluentd fail having fluentd 1.15.x and ruby 3 HOT 2
- Unauthorized Error
- Setting 'tag_keys' never happend for strings?
- Set timestamp with js new Date().getTime() ms will meet timestamp format error HOT 3
- Using nanosecond precision instead of sequence_tag HOT 1
- Multiple bugs report HOT 9
- Feature Request: Option to write Boolean as Integer
- accept integer for float field HOT 5
- Connecting to database : no timeout ?
- Allow empty strings for fields
- memory leak if influxdb goes down HOT 3
- [ Feature Request ] wildcards support for tag_keys
- how to prevent string auto transformed to number?
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-influxdb.