ukncsc / lme

Logging Made Easy
Apache License 2.0
708 stars 117 forks source link

Field problems in SIEM dashboards #76

Closed SimonAccordDS closed 3 years ago

SimonAccordDS commented 4 years ago

I am not knowledgeable when it comes to the ELK stack so I have just followed the Easy Install doumentation to install LME by using the shell script, which has worked so far. However, when I enable the SIEM detection engine as in 4.2, I get an error every time I visit /app/SIEM:

[illegal_argument_exception] 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 [event.module] in order to load field data by uninverting the inverted index. Note that this can use significant memory.

Also, the External alert count panel has a spinning circle and doesn't populate; changing the 'Stack by' in that panel will cause the error to repeat.

To Reproduce After following all LME instructions up to 4.2, with data being shipped to ELK from the Windows Event Collector via Winlogbeat, browse to /app/siem/ in Kibana.

Expected behavior No error

Screenshots image

image

Windows Event Collector

Linux Server

I am not a developer and I'm not very experienced with Docker or ELK so it may well be user error!

duncan-ncc commented 4 years ago

Hello Simon, Thanks for the report. We are looking into this and will provide an update once we have a solution.

Thanks, Duncan

ipswichschool commented 3 years ago

Any updates on this? Having the same issue with my install.

splurggy commented 3 years ago

any updates on this ???

a-d-a-m-b commented 3 years ago

Hello. We are aware of the issue, the root cause and have a mechanism to fix - we are looking at the easiest way of providing that solution to everyone

ipswichschool commented 3 years ago

Perfect. Thank you.

splurggy commented 3 years ago

is there any timescale on this ? as i need to showcase this install i am doing to some top brass - wont look good if there are errors all over the place - thanks dudes

kcmark1 commented 3 years ago

Did the solution to this issue get published somewhere?

a-d-a-m-b commented 3 years ago

Hi @splurggy, @ipswichschool @kcmark1 @SimonAccordDS (and everyone else who might be reading)

A new branch was pushed to the repo last night (https://github.com/ukncsc/lme/tree/0.4-pre-release). It is a pre-release of the next version which includes a fix for this issue.

Details of how to upgrade are in the https://github.com/ukncsc/lme/blob/0.4-pre-release/docs/upgrading.md document, which provides some background to the issue, and how to resolve.

If you are willing to test and report back if things are resolved, that would be helpful. Whilst the code changes have passed our testing, we would still recommend making a snapshot of your logs if you are relying on them.

A full changelog includes:

adam-ncc commented 3 years ago

Closing this issue as it should be resolved now.