No commit activity in last 3 years
No release in over 3 years
Fluentd plugin to save json metrics in OpenTSDB
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 0

Runtime

 Project Readme

fluent-plugin-jopentsdb

Component

OpenTsdbOutput

Plugin for send json to OpenTSDB

Configuration

OpenTsdbOutput json to OpenTSDB

Example of source:

       <source>                                                                                                                                                                                                                                              
	  @type tail                                                                                                                                                                                                                                          
	  path /var/log/json/metrics.log                                                                                                                                                                                                             
          tag json.metrics                                                                                                                                                                                                                                          
          format json                                                                                                                                                                                                                                          
       </source> 

Logfile has line as:

{"metric":"METRICNAME","timestamp":1499072486,"value":1128,"tags":{"hostname":"host1","app":"app1","TimeResponse":304.0,"count":166.0}}

To graph in OpenTSDB:

	<match json.metrics>
	    @type jopentsdb
	    host localhost
	    port 4242
	</match>	

Will send to OpenTSDB post json lines

TODO

  • add more parameters

License

  • License
    • Apache License, Version 2.0