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

[Bug] Search feature doesn't work #2314

Open
nicodeff opened this issue Jan 6, 2022 · 0 comments
Open

[Bug] Search feature doesn't work #2314

nicodeff opened this issue Jan 6, 2022 · 0 comments
Labels
bug TheHive4 TheHive4 related issues

Comments

@nicodeff
Copy link

nicodeff commented Jan 6, 2022

Request Type

Bug

Work Environment

Question Answer
OS version (server) CentOS 7
OS version (client) Chrome 96
Virtualized Env. True
Dedicated RAM 8 GB
TheHive version / git hash 4.1.16
Package Type RPM
Database Cassandra
Index type Lucene
Attachments storage Local

Problem Description

We created a new 4.1 instance from scratch for testing thehive features.
We have only 4 cases on this instance and the search feature seem bo be doesn't work.

Steps to Reproduce

  1. Create case with the first three paragraphs of "Lorem Ipsum" in descripion
  2. Go to search menu
  3. Try to search a term in the description text. Exemple : "diam et lacinia laoreet"

Complementary information

Case content :

image

Search case :

image

The config file :

 ##  #
 ## Documentation is available at https: //github.com/TheHive-Project/TheHiveDocs/TheHive4
 ##  #

 ## Include Play secret key
 # More information on secret key at https: //www.playframework.com/documentation/2.8.x/ApplicationSecret
include "/etc/thehive/secret.conf"

 ## Database configuration
db.janusgraph {
    storage {
         ## Cassandra configuration
         # More information at https: //docs.janusgraph.org/basics/configuration-reference/#storagecql
        backend: cql
        hostname: ["127.0.0.1"]
         # Cassandra authentication(if configured)
        // username: "thehive"
        // password: "password"
        cql {
            cluster - name: thp
            keyspace: thehive
        }
    }
    index.search {
        backend: lucene
        directory: /data/thehive/index
         # If TheHive is in cluster ElasticSearch must be used:
        // backend: elasticsearch
        // hostname: ["ip1", "ip2"]
        // index-name: thehive
    }

     ## For test only!
     # Comment the two lines below before enable Cassandra database
     # storage.backend: berkeleyje
     # storage.directory: /opt/thp/thehive/database
    // berkeleyje.freeDisk: 200 # disk usage threshold
}

 ## Attachment storage configuration
storage {
     ## Local filesystem
    provider: localfs
    localfs.location: /data/thehive / files
}

Thanks,

Regards,

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

No branches or pull requests

1 participant