-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Include ip and boolean type when generating index pattern #10995
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. I just thought is was a quirk of Kibana where data needed to be indexed first.
Tests need updating, just adjusting the expected value to include IP: https://beats-ci.elastic.co/job/elastic+beats+pull-request+multijob-linux/5477/beat=libbeat,label=linux-immutable/console But thanks for looking into this, I also thought this was a quirk :-) |
On closer inspection, I noticed the I checked Metricbeat as well and some fields there are still missing their type. At least one cause is when |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks, this is a great find :-)
9f04f61
to
35698a0
Compare
35698a0
to
fb2f1bb
Compare
) A number of fields in our `fields.yml` files now are `type: ip` (e.g. `source.ip`) and `type: boolean`, but the code generating index patterns does not know about these types yet and so does not add a `type` to the index pattern for those fields at all. This leads to errors in Kibana when looking at dashboards that contain references to those fields. (cherry picked from commit e98026e)
) A number of fields in our `fields.yml` files now are `type: ip` (e.g. `source.ip`) and `type: boolean`, but the code generating index patterns does not know about these types yet and so does not add a `type` to the index pattern for those fields at all. This leads to errors in Kibana when looking at dashboards that contain references to those fields. (cherry picked from commit e98026e)
) A number of fields in our `fields.yml` files now are `type: ip` (e.g. `source.ip`) and `type: boolean`, but the code generating index patterns does not know about these types yet and so does not add a `type` to the index pattern for those fields at all. This leads to errors in Kibana when looking at dashboards that contain references to those fields. (cherry picked from commit e98026e)
…g index pattern (#11089) Cherry-pick of PR #10995 to 7.x branch. Original message: A number of fields in our `fields.yml` files now are `type: ip` (e.g. `source.ip`) and `type: boolean`, but the code generating index patterns does not know about these types yet and so does not add a `type` to the index pattern for those fields at all. This leads to errors in Kibana when looking at dashboards that contain references to those fields.
…11090) A number of fields in our `fields.yml` files now are `type: ip` (e.g. `source.ip`) and `type: boolean`, but the code generating index patterns does not know about these types yet and so does not add a `type` to the index pattern for those fields at all. This leads to errors in Kibana when looking at dashboards that contain references to those fields. (cherry picked from commit e98026e)
…g index pattern (#11091) Cherry-pick of PR #10995 to 6.7 branch. Original message: A number of fields in our `fields.yml` files now are `type: ip` (e.g. `source.ip`) and `type: boolean`, but the code generating index patterns does not know about these types yet and so does not add a `type` to the index pattern for those fields at all. This leads to errors in Kibana when looking at dashboards that contain references to those fields.
A number of fields in our
fields.yml
files now aretype: ip
(e.g.source.ip
) andtype: boolean
, but the code generating index patterns does not know about these types yet and so does not add atype
to the index pattern for those fields at all. This leads to errors in Kibana when looking at dashboards that contain references to those fields.Output of
./auditbeat export index-pattern
:Before:
After: