lelik13a / zabbix-logstash Goto Github PK
View Code? Open in Web Editor NEWCheck Logstash 7.x status and LLD pipelines. Check JVM memory. Check pipelines events.
Check Logstash 7.x status and LLD pipelines. Check JVM memory. Check pipelines events.
Hello, the item "Logstash duration per event"
with this formula "last("logstash.events.duration_in_millis") / last("logstash.events.out")"
Give me this error "Cannot evaluate function "last()": item "Template App Logstash Full:logstash.events.duration_in_millis" does not exist."
But when I test the item key "logstash.stats.events" from "Logstash stats events raw: Logstash events duration
logstash.events.duration_in_millis" work OK.
How could I fix it ?
Is the main important item to debug performance in main and many pipelines.
Thanks
Diego
HTTP Item discovery.
JSONpath functionality is limited in zabbix, therefore we cannot simply filter out just pipeline names and make discovery list. But it is possible to do Javascript preprocessing . With this maybe agent discovery is not needed ?
Pipeline discovery example.
URI = _node/pipelines?pretty
zabbix discovery rule / Preprocessing Steps / JavaScript
parameters:
const obj = JSON.parse(value);
const pipelines = Object.keys(obj.pipelines);
var djson = [];
pipelines.forEach(function(name) {djson.push({"pipeline":name})});
djson = JSON.stringify({"data": djson});
djson = JSON.parse(djson.replace(/"/g,'""'));
djson = JSON.stringify(djson);
return djson;
LLD macros:
LLD macro = {#PIPELINE}
JSON Path = $..pipeline.first()
Would you be able to add a metric for lag between input and output?
I have checked all logstash versions and this key does not exist in any API. what is the exact logstash version you are using?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.