Is it possible to configure graylog 3.0 to allow adding empty fields to the graylog index?
We are storing output of tlog-rec-session to the elasticsearch using graylog (as part of normal log stream). But unfortunately this software requires “in_txt” field to be stored into the index. This field is in most cases empty (in_txt=""). It is also present in incoming raw message. But it is not shown either in graylog nor in direct elasticsearch query…
Dynamic template for graylog fields should allow empty fields because they are not analyzed anyway, shouldn’t it?
First of all null_value parameter is not supported for field types “string” / “text”.
Secong - if I put empty string directly to the elasticsearch using curl:
curl -XPOST -H “Content-Type: application/json” “https://test:3_secure@test-elk-01.inatec.local:9200/tlog_0/message” -d “{ “in_txt” : “” }”
But if I am trying insert empty string via graylog using pipeline using, for example set_field(“in_txt”, “”) it just ignores it. I think it even does not send it to elastic. So the question is still there - is graylog able to put empty strings to elasticsearch?
But if I am trying insert empty string via graylog using pipeline using, for example set_field(“in_txt”, “”) it just ignores it. I think it even does not send it to elastic. So the question is still there - is graylog able to put empty strings to elasticsearch?
I guess that Graylog can’t - could you please open a feature request for that over in Github.