-
Notifications
You must be signed in to change notification settings - Fork 25
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 parsing event details cpu_percentage
#78
Labels
bug
Something isn't working
Comments
ghost
self-assigned this
May 4, 2020
ghost
pushed a commit
that referenced
this issue
May 4, 2020
The `cpu_percentage` field inside the `entity_map` is a `float32` not `int32`, this commit is fixing the following error: ``` ERROR unable to get event details: json: cannot unmarshal number 0.02 into Go struct field eventProcessEntity.data.entity_map.process.cpu_percentage of type int32 ``` Closes #78 Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
ghost
mentioned this issue
May 4, 2020
ghost
pushed a commit
that referenced
this issue
May 4, 2020
The `cpu_percentage` field inside the `entity_map` is a `float32` not `int32`, this commit is fixing the following error: ``` ERROR unable to get event details: json: cannot unmarshal number 0.02 into Go struct field eventProcessEntity.data.entity_map.process.cpu_percentage of type int32 ``` Closes #78 Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
@afiunelw I am testing this branch out with the event Brian mentioned and I am still getting an error...
|
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
cpu_percentage
field inside theentity_map
looks like afloat32
instead of an
int32
, the error shown on some events is:The text was updated successfully, but these errors were encountered: