Error with

Hello there,

I have a single ELK node, and I have some error that I can't find soutions.

One of them is :

illegal_argument_exception at shard 0index metricbeat-7.11.2-2021.05.26node 
    ugebynP7RImmkUP5TCeGEA
    Type
    illegal_argument_exception
    Reason
    Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [host.hostname] in order to load field data by uninverting the inverted index. Note that this can use significant memory.

Do you have an idea to resolve it ? We don't use any customs things. Only metricbeats with default haproxy module enabled.

1 Like

Welcome to our community! :smiley:

Where are you seeing this error?

Hello,

Thanks for the welcome.

There error appear directly in kibana when I connect.

Below screenshots :

Capture d’écran 2021-05-27 à 10.23.47

Thanks,

Can you copy and past the reason as text?

Hello,

the reason is the one in the first post :

illegal_argument_exception at shard 0index metricbeat-7.11.2-2021.05.26node 
    ugebynP7RImmkUP5TCeGEA
    Type
    illegal_argument_exception
    Reason
    Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [host.hostname] in order to load field data by uninverting the inverted index. Note that this can use significant memory.

Hello,

Someone have some idea about this error ?

Thanks

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.