Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message related to elasticsearch fielddata when clicking in tab "tasks" #322

Closed
typonino opened this issue Sep 27, 2017 · 4 comments
Closed
Assignees

Comments

@typonino
Copy link

typonino commented Sep 27, 2017

Error message related to elasticsearch fielddata when clicking in tab "tasks

Request Type

Bug

Work Environment

Question Answer
OS version (server) Ubuntu
OS version (client) Ubuntu 16.04.3 LTS
TheHive version / git hash 2.13.1
Package Type DEB
Browser type & version chrome

Problem Description

When going to tab "tasks" in a case we see a red windows with error message " Fielddata is disabled on text fields by default. Set fielddata=true on [title] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead"

This error is also present in elasticsearch log file.
ElasticSearch Version is 5.6.1

Steps to Reproduce

  1. create a case
  2. go to tasks tab

Complementary information

image

@saadkadhi
Copy link
Contributor

Hi @typonino. We have not encountered such behavior on our end. We will try to reproduce it and if we can't we'll ask you for complementary details.

@To-om
Copy link
Contributor

To-om commented Oct 2, 2017

This issue is duplicated with #311 and has been fixed in TheHive 2.13.1.

If you still have this issue with TheHive 2.13.1, you probably initialized your ElasticSearch index with TheHive 2.13.0.
Drop your index (curl -XDELETE http://127.0.0.1:9200/the_hive_10), it will be recreated without the mapping issue.

I close this issue, feel free to reopen it if the problem persists.

@To-om To-om closed this as completed Oct 2, 2017
@To-om To-om added the duplicate label Oct 2, 2017
@FeisTy-H
Copy link

Hi,
just downloaded the .OVA image file for testing purpose and the issue is still present on it. I guess it is linked to the version because it seems to be still the 2.13.0 whereas on the github training page it should be the 2.13.1 if I am not wrong. Can you confirm the OVA image still has the version with the issue ?

By the way, so great work. thank you.

@garanews
Copy link
Contributor

I had same issue with OVA image, updated it, deleted ES index and everything now is fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants