Skip to content

Commit 8bceb42

Browse files
authored
Update default download branch to v9.0.0 (#504)
Changed the default branch for downloads from v8.11.0 to v9.0.0 in the generator tool. This ensures compatibility with the latest version and aligns with current updates. This regenerates everything based of the ECS 9.0.0 specification.
1 parent 6714bfe commit 8bceb42

File tree

69 files changed

+67635
-333
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+67635
-333
lines changed

examples/Elastic.Extensions.Logging.Example/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public static IHostBuilder CreateHostBuilder(string[] args)
5959

6060
public static async Task Main(string[] args)
6161
{
62-
using var cluster = new EphemeralCluster("8.4.0");
62+
using var cluster = new EphemeralCluster("9.0.0");
6363
var client = CreateClient(cluster);
6464
if (!(await client.RootNodeInfoAsync()).IsValid)
6565
cluster.Start(TimeSpan.FromMinutes(1));

examples/Elastic.Serilog.Sinks.Example/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Elastic.Apm.Agent.Setup(new AgentComponents());
2323

2424
// -- Start an Elasticsearch Instance --
25-
using var cluster = new EphemeralCluster("8.4.0");
25+
using var cluster = new EphemeralCluster("9.0.0");
2626
var client = CreateClient(cluster);
2727
//check if an instance is already running before starting
2828
if (!(await client.InfoAsync()).IsValidResponse)

examples/aspnetcore-with-extensions-logging/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using Elastic.Elasticsearch.Ephemeral;
55
using Elastic.Extensions.Logging;
66

7-
using var cluster = new EphemeralCluster("8.4.0");
7+
using var cluster = new EphemeralCluster("9.0.0");
88
var client = CreateClient(cluster);
99
//check if an instance is already running before starting
1010
if (!(await client.InfoAsync()).IsValidResponse)

examples/aspnetcore-with-serilog/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ On run, the console will show various events written in ECS format, an example g
7272
"ip": "::1"
7373
},
7474
"ecs": {
75-
"version": "8.3.1"
75+
"version": "9.0.0"
7676
},
7777
"event": {
7878
"severity": 2,

examples/playground/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
var parallelOpts = new ParallelOptions { MaxDegreeOfParallelism = Environment.ProcessorCount, CancellationToken = ctxs.Token };
1818
const int numDocs = 1_000_000;
1919
var bufferOptions = new BufferOptions { };
20-
var config = new EphemeralClusterConfiguration("8.13.0");
20+
var config = new EphemeralClusterConfiguration("9.0.0");
2121
using var cluster = new EphemeralCluster(config);
2222
using var channel = SetupElasticsearchChannel();
2323

src/Elastic.CommonSchema.Log4net/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Sample log event output (formatted for readability):
6868
"@timestamp": "2022-08-28T14:06:28.5121651+02:00",
6969
"log.level": "INFO",
7070
"message": "Hi! Welcome to example!",
71-
"ecs.version": "8.6.0",
71+
"ecs.version": "9.0.0",
7272
"log": {
7373
"logger": "Elastic.CommonSchema.Log4net.Example.Program",
7474
"original": null,

src/Elastic.CommonSchema.NLog/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ An example of the output is given below:
125125
"@timestamp": "2020-02-20T16:07:06.7109766+11:00",
126126
"log.level": "Info",
127127
"message": "Info \"X\" 2.2",
128-
"ecs.version": "8.6.0",
128+
"ecs.version": "9.0.0",
129129
"log": {
130130
"logger": "Elastic.CommonSchema.NLog.Tests.LogTestsBase"
131131
},

src/Elastic.CommonSchema.Serilog/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ An example of the output is given below:
4040
"@timestamp": "2019-11-22T14:59:02.5903135+11:00",
4141
"log.level": "Information",
4242
"message": "Info \"X\" 2.2",
43-
"ecs.version": "8.6.0",
43+
"ecs.version": "9.0.0",
4444
"log": { "logger": "Elastic.CommonSchema.Serilog.Tests.MessageTests" },
4545
"labels": {
4646
"MessageTemplate": "Info {ValueX} {SomeY}",

src/Elastic.CommonSchema/AssignableInterfaces.Generated.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,12 @@ public interface IProcessPrevious {
191191
public ProcessPrevious[]? Previous { get; set; }
192192
}
193193

194+
///<summary> Interface for entities that can assign an IProcessResponsible: Process</summary>
195+
public interface IProcessResponsible {
196+
///<summary>responsible</summary>
197+
public ProcessResponsible? Responsible { get; set; }
198+
}
199+
194200
///<summary> Interface for entities that can assign an IServiceOrigin: Service</summary>
195201
public interface IServiceOrigin {
196202
///<summary>origin</summary>

src/Elastic.CommonSchema/EcsDocument.Generated.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ public partial class EcsDocument : BaseFieldSet , IAs, ICodeSignature, IElf, IGe
2828
{
2929

3030
/// <summary>
31-
/// Elastic Common Schema version 8.11.0
31+
/// Elastic Common Schema version 9.0.0
3232
/// </summary>
33-
public static string Version => "8.11.0";
33+
public static string Version => "9.0.0";
3434

3535
/// <summary>
3636
/// Container for additional metadata against this event.
@@ -232,6 +232,10 @@ public partial class EcsDocument : BaseFieldSet , IAs, ICodeSignature, IElf, IGe
232232
[JsonPropertyName("vlan"), DataMember(Name = "vlan")]
233233
public Vlan? Vlan { get; set; }
234234

235+
///<summary>volume</summary>
236+
[JsonPropertyName("volume"), DataMember(Name = "volume")]
237+
public Volume? Volume { get; set; }
238+
235239
///<summary>vulnerability</summary>
236240
[JsonPropertyName("vulnerability"), DataMember(Name = "vulnerability")]
237241
public Vulnerability? Vulnerability { get; set; }

0 commit comments

Comments
 (0)