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

Dashboard visualizations do not work with custom fields #478

Closed
cshanahan opened this issue Feb 12, 2018 · 3 comments
Closed

Dashboard visualizations do not work with custom fields #478

cshanahan opened this issue Feb 12, 2018 · 3 comments
Assignees
Milestone

Comments

@cshanahan
Copy link

Request Type

Bug

Work Environment

Question Answer
OS version (server) Debian
OS version (client) Any
TheHive version 3.0.5
Package Type DEB
Browser type & version N/A

Problem Description

Dashboard visualizations which use a time axis seem to fail with custom fields. Visualizations work as expects with default "date" fields, such as "createdAt."

By way of example, I created a custom field called Alert Date. I added a number of new cases which used the Alert Date, then I created a visualization to represent severity over time using my custom field:

  • Entity="Case"
  • Date Field="customFields.AlertDate.date"
  • Interval="By day"
  • Category Field="Severity"

image

The visualization shows zero results.

image

Whereas Entity="Case", Date Field="createdAt", Interval="By day", Category Field="Severity" shows results as expected.

image

Steps to Reproduce

  1. Create a custom field which uses type "date" (e.g., Alert Date)
  2. Create one or more cases using the new custom field, Alert Date
  3. Create a Dashboard visualization which displays cases over time using the custom field (Alert Date) as the time axis --> the visualization is blank
@cshanahan
Copy link
Author

Any chance this could be addressed for 3.1.0?
If this bug-fix is scheduled for a later release, so be it. Just wanted to bump it up if possible.

Awesome product / application.

@nadouani
Copy link
Contributor

Hello, we will include this issue into 3.1.0

@nadouani nadouani added this to the 3.1.0-RC2 milestone Aug 27, 2018
@nadouani nadouani removed their assignment Aug 27, 2018
@nadouani
Copy link
Contributor

This has been fixed in elastic4play framework (TheHive-Project/elastic4play#66)

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

3 participants