Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/Elastic.Extensions.Logging.Example/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public static IHostBuilder CreateHostBuilder(string[] args)

public static async Task Main(string[] args)
{
using var cluster = new EphemeralCluster("8.4.0");
using var cluster = new EphemeralCluster("9.0.0");
var client = CreateClient(cluster);
if (!(await client.RootNodeInfoAsync()).IsValid)
cluster.Start(TimeSpan.FromMinutes(1));
Expand Down
2 changes: 1 addition & 1 deletion examples/Elastic.Serilog.Sinks.Example/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
Elastic.Apm.Agent.Setup(new AgentComponents());

// -- Start an Elasticsearch Instance --
using var cluster = new EphemeralCluster("8.4.0");
using var cluster = new EphemeralCluster("9.0.0");
var client = CreateClient(cluster);
//check if an instance is already running before starting
if (!(await client.InfoAsync()).IsValidResponse)
Expand Down
2 changes: 1 addition & 1 deletion examples/aspnetcore-with-extensions-logging/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Elastic.Elasticsearch.Ephemeral;
using Elastic.Extensions.Logging;

using var cluster = new EphemeralCluster("8.4.0");
using var cluster = new EphemeralCluster("9.0.0");
var client = CreateClient(cluster);
//check if an instance is already running before starting
if (!(await client.InfoAsync()).IsValidResponse)
Expand Down
2 changes: 1 addition & 1 deletion examples/aspnetcore-with-serilog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ On run, the console will show various events written in ECS format, an example g
"ip": "::1"
},
"ecs": {
"version": "8.3.1"
"version": "9.0.0"
},
"event": {
"severity": 2,
Expand Down
2 changes: 1 addition & 1 deletion examples/playground/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
var parallelOpts = new ParallelOptions { MaxDegreeOfParallelism = Environment.ProcessorCount, CancellationToken = ctxs.Token };
const int numDocs = 1_000_000;
var bufferOptions = new BufferOptions { };
var config = new EphemeralClusterConfiguration("8.13.0");
var config = new EphemeralClusterConfiguration("9.0.0");
using var cluster = new EphemeralCluster(config);
using var channel = SetupElasticsearchChannel();

Expand Down
2 changes: 1 addition & 1 deletion src/Elastic.CommonSchema.Log4net/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Sample log event output (formatted for readability):
"@timestamp": "2022-08-28T14:06:28.5121651+02:00",
"log.level": "INFO",
"message": "Hi! Welcome to example!",
"ecs.version": "8.6.0",
"ecs.version": "9.0.0",
"log": {
"logger": "Elastic.CommonSchema.Log4net.Example.Program",
"original": null,
Expand Down
2 changes: 1 addition & 1 deletion src/Elastic.CommonSchema.NLog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ An example of the output is given below:
"@timestamp": "2020-02-20T16:07:06.7109766+11:00",
"log.level": "Info",
"message": "Info \"X\" 2.2",
"ecs.version": "8.6.0",
"ecs.version": "9.0.0",
"log": {
"logger": "Elastic.CommonSchema.NLog.Tests.LogTestsBase"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Elastic.CommonSchema.Serilog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ An example of the output is given below:
"@timestamp": "2019-11-22T14:59:02.5903135+11:00",
"log.level": "Information",
"message": "Info \"X\" 2.2",
"ecs.version": "8.6.0",
"ecs.version": "9.0.0",
"log": { "logger": "Elastic.CommonSchema.Serilog.Tests.MessageTests" },
"labels": {
"MessageTemplate": "Info {ValueX} {SomeY}",
Expand Down
6 changes: 6 additions & 0 deletions src/Elastic.CommonSchema/AssignableInterfaces.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,12 @@ public interface IProcessPrevious {
public ProcessPrevious[]? Previous { get; set; }
}

///<summary> Interface for entities that can assign an IProcessResponsible: Process</summary>
public interface IProcessResponsible {
///<summary>responsible</summary>
public ProcessResponsible? Responsible { get; set; }
}

///<summary> Interface for entities that can assign an IServiceOrigin: Service</summary>
public interface IServiceOrigin {
///<summary>origin</summary>
Expand Down
8 changes: 6 additions & 2 deletions src/Elastic.CommonSchema/EcsDocument.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ public partial class EcsDocument : BaseFieldSet , IAs, ICodeSignature, IElf, IGe
{

/// <summary>
/// Elastic Common Schema version 8.11.0
/// Elastic Common Schema version 9.0.0
/// </summary>
public static string Version => "8.11.0";
public static string Version => "9.0.0";

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

///<summary>volume</summary>
[JsonPropertyName("volume"), DataMember(Name = "volume")]
public Volume? Volume { get; set; }

///<summary>vulnerability</summary>
[JsonPropertyName("vulnerability"), DataMember(Name = "vulnerability")]
public Vulnerability? Vulnerability { get; set; }
Expand Down
17 changes: 16 additions & 1 deletion src/Elastic.CommonSchema/Entities.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ public class ProcessSessionLeaderParentSessionLeader : ProcessFieldSet {
public class ProcessPrevious : ProcessFieldSet {
}

///<inheritdoc cref="ProcessFieldSet"/>
public class ProcessResponsible : ProcessFieldSet {
}

///<inheritdoc cref="ServiceFieldSet"/>
public class ServiceOrigin : ServiceFieldSet {
}
Expand Down Expand Up @@ -420,7 +424,7 @@ public class Pe : PeFieldSet {
}

///<inheritdoc cref="ProcessFieldSet"/>
public class Process : ProcessFieldSet , IUser, IHash, IPe, ICodeSignature, IElf, IMacho, IGroup, IRealGroup, ISavedGroup, ISupplementalGroups, IAttestedGroups, IEntryMetaSource, ISavedUser, IRealUser, IAttestedUser, IProcessParent, IProcessEntryLeader, IProcessSessionLeader, IProcessGroupLeader, IProcessPrevious {
public class Process : ProcessFieldSet , IUser, IHash, IPe, ICodeSignature, IElf, IMacho, IGroup, IRealGroup, ISavedGroup, ISupplementalGroups, IAttestedGroups, IEntryMetaSource, ISavedUser, IRealUser, IAttestedUser, IProcessParent, IProcessEntryLeader, IProcessSessionLeader, IProcessGroupLeader, IProcessPrevious, IProcessResponsible {

///<summary>
/// <para><c>process.group</c></para>
Expand Down Expand Up @@ -561,6 +565,13 @@ public class Process : ProcessFieldSet , IUser, IHash, IPe, ICodeSignature, IElf
///</summary>
[JsonPropertyName("previous"), DataMember(Name = "previous")]
public ProcessPrevious[]? Previous { get; set; }

///<summary>
/// <para><c>process.responsible</c></para>
/// <example></example>
///</summary>
[JsonPropertyName("responsible"), DataMember(Name = "responsible")]
public ProcessResponsible? Responsible { get; set; }
}

///<inheritdoc cref="RegistryFieldSet"/>
Expand Down Expand Up @@ -769,6 +780,10 @@ public class UserAgent : UserAgentFieldSet , IOs {
public class Vlan : VlanFieldSet {
}

///<inheritdoc cref="VolumeFieldSet"/>
public class Volume : VolumeFieldSet {
}

///<inheritdoc cref="VulnerabilityFieldSet"/>
public class Vulnerability : VulnerabilityFieldSet {
}
Expand Down
Loading
Loading