{"id":36583809,"url":"https://github.com/kuskoman/logstash-exporter","last_synced_at":"2026-01-12T08:00:19.639Z","repository":{"id":65822593,"uuid":"600440139","full_name":"kuskoman/logstash-exporter","owner":"kuskoman","description":"Prometheus exporter for Logstash written in Go","archived":false,"fork":false,"pushed_at":"2026-01-11T10:28:16.000Z","size":8309,"stargazers_count":90,"open_issues_count":14,"forks_count":28,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-01-11T15:29:01.552Z","etag":null,"topics":["golang","logstash","prometheus","prometheus-exporter","prometheus-metrics"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kuskoman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-02-11T13:59:33.000Z","updated_at":"2026-01-11T10:28:18.000Z","dependencies_parsed_at":"2023-10-23T16:25:36.469Z","dependency_job_id":"edc77ed6-f2e3-44ba-ada6-d6d2778adedb","html_url":"https://github.com/kuskoman/logstash-exporter","commit_stats":{"total_commits":328,"total_committers":14,"mean_commits":"23.428571428571427","dds":"0.33536585365853655","last_synced_commit":"50249d8f56e280954c16d5792882b9ddbc196a6d"},"previous_names":[],"tags_count":46,"template":false,"template_full_name":null,"purl":"pkg:github/kuskoman/logstash-exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuskoman%2Flogstash-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuskoman%2Flogstash-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuskoman%2Flogstash-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuskoman%2Flogstash-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kuskoman","download_url":"https://codeload.github.com/kuskoman/logstash-exporter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuskoman%2Flogstash-exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28336957,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","logstash","prometheus","prometheus-exporter","prometheus-metrics"],"created_at":"2026-01-12T08:00:14.078Z","updated_at":"2026-01-12T08:00:19.536Z","avatar_url":"https://github.com/kuskoman.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Logstash-exporter\n\n[![codecov](https://codecov.io/gh/kuskoman/logstash-exporter/branch/master/graph/badge.svg?token=ISIVB93OC6)](https://codecov.io/gh/kuskoman/logstash-exporter)\n\nExport metrics from Logstash to Prometheus.\nThe project was created as rewrite of existing awesome application\n[logstash_exporter](https://github.com/BonnierNews/logstash_exporter),\nwhich was also written in Go, but it was not maintained for a long time.\nA lot of code was reused from the original project.\n\n**Important:** V2 version of the application is currently in beta. It is recommended to use V1 version in production.\nIt is still maintained and available under [v1 branch](https://github.com/kuskoman/logstash-exporter/tree/v1).\nMake sure to check the [Migration](#migration) section before upgrading to V2.\n\n**Important:** Because of limited workforces, this project is tested only against a single Logstash version.\nYou can check the tested version in [docker-compose.yml](./docker-compose.yml) file.\nUsing this exporter with other versions of Logstash may not work properly (although most of the metrics should work).\n\n## Usage\n\n### Running the app\n\nThe application can be run in several ways:\n\n- Using the binary executable as a standalone application (e.g., with systemd)\n- Using the Docker image\n- Using the Helm chart for Kubernetes deployments\n\nFor detailed deployment instructions, see:\n\n- [Standalone Deployment Guide](./STANDALONE.md) - For deploying as a systemd service\n- [Helm Deployment Guide](./HELM-DEPLOY.md) - For deploying to Kubernetes using Helm\n- [Helm chart auto-generated README](./chart/README.md) - For Helm chart configuration\n- [Helm chart tests](./chart/tests/README.md) - For Helm chart unit tests\n\n### Kubernetes Controller Mode\n\nLogstash Exporter provides a Kubernetes Controller mode that can automatically discover and monitor Logstash instances running in Kubernetes. This mode works by:\n\n1. Watching Kubernetes resources (pods, services) with specific annotations\n2. Dynamically configuring the exporter to scrape metrics from these instances\n3. Automatically updating the monitored targets when resources are created, updated, or deleted\n\nTo use this mode:\n\n1. Deploy logstash-exporter with the Kubernetes controller enabled:\n   ```yaml\n   logstash:\n     kubernetes:\n       enabled: true\n       namespaces: [\"default\", \"monitoring\"] # Optional: specific namespaces to watch\n       resources:\n         pods:\n           enabled: true         # Enable monitoring pods (default)\n         services:\n           enabled: true         # Enable monitoring services\n   ```\n\n2. Set the appropriate RBAC permissions:\n   ```yaml\n   serviceAccount:\n     create: true\n     enabled: true\n\n   rbac:\n     create: true\n   ```\n\n3. Add annotations to your Kubernetes resources:\n\n   For pods:\n   ```yaml\n   metadata:\n     annotations:\n       logstash-exporter.io/url: \"http://localhost:9600\"\n       # Optional auth credentials\n       logstash-exporter.io/username: \"user\"\n       logstash-exporter.io/password: \"pass\"\n   ```\n\n   For services (useful for clustered Logstash with stable endpoints):\n   ```yaml\n   kind: Service\n   metadata:\n     annotations:\n       logstash-exporter.io/url: \"http://logstash-headless:9600\"\n   spec:\n     selector:\n       app: logstash\n   ```\n\n4. The controller uses a separate Docker image (`kuskoman/logstash-exporter-controller`). If you need to specify a custom controller image:\n   ```yaml\n   image:\n     repository: \"kuskoman/logstash-exporter\"\n     controllerRepository: \"custom/logstash-exporter-controller\"\n   ```\n\nFor more details, see the Helm chart configuration.\n\n### Flags\n\nThe application supports the following flags:\n\n- `-config`: Path to the configuration file (default: `config.yml`). Takes precedence over `EXPORTER_CONFIG_LOCATION` environment variable.\n- `-help`: Show help message.\n- `-version`: Show semantic version.\n\n#### Binary Executable\n\nThe binary executable can be downloaded from the [releases page](https://github.com/kuskoman/logstash-exporter/releases).\nLinux binary is available under `https://github.com/kuskoman/logstash-exporter/releases/download/v${VERSION}/logstash-exporter-linux`.\nThe binary can be run without additional arguments, as the configuration is loaded from the `.env` file and environment variables.\n\nEach binary should contain a SHA256 checksum file, which can be used to verify the integrity of the binary.\n\n    VERSION=\"test-tag\" \\\n    OS=\"linux\" \\\n    wget \"https://github.com/kuskoman/logstash-exporter/releases/download/${VERSION}/logstash-exporter-${OS}\" \u0026\u0026 \\\n    wget \"https://github.com/kuskoman/logstash-exporter/releases/download/${VERSION}/logstash-exporter-${OS}.sha256\" \u0026\u0026 \\\n    sha256sum -c logstash-exporter-${OS}.sha256\n\nIt is recommended to use the binary executable in combination with the [systemd](https://systemd.io/) service.\nThe application should not require any of root privileges, so it is recommended to run it as a non-root user.\n\n##### Unstable (master) version\n\nThe unstable version of the application can be downloaded from the\n[GitHub Actions](https://github.com/kuskoman/logstash-exporter/actions?query=branch%3Amaster+workflow%3A%22Go+application+CI%2FCD%22).\nThe latest successful build can be found under the `Go application CI/CD` workflow (already selected in the link).\nTo download the binary, simply go to the link location, click on the latest successful build, and download the binary\nfrom the `Artifacts` section on the bottom of the page.\n\nYou are able to download artifact from any workflow run, not only master branch. To do that, go to\n[GitHub Actions without master filter](https://github.com/kuskoman/logstash-exporter/actions?query=workflow%3A%22Go+application+CI%2FCD%22),\nselect the workflow run you want to download artifact from, and download the binary from the `Artifacts` section.\n\n#### Docker Image\n\nThe Docker image is available under `kuskoman/logstash-exporter:\u003ctag\u003e`.\nYou can pull the image using the following command:\n\n    docker pull kuskoman/logstash-exporter:\u003ctag\u003e\n\nYou can browse tags on the [Docker Hub](https://hub.docker.com/r/kuskoman/logstash-exporter/tags).\n\nThe Docker image can be run using the following command:\n\n    docker run -d \\\n        -p 9198:9198 \\\n        -v $(pwd)/config.yml:/app/config.yml \\\n        kuskoman/logstash-exporter:\u003ctag\u003e\n\n##### Unstable (master) image\n\nThe unstable version of the Docker image can be downloaded from the\n[GitHub Container Registry](https://github.com/users/kuskoman/packages/container/package/logstash-exporter).\nTo pull the image from command line simply use:\n\n    docker pull ghcr.io/kuskoman/logstash-exporter:master\n\nThe Docker image can be run using the following command:\n\n    docker run -d \\\n        -p 9198:9198 \\\n        -v $(pwd)/config.yml:/app/config.yml \\\n        ghcr.io/kuskoman/logstash-exporter:master\n\n#### Helm Chart\n\nThe Helm chart provides a Kubernetes deployment for Logstash Exporter. For detailed instructions, see the [Helm Deployment Guide](./HELM-DEPLOY.md) which includes:\n\n- Installation instructions\n- Prometheus integration\n- Multiple Logstash instances monitoring setup\n- High availability configuration\n- Security best practices\n- Troubleshooting tips\n\nThe chart's parameters are documented in its [README](./chart/README.md).\n\n### Endpoints\n\n- `/metrics`: Exposes metrics in Prometheus format.\n- `/healthcheck`: Returns 200 if app runs properly and the connection with all logstash instanses is established.\n- `/version`: Gives the information about the logstash-exporter build in json format.\n- `/*`: Returns a 302 redirect to `/metrics`.\n\n### Configuration\n\nThe application is now configured using a YAML file instead of environment variables. An example configuration is as follows:\n\n**Important:** The `servers` section got renamed to `instances`. The `servers` section is no longer supported.\n\n```yaml\nlogstash:\n  instances:\n    - url: \"http://logstash:9600\" # URL to Logstash API\n      name: \"local_logstash\"      # Custom name for the Logstash instance (optional)\n    - url: \"https://logstash2:9600\"\n      name: \"prod_logstash\"       # Custom name for the Logstash instance\n      tls_config:                 # TLS configuration for HTTPS connections\n        ca_file: \"/path/to/ca.pem\"  # Path to custom CA certificate\n        server_name: \"logstash.internal\"  # Override hostname for verification\n        insecure_skip_verify: false  # Skip certificate verification (not recommended)\n  timeout: 2s                     # HTTP timeout for Logstash API requests\nserver:\n  host: \"0.0.0.0\"                 # Host on which the application will be exposed (default: all interfaces)\n  port: 9198                      # Port on which the application will be exposed\n  tls_server_config:              # TLS configuration for the exporter server\n    cert_file: \"/path/to/cert.pem\"  # Path to TLS certificate\n    key_file: \"/path/to/key.pem\"    # Path to TLS key\nlogging:\n  level: \"debug\"                  # Log level (debug, info, warn, error)\n  format: \"text\"                  # Log format (text, json)\n```\n\nAll configuration variables can be checked in the [config directory](./config/).\n\nPreviously the application was configured using environment variables. The old configuration is no longer supported,\nhowever a [migration script](./scripts/migrate_env_to_yaml.sh) is provided to migrate the old configuration to the new one.\nSee more in the [Migration](#migration) section.\n\n## Migration\n\n### From v1 to v2\n\n#### With Migration Script\n\n1. Backup Configuration: Save your existing .env file.\n2. Run Migration Script: Execute ./scripts/migrate_v1_to_v2.sh [path/to/.env]. If your .env is in the default location,\n    simply run ./scripts/migrate_v1_to_v2.sh.\n    You can use it via make: `make migrate-v1-to-v2`.\n3. Save New Configuration: Redirect output to new_config.yaml using ./scripts/migrate_v1_to_v2.sh.sh \u003e config.yaml.\n4. Set `EXPORTER_CONFIG_LOCATION`: Update this environment variable to the path of config.yaml (or leave the default).\n5. Test Application: Ensure the application runs correctly with the new configuration.\n\n#### Without Migration Script\n\n1. Backup Configuration: Keep a record of your current environment variables.\n2. Create YAML File: Manually create a config.yaml file following the new format.\n3. Transfer Settings: Copy values from your .env file or noted environment variables into the corresponding sections in new_config.yaml.\n4. Set EXPORTER_CONFIG_LOCATION: Point this environment variable to new_config.yaml.\n5. Test Application: Check if the application functions properly with the new configuration.\n\n## Building\n\n### Makefile\n\n#### Available Commands\n\n\u003c!--- GENERATED by ./scripts/add_descriptions_to_readme.sh ---\u003e\n\n- `make all`: Builds binary executables for all OS (Win, Darwin, Linux).\n- `make run`: Runs the Go Exporter application.\n- `make run-controller`: Runs the Go Controller application.\n- `make run-and-watch-config`: Runs the Go Exporter application with watching the configuration file.\n- `make build-linux`: Builds exporter and controller binaries for Linux.\n- `make build-darwin`: Builds exporter and controller binaries for Darwin.\n- `make build-windows`: Builds exporter and controller binaries for Windows.\n- `make build-linux-arm`: Builds exporter and controller binaries for Linux ARM.\n- `make build-docker`: Builds a Docker image for the Go Exporter application.\n- `make build-docker-controller`: Builds a Docker image for the Kubernetes Controller.\n- `make build-docker-all`: Builds both exporter and controller Docker images.\n- `make build-docker-multi`: Builds a multi-arch Docker image (`amd64` and `arm64`) for the exporter.\n- `make build-docker-controller-multi`: Builds a multi-arch Docker image (`amd64` and `arm64`) for the controller.\n- `make clean`: Deletes all binary executables in the out directory.\n- `make test`: Runs all unit tests (excludes e2e tests).\n- `make test-coverage`: Displays test coverage report (excludes e2e tests).\n- `make e2e-prepare`: Builds binary for e2e tests.\n- `make e2e-run`: Runs e2e tests (requires e2e-prepare first).\n- `make e2e`: Prepares and runs e2e tests.\n- `make e2e-clean`: Cleans e2e test artifacts.\n- `make compose`: Starts a Docker-compose configuration.\n- `make wait-for-compose`: Starts a Docker-compose configuration until it's ready.\n- `make compose-down`: Stops a Docker-compose configuration.\n- `make verify-metrics`: Verifies the metrics from the Go Exporter application.\n- `make pull`: Pulls the Docker image from the registry.\n- `make logs`: Shows logs from the Docker-compose configuration.\n- `make minify`: Minifies the binary executables.\n- `make install-helm-readme`: Installs readme-generator-for-helm tool.\n- `make helm-readme`: Generates Helm chart README.md file.\n- `make helm-test`: Run Helm unit tests.\n- `make clean-elasticsearch`: Cleans Elasticsearch data. The command may take a very long time to complete.\n- `make clean-prometheus`: Cleans Prometheus data.\n- `make upgrade-dependencies`: Upgrades all dependencies.\n- `make migrate-v1-to-v2`: Migrates configuration from v1 to v2.\n- `make update-readme-descriptions`: Update Makefile descriptions in main README.md.\n- `make update-snapshots`: Updates snapshot for test data and runs unit tests (excludes e2e tests).\n- `make help`: Shows info about available commands.\n\n\u003c!--- **************************************************** ---\u003e\n\n#### File Structure\n\nThe main Go Exporter application is located in the cmd/exporter/main.go file.\nThe binary executables are saved in the out directory.\n\n## Helper Scripts\n\nApplication repository contains some helper scripts, which can be used to improve process\nof building, testing, and running the application. These scripts are not useful for the end user,\nbut they can be useful for all potential contributors.\nThe helper scripts are located in the [scripts](./scripts/) directory.\n\n### add_metrics_to_readme.sh\n\nThis [script](./scripts/add_metrics_to_readme.sh) is used to add metrics table to the README.md file.\nUsage:\n\n    ./scripts/add_metrics_to_readme.sh\n\n### create_release_notes.sh\n\nThis [script](./scripts/create_release_notes.sh) is used to create release notes for the GitHub release.\nUsed primarily by the [CI workflow](./.github/workflows/go-application.yml).\n\n### generate_helm_readme.sh\n\nThis [script](./scripts/generate_helm_readme.sh) is used to generate Helm chart [README.md](./chart/README.md) file.\nThe readme contains all the configuration variables from the [values.yaml](./chart/values.yaml) file.\n\n### install_helm_readme_generator.sh\n\nThis [script](./scripts/install_helm_readme_generator.sh) is used to install\n[readme-generator-for-helm](https://github.com/bitnami-labs/readme-generator-for-helm) tool.\nThe tool is used to generate Helm chart [README.md](./chart/README.md) file.\nThe script installs the tool under [helm-generator](./helm-generator) directory.\n\n### verify_metrics.sh\n\nThis [script](./scripts/verify_metrics.sh) is used to verify the metrics from the Go Exporter application.\nCan be used both locally and in the CI workflow.\n\n    ./scripts/verify_metrics.sh\n\n## Testing process\n\nThe application contains both unit and integration tests. All the tests are executed in the CI workflow.\n\n### Unit Tests\n\nUnit tests are located in the same directories as the tested files.\nTo run all unit tests, use the following command:\n\n    make test\n\n### Integration Tests\n\nIntegration tests checks if Prometheus metrics are exposed properly.\nTo run them you must setup development [docker-compose](./docker-compose.yml) file.\n\n    make wait-for-compose\n\nThen you can run the tests:\n\n    make verify-metrics\n\n### Testing Standards\n\nFor consistency across the codebase, we follow a set of [Testing Standards](./TESTING-STANDARDS.md) that outlines:\n\n- Test structure and naming conventions\n- Error handling patterns\n- Best practices for mocks and fixtures\n- Guidelines for specific test types\n\nContributors should review these standards before submitting pull requests.\n\n## Grafana Dashboard\n\nA Grafana Dashboard designed for metrics from Logstash-exporter on Kubernetes is available at\n[grafana.com/grafana/dashboards/18628-logstash-on-kubernetes-dashboard/](https://grafana.com/grafana/dashboards/18628-logstash-on-kubernetes-dashboard/).\nThis dashboard's JSON source is at [excalq/grafana-logstash-kubernetes](https://github.com/excalq/grafana-logstash-kubernetes).\n\n(If not using Kubernetes, change `$pod` to `$instance` in the JSON.)\n\n![Grafana Dashboard](https://grafana.com/api/dashboards/18628/images/14184/image)\n\n## Additional Information\n\nThis projects code was reviewed by [Boldly Go](https://www.youtube.com/@boldlygo)\nin an awesome [video](https://www.youtube.com/watch?v=Oe6L5ZmqCDE), which in\na huge way helped me to improve the code quality.\n\n## Contributing\n\nIf you want to contribute to this project, please read the [CONTRIBUTING.md](./CONTRIBUTING.md) file.\n\n## Metrics\n\nTable of exported metrics:\n\n\u003c!-- METRICS_TABLE_START --\u003e\n\n| Name | Type | Description |\n| ----------- | ----------- | ----------- |\n| logstash_exporter_build_info | gauge | A metric with a constant '1' value labeled by version, revision, branch, goversion from which logstash_exporter was built, and the goos and goarch for the build. |\n| logstash_info_build | counter | A metric with a constant '1' value labeled by build date, sha, and snapshot of the logstash instance. |\n| logstash_info_node | counter | A metric with a constant '1' value labeled by node name, version, host, http_address, and id of the logstash instance. |\n| logstash_info_pipeline_batch_delay | gauge | Amount of time to wait for events to fill the batch before sending to the filter and output stages. |\n| logstash_info_pipeline_batch_size | gauge | Number of events to retrieve from the input queue before sending to the filter and output stages. |\n| logstash_info_pipeline_workers | gauge | Number of worker threads that will process pipeline events. |\n| logstash_info_status | counter | A metric with a constant '1' value labeled by status. |\n| logstash_info_up | gauge | A metric that returns 1 if the node is up, 0 otherwise. |\n| logstash_stats_events_duration_millis | gauge | Duration of events processing in milliseconds. |\n| logstash_stats_events_filtered | gauge | Number of events filtered out. |\n| logstash_stats_events_in | gauge | Number of events received. |\n| logstash_stats_events_out | gauge | Number of events out. |\n| logstash_stats_events_queue_push_duration_millis | gauge | Duration of events push to queue in milliseconds. |\n| logstash_stats_flow_filter_current | gauge | Current number of events in the filter queue. |\n| logstash_stats_flow_filter_lifetime | gauge | Lifetime number of events in the filter queue. |\n| logstash_stats_flow_input_current | gauge | Current number of events in the input queue. |\n| logstash_stats_flow_input_lifetime | gauge | Lifetime number of events in the input queue. |\n| logstash_stats_flow_output_current | gauge | Current number of events in the output queue. |\n| logstash_stats_flow_output_lifetime | gauge | Lifetime number of events in the output queue. |\n| logstash_stats_flow_queue_backpressure_current | gauge | Current number of events in the backpressure queue. |\n| logstash_stats_flow_queue_backpressure_lifetime | gauge | Lifetime number of events in the backpressure queue. |\n| logstash_stats_flow_worker_concurrency_current | gauge | Current number of workers. |\n| logstash_stats_flow_worker_concurrency_lifetime | gauge | Lifetime number of workers. |\n| logstash_stats_jvm_gc_collection_count | counter | Count of garbage collection runs for a given JVM memory pool. |\n| logstash_stats_jvm_gc_collection_time_millis_total | counter | Total time spent running garbage collection for a given JVM memory pool. |\n| logstash_stats_jvm_mem_heap_committed_bytes | gauge | Amount of heap memory in bytes that is committed for the Java virtual machine to use. |\n| logstash_stats_jvm_mem_heap_max_bytes | gauge | Maximum amount of heap memory in bytes that can be used for memory management. |\n| logstash_stats_jvm_mem_heap_used_bytes | gauge | Amount of used heap memory in bytes. |\n| logstash_stats_jvm_mem_heap_used_percent | gauge | Percentage of the heap memory that is used. |\n| logstash_stats_jvm_mem_non_heap_committed_bytes | gauge | Amount of non-heap memory in bytes that is committed for the Java virtual machine to use. |\n| logstash_stats_jvm_mem_pool_committed_bytes | gauge | Amount of bytes that are committed for the Java virtual machine to use in a given JVM memory pool. |\n| logstash_stats_jvm_mem_pool_max_bytes | gauge | Maximum amount of bytes that can be used in a given JVM memory pool. |\n| logstash_stats_jvm_mem_pool_peak_max_bytes | gauge | Highest value of bytes that were used in a given JVM memory pool. |\n| logstash_stats_jvm_mem_pool_peak_used_bytes | gauge | Peak used bytes of a given JVM memory pool. |\n| logstash_stats_jvm_mem_pool_used_bytes | gauge | Currently used bytes of a given JVM memory pool. |\n| logstash_stats_jvm_threads_count | gauge | Number of live threads including both daemon and non-daemon threads. |\n| logstash_stats_jvm_threads_peak_count | gauge | Peak live thread count since the Java virtual machine started or peak was reset. |\n| logstash_stats_jvm_uptime_millis | gauge | Uptime of the JVM in milliseconds. |\n| logstash_stats_pipeline_dead_letter_queue_dropped_events | counter | Number of events dropped by the dead letter queue. |\n| logstash_stats_pipeline_dead_letter_queue_expired_events | counter | Number of events expired in the dead letter queue. |\n| logstash_stats_pipeline_dead_letter_queue_max_size_in_bytes | gauge | Maximum size of the dead letter queue in bytes. |\n| logstash_stats_pipeline_dead_letter_queue_size_in_bytes | gauge | Current size of the dead letter queue in bytes. |\n| logstash_stats_pipeline_events_duration | gauge | Time needed to process event. |\n| logstash_stats_pipeline_events_filtered | counter | Number of events that have been filtered out by this pipeline. |\n| logstash_stats_pipeline_events_in | counter | Number of events that have been inputted into this pipeline. |\n| logstash_stats_pipeline_events_out | counter | Number of events that have been processed by this pipeline. |\n| logstash_stats_pipeline_events_queue_push_duration | gauge | Time needed to push event to queue. |\n| logstash_stats_pipeline_flow_filter_current | gauge | Current number of events in the filter queue. |\n| logstash_stats_pipeline_flow_filter_lifetime | gauge | Lifetime number of events in the filter queue. |\n| logstash_stats_pipeline_flow_input_current | gauge | Current number of events in the input queue. |\n| logstash_stats_pipeline_flow_input_lifetime | gauge | Lifetime number of events in the input queue. |\n| logstash_stats_pipeline_flow_output_current | gauge | Current number of events in the output queue. |\n| logstash_stats_pipeline_flow_output_lifetime | gauge | Lifetime number of events in the output queue. |\n| logstash_stats_pipeline_flow_queue_backpressure_current | gauge | Current number of events in the backpressure queue. |\n| logstash_stats_pipeline_flow_queue_backpressure_lifetime | gauge | Lifetime number of events in the backpressure queue. |\n| logstash_stats_pipeline_flow_worker_concurrency_current | gauge | Current number of workers. |\n| logstash_stats_pipeline_flow_worker_concurrency_lifetime | gauge | Lifetime number of workers. |\n| logstash_stats_pipeline_flow_worker_utilization_current | gauge | Current worker utilization. |\n| logstash_stats_pipeline_flow_worker_utilization_lifetime | gauge | Lifetime worker utilization. |\n| logstash_stats_pipeline_plugin_bulk_requests_errors | counter | Number of bulk request errors. |\n| logstash_stats_pipeline_plugin_bulk_requests_responses | counter | Bulk request HTTP response counts by code. |\n| logstash_stats_pipeline_plugin_documents_non_retryable_failures | counter | Number of output events with non-retryable failures. |\n| logstash_stats_pipeline_plugin_documents_successes | counter | Number of successful bulk requests. |\n| logstash_stats_pipeline_plugin_events_duration | counter | Time spent processing events in this plugin. |\n| logstash_stats_pipeline_plugin_events_in | counter | Number of events received this pipeline. |\n| logstash_stats_pipeline_plugin_events_out | counter | Number of events output by this pipeline. |\n| logstash_stats_pipeline_plugin_events_queue_push_duration | gauge | Time spent pushing events into the input queue. |\n| logstash_stats_pipeline_queue_events_count | counter | Number of events in the queue. |\n| logstash_stats_pipeline_queue_events_queue_size | gauge | Number of events that the queue can accommodate |\n| logstash_stats_pipeline_queue_max_size_in_bytes | gauge | Maximum size of given queue in bytes. |\n| logstash_stats_pipeline_reloads_failures | counter | Number of failed pipeline reloads. |\n| logstash_stats_pipeline_reloads_last_failure_timestamp | gauge | Timestamp of last failed pipeline reload. |\n| logstash_stats_pipeline_reloads_last_success_timestamp | gauge | Timestamp of last successful pipeline reload. |\n| logstash_stats_pipeline_reloads_successes | counter | Number of successful pipeline reloads. |\n| logstash_stats_pipeline_up | gauge | Whether the pipeline is up or not. |\n| logstash_stats_process_cpu_load_average_1m | gauge | Total 1m system load average. |\n| logstash_stats_process_cpu_load_average_5m | gauge | Total 5m system load average. |\n| logstash_stats_process_cpu_load_average_15m | gauge | Total 15m system load average. |\n| logstash_stats_process_cpu_percent | gauge | CPU usage of the process. |\n| logstash_stats_process_cpu_total_millis | counter | Total CPU time used by the process. |\n| logstash_stats_process_max_file_descriptors | gauge | Limit of open file descriptors. |\n| logstash_stats_process_mem_total_virtual | gauge | Total virtual memory used by the process. |\n| logstash_stats_process_open_file_descriptors | gauge | Number of currently open file descriptors. |\n| logstash_stats_queue_events_count | gauge | Number of events in the queue. |\n| logstash_stats_reload_failures | counter | Number of failed reloads. |\n| logstash_stats_reload_successes | counter | Number of successful reloads. |\n\n\u003c!-- METRICS_TABLE_END --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuskoman%2Flogstash-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkuskoman%2Flogstash-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuskoman%2Flogstash-exporter/lists"}