-
Notifications
You must be signed in to change notification settings - Fork 5k
Change text fields to keyword for Metricbeat #10318
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
Changes from all commits
c5a65ef
e4edad5
f855e19
a19d4ce
d9a7c5d
37d12a4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1587,7 +1587,7 @@ osd node id | |
| *`ceph.osd_df.name`*:: | ||
| + | ||
| -- | ||
| type: text | ||
| type: keyword | ||
|
|
||
| osd node name | ||
|
|
||
|
|
@@ -1682,7 +1682,7 @@ osd or bucket node id | |
| *`ceph.osd_tree.name`*:: | ||
| + | ||
| -- | ||
| type: text | ||
| type: keyword | ||
|
|
||
| osd or bucket node name | ||
|
|
||
|
|
@@ -1712,7 +1712,7 @@ osd or bucket node typeID | |
| *`ceph.osd_tree.children`*:: | ||
| + | ||
| -- | ||
| type: text | ||
| type: keyword | ||
|
|
||
| bucket children list, separated by comma. | ||
|
|
||
|
|
@@ -10779,7 +10779,7 @@ consumer offset into partition being read | |
| *`kafka.consumergroup.meta`*:: | ||
| + | ||
| -- | ||
| type: text | ||
| type: keyword | ||
|
|
||
| custom consumer meta data string | ||
|
|
||
|
|
@@ -11028,7 +11028,7 @@ Kibana instance UUID | |
| *`kibana.stats.name`*:: | ||
| + | ||
| -- | ||
| type: text | ||
| type: keyword | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this needs to be So it could be a string like "Marketing's Fantastic Analytics UI". In that case I can see the benefit of letting ES analyze the string. Thoughts?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If searching for specific words (e.g. "marketing", to follow your example), then we simply need I agree it's really useful in situations where these resources are not always well tagged & so on. But the canonical field --
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That sounds good to me but I have a tangential question: IIRC if the
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Another point: having server.name as keyword will enable users to aggregate per kibana server. It's the reason in ECS, we've decided to push for
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Haha I missed your answer when posting my previous message. The template will have to create the multi-field explicitly for the Going for I'm not sure the exact incantation to make the multi-field in Beats fields.yml.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Gotcha, I understand now. Thanks. I'm good with changing this to |
||
|
|
||
| Kibana instance name | ||
|
|
||
|
|
@@ -14736,7 +14736,7 @@ type: boolean | |
| *`mongodb.metrics.replication.executor.network_interface`*:: | ||
| + | ||
| -- | ||
| type: text | ||
| type: keyword | ||
|
|
||
| -- | ||
|
|
||
|
|
@@ -18967,7 +18967,7 @@ The user (PHP_AUTH_USER) (or - if not set) (for the current request) | |
| *`php_fpm.process.script`*:: | ||
| + | ||
| -- | ||
| type: text | ||
| type: keyword | ||
|
|
||
| The main script called (or - if not set) (for the current request) | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,26 +1,32 @@ | ||
| { | ||
| "@timestamp": "2017-10-12T08:05:34.853Z", | ||
| "beat": { | ||
| "agent": { | ||
| "hostname": "host.example.com", | ||
| "name": "host.example.com" | ||
| }, | ||
| "ceph": { | ||
| "cluster_disk": { | ||
| "available": { | ||
| "bytes": 50847313920 | ||
| "bytes": 0 | ||
| }, | ||
| "total": { | ||
| "bytes": 67371577344 | ||
| "bytes": 0 | ||
| }, | ||
| "used": { | ||
| "bytes": 13071564800 | ||
| "bytes": 0 | ||
| } | ||
| } | ||
| }, | ||
| "event": { | ||
| "dataset": "ceph.cluster_disk", | ||
| "duration": 115000, | ||
| "module": "ceph" | ||
| }, | ||
| "metricset": { | ||
| "host": "ceph:5000", | ||
| "module": "ceph", | ||
| "name": "cluster_disk", | ||
| "rtt": 115 | ||
| "name": "cluster_disk" | ||
| }, | ||
| "service": { | ||
| "address": "127.0.0.1:5000", | ||
| "type": "ceph" | ||
| } | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,25 +1,30 @@ | ||
| { | ||
| "@timestamp": "2017-10-12T08:05:34.853Z", | ||
| "beat": { | ||
| "agent": { | ||
| "hostname": "host.example.com", | ||
| "name": "host.example.com" | ||
| }, | ||
| "ceph": { | ||
| "osd_df": { | ||
| "available.byte": 49655580, | ||
| "available.byte": 0, | ||
| "device_class": "", | ||
| "id": 0, | ||
| "name": "osd.0", | ||
| "pg_num": 120, | ||
| "total.byte": 65792556, | ||
| "used.byte": 12765200, | ||
| "used.pct": 0.1940219498388237 | ||
| "pg_num": 0, | ||
| "total.byte": 0, | ||
| "used.byte": 0 | ||
| } | ||
| }, | ||
| "event": { | ||
| "dataset": "ceph.osd_df", | ||
| "duration": 115000, | ||
| "module": "ceph" | ||
| }, | ||
| "metricset": { | ||
| "host": "ceph:5000", | ||
| "module": "ceph", | ||
| "name": "osd_df", | ||
| "rtt": 115 | ||
| "name": "osd_df" | ||
| }, | ||
| "service": { | ||
| "address": "127.0.0.1:5000", | ||
| "type": "ceph" | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,23 +1,31 @@ | ||
| { | ||
| "@timestamp": "2017-10-12T08:05:34.853Z", | ||
| "beat": { | ||
| "agent": { | ||
| "hostname": "host.example.com", | ||
| "name": "host.example.com" | ||
| }, | ||
| "ceph": { | ||
| "osd_tree": { | ||
| "children": "-2", | ||
| "children": [ | ||
| "-2" | ||
| ], | ||
| "father": "", | ||
| "id": -1, | ||
| "name": "default", | ||
| "type": "root", | ||
| "type_id": 10 | ||
| } | ||
| }, | ||
| "event": { | ||
| "dataset": "ceph.osd_tree", | ||
| "duration": 115000, | ||
| "module": "ceph" | ||
| }, | ||
| "metricset": { | ||
| "host": "ceph:5000", | ||
| "module": "ceph", | ||
| "name": "osd_tree", | ||
| "rtt": 115 | ||
| "name": "osd_tree" | ||
| }, | ||
| "service": { | ||
| "address": "127.0.0.1:5000", | ||
| "type": "ceph" | ||
| } | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.