Skip to content

Commit

Permalink
Upgrade to package spec 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-gr committed Oct 16, 2023
1 parent 4583d61 commit ff767db
Show file tree
Hide file tree
Showing 21 changed files with 57 additions and 47 deletions.
5 changes: 5 additions & 0 deletions packages/system/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.44.0"
changes:
- description: Upgrade to package spec 3.0.0.
type: enhancement
link: https://github.com/elastic/integrations/pull/8206
- version: "1.43.0"
changes:
- description: Remove all remaining legacy visualizations.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
fields:
event.timezone: "+0000"
event:
timezone: "+0000"
dynamic_fields:
event.ingested: "^.*$"
event:
ingested: "^.*$"
"@timestamp": "^[0-9]{4}(-[0-9]{2}){2}T[0-9]{2}(:[0-9]{2}){2}\\.[0-9]{3}Z$"
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
fields:
event.timezone: "+0000"
event:
timezone: "+0000"
dynamic_fields:
event.ingested: "^.*$"
event:
ingested: "^.*$"
"@timestamp": "^[0-9]{4}(-[0-9]{2}){2}T[0-9]{2}(:[0-9]{2}){2}\\.[0-9]{3}Z$"
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
dynamic_fields:
"@timestamp": "^[0-9]{4}(-[0-9]{2}){2}T[0-9]{2}(:[0-9]{2}){2}\\.[0-9]{3}"
fields:
event.timezone: "+0000"
event:
timezone: "+0000"
multiline:
# Pattern to match what is configured in log.yml.hbs.
first_line_pattern: '^[^\s]'
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
fields:
event.timezone: "+0000"
event:
timezone: "+0000"
dynamic_fields:
event.ingested: "^.*$"
event:
ingested: "^.*$"
"@timestamp": "^[0-9]{4}(-[0-9]{2}){2}T[0-9]{2}(:[0-9]{2}){2}\\.[0-9]{3}Z$"
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
fields:
event.timezone: "+0000"
event:
timezone: "+0000"
dynamic_fields:
event.ingested: ".*"
event:
ingested: ".*"
2 changes: 1 addition & 1 deletion packages/system/data_stream/process/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
The full command-line used to start the process, including the arguments separated by space.
ignore_above: 2048
- name: env
type: object
type: flattened
description: |
The environment variables used to start the process. The data is available on FreeBSD, Linux, and OS X.
- name: cpu
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
dynamic_fields:
event.ingested: ".*"
event:
ingested: ".*"
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ dynamic_fields:
multiline:
first_line_pattern: "^\\w+ \\d+ "
fields:
event.kind: "event"
event.timezone: "GMT-0200"
event:
kind: "event"
timezone: "GMT-0200"
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ dynamic_fields:
multiline:
first_line_pattern: "^Dec 13 "
fields:
event.timezone: "GMT-0200"
event:
timezone: "GMT-0200"
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
fields:
event.timezone: "GMT-0200"
event:
timezone: "GMT-0200"
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
fields:
event.kind: "event"
event.timezone: "GMT-0200"
event:
kind: "event"
timezone: "GMT-0200"
2 changes: 1 addition & 1 deletion packages/system/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1969,7 +1969,7 @@ If running as less privileged user, it may not be able to read process data belo
| system.process.cpu.total.ticks | The total CPU time spent by the process. | long | | counter |
| system.process.cpu.total.value | The value of CPU usage since starting the process. | long | | counter |
| system.process.cpu.user.ticks | The amount of CPU time the process spent in user space. | long | | counter |
| system.process.env | The environment variables used to start the process. The data is available on FreeBSD, Linux, and OS X. | object | | |
| system.process.env | The environment variables used to start the process. The data is available on FreeBSD, Linux, and OS X. | flattened | | |
| system.process.fd.limit.hard | The hard limit on the number of file descriptors opened by the process. The hard limit can only be raised by root. | long | | gauge |
| system.process.fd.limit.soft | The soft limit on the number of file descriptors opened by the process. The soft limit can be changed by the process at any time. | long | | gauge |
| system.process.fd.open | The number of file descriptors open by the process. | long | | gauge |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@
"id": "logs-*",
"name": "kibanaSavedObjectMeta.searchSourceJSON.index",
"type": "index-pattern"
},
{
"id": "system-fleet-pkg-system-default",
"name": "tag-ref-fleet-pkg-system-default",
"type": "tag"
}
],
"type": "search"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@
"id": "logs-*",
"name": "kibanaSavedObjectMeta.searchSourceJSON.index",
"type": "index-pattern"
},
{
"id": "system-fleet-pkg-system-default",
"name": "tag-ref-fleet-pkg-system-default",
"type": "tag"
}
],
"type": "search"
Expand Down
5 changes: 0 additions & 5 deletions packages/system/kibana/search/system-Syslog-system-logs.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@
"id": "logs-*",
"name": "kibanaSavedObjectMeta.searchSourceJSON.index",
"type": "index-pattern"
},
{
"id": "system-fleet-pkg-system-default",
"name": "tag-ref-fleet-pkg-system-default",
"type": "tag"
}
],
"type": "search"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@
"id": "logs-*",
"name": "kibanaSavedObjectMeta.searchSourceJSON.index",
"type": "index-pattern"
},
{
"id": "system-fleet-pkg-system-default",
"name": "tag-ref-fleet-pkg-system-default",
"type": "tag"
}
],
"type": "search"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@
"id": "logs-*",
"name": "kibanaSavedObjectMeta.searchSourceJSON.index",
"type": "index-pattern"
},
{
"id": "system-fleet-pkg-system-default",
"name": "tag-ref-fleet-pkg-system-default",
"type": "tag"
}
],
"type": "search"
Expand Down
13 changes: 13 additions & 0 deletions packages/system/kibana/tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- text: Security Solution
asset_types:
- search
asset_ids:
- system-0d3f2380-fa78-11e6-ae9b-81e5311e8cab
- system-71f720f0-ff18-11e9-8405-516218e3d268
- system-5517a150-f9ce-11e6-8115-a7c18106d86a
- system-277876d0-fa2c-11e6-bbd3-29c986c96e5a
- system-bae11b00-9bfc-11ea-87e4-49f31ec44891
- system-bb858830-f412-11e9-8405-516218e3d268
- system-d401ef40-a7d5-11e9-a422-d144027429da
- system-Windows-Dashboard
- system-Logs-syslog-dashboard
7 changes: 3 additions & 4 deletions packages/system/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
format_version: 1.0.0
format_version: 3.0.0
name: system
title: System
version: 1.43.0
license: basic
version: 1.44.0
description: Collect system logs and metrics from your servers with Elastic Agent.
type: integration
categories:
- os_system
release: ga
conditions:
kibana:
version: '^8.10.2'
Expand Down Expand Up @@ -123,3 +121,4 @@ policy_templates:
# -----END CERTIFICATE-----
owner:
github: elastic/obs-infraobs-integrations
type: elastic
4 changes: 4 additions & 0 deletions packages/system/validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
errors:
exclude_checks:
- SVR00002 # expected filter in dashboard.
- SVR00004 # references found in dashboard.

0 comments on commit ff767db

Please sign in to comment.