Graylog2 / Graylog2/graylog2-server

Calculate and add field `gl2_ingested_message_size` to display number of bytes in `message`field

Open
#14,307 4 comments 2 reactions 0 assignees View on GitHub
feature triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

In contrast to `gl2_accounted_message_size` which stores the number of bytes of all fields stored in Elasticsearch, there should be a field, storing the number of bytes of **solely the message field**.

We as a security services provider charge our customers for the size of logs ingested, and we currently have huge problems in using Graylog because we have no metrics available to see how much data the customer ingested into Graylog.

### Current behaviour
No metrics to see the raw data size of a log
### Expected behaviour
For each log, calculate a field `gl2_ingested_message_size` that contains the size of the `message` field in bytes.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.