package libbeat import ( s "github.com/elastic/beats/metricbeat/schema" c "github.com/elastic/beats/metricbeat/schema/mapstriface" ) var schema = s.Schema{ "output": s.Object{ "elasticsearch": s.Object{ "events": s.Object{ "ack": c.Int("libbeat.es.published_and_acked_events"), "not_ack": c.Int("libbeat.es.published_but_not_acked_events"), }, "read": s.Object{ "bytes": c.Int("libbeat.es.publish.read_bytes"), "errors": c.Int("libbeat.es.publish.read_errors"), }, "write": s.Object{ "bytes": c.Int("libbeat.es.publish.write_bytes"), "errors": c.Int("libbeat.es.publish.write_errors"), }, }, }, "publisher": s.Object{ "events": s.Object{ "published": c.Int("libbeat.publisher.published_events"), }, }, }
package filebeat import ( s "github.com/elastic/beats/metricbeat/schema" c "github.com/elastic/beats/metricbeat/schema/mapstriface" ) var schema = s.Schema{ "harvesters": s.Object{ "started": c.Int("filebeat.harvester.started"), "closed": c.Int("filebeat.harvester.closed"), "running": c.Int("filebeat.harvester.running"), "files": s.Object{ "open": c.Int("filebeat.harvester.open_files"), "truncated": c.Int("filebeat.harvester.files.truncated"), }, }, "prospectors": s.Object{ "log_files": s.Object{ "renamed": c.Int("filebeat.prospector.log.files.renamed"), "truncated": c.Int("filebeat.prospector.log.files.truncated"), }, }, }
package status import ( s "github.com/elastic/beats/metricbeat/schema" c "github.com/elastic/beats/metricbeat/schema/mapstriface" ) var schema = s.Schema{ "version": c.Str("version"), "uptime": s.Object{ "ms": c.Int("uptimeMillis"), }, "local_time": c.Time("localTime"), "write_backs_queued": c.Bool("writeBacksQueued"), "asserts": c.Dict("asserts", s.Schema{ "regular": c.Int("regular"), "warning": c.Int("warning"), "msg": c.Int("msg"), "user": c.Int("user"), "rollovers": c.Int("rollovers"), }), "background_flushing": c.Dict("backgroundFlushing", s.Schema{ "flushes": c.Int("flushes"), "total": s.Object{ "ms": c.Int("total_ms"), }, "average": s.Object{ "ms": c.Int("average_ms"), }, "last": s.Object{ "ms": c.Int("last_ms"),
package filebeat import ( s "github.com/elastic/beats/metricbeat/schema" c "github.com/elastic/beats/metricbeat/schema/mapstriface" ) var schema = s.Schema{ "harvesters": s.Object{ "started": c.Int("filebeat.harvester.started"), "closed": c.Int("filebeat.harvester.closed"), "running": c.Int("filebeat.harvester.running"), "skipped": c.Int("filebeat.harvester.skipped"), "files": s.Object{ "open": c.Int("filebeat.harvester.open_files"), "truncated": c.Int("filebeat.harvester.files.truncated"), }, }, "prospectors": s.Object{ "log_files": s.Object{ "renamed": c.Int("filebeat.prospector.log.files.renamed"), "truncated": c.Int("filebeat.prospector.log.files.truncated"), }, }, "registrar": s.Object{ "states": s.Object{ "update": c.Int("registar.states.update"), "cleanup": c.Int("registar.states.cleanup"), "current": c.Int("registar.states.current"), }, "writes": c.Int("registrar.writes"),
package status import ( s "github.com/elastic/beats/metricbeat/schema" c "github.com/elastic/beats/metricbeat/schema/mapstriface" ) var schema = s.Schema{ "version": c.Str("version"), "uptime": s.Object{ "ms": c.Int("uptimeMillis"), }, "local_time": c.Time("localTime"), "write_backs_queued": c.Bool("writeBacksQueued", s.Optional), "asserts": c.Dict("asserts", s.Schema{ "regular": c.Int("regular"), "warning": c.Int("warning"), "msg": c.Int("msg"), "user": c.Int("user"), "rollovers": c.Int("rollovers"), }), "background_flushing": c.Dict("backgroundFlushing", s.Schema{ "flushes": c.Int("flushes"), "total": s.Object{ "ms": c.Int("total_ms"), }, "average": s.Object{ "ms": c.Int("average_ms"), }, "last": s.Object{ "ms": c.Int("last_ms"),