Elastic.Ingest.Elasticsearch
0.2.0
Prefix Reserved
See the version list below for details.
dotnet add package Elastic.Ingest.Elasticsearch --version 0.2.0
NuGet\Install-Package Elastic.Ingest.Elasticsearch -Version 0.2.0
<PackageReference Include="Elastic.Ingest.Elasticsearch" Version="0.2.0" />
<PackageVersion Include="Elastic.Ingest.Elasticsearch" Version="0.2.0" />
<PackageReference Include="Elastic.Ingest.Elasticsearch" />
paket add Elastic.Ingest.Elasticsearch --version 0.2.0
#r "nuget: Elastic.Ingest.Elasticsearch, 0.2.0"
#:package Elastic.Ingest.Elasticsearch@0.2.0
#addin nuget:?package=Elastic.Ingest.Elasticsearch&version=0.2.0
#tool nuget:?package=Elastic.Ingest.Elasticsearch&version=0.2.0
Elastic.Ingest.Elasticsearch
Elastic.Channels implementations of BufferedChannelBase that allows data to pushed to either indices or data streams
DataStreamChannel<TEvent>
A channel that specializes to writing data with a timestamp to Elasticsearch data streams. E.g given the following document.
public class TimeSeriesDocument
{
[JsonPropertyName("@timestamp")]
public DateTimeOffset Timestamp { get; set; }
[JsonPropertyName("message")]
public string Message { get; set; }
}
A channel can be created to push data to the logs-dotnet-default data stream.
var dataStream = new DataStreamName("logs", "dotnet");
var bufferOptions = new BufferOptions { }
var options = new DataStreamChannelOptions<TimeSeriesDocument>(transport)
{
DataStream = dataStream,
BufferOptions = bufferOptions
};
var channel = new DataStreamChannel<TimeSeriesDocument>(options);
NOTE: read more about Elastic's data stream naming convention here: https://www.elastic.co/blog/an-introduction-to-the-elastic-data-stream-naming-scheme
we can now push data to Elasticsearch using the DataStreamChannel
var doc = new TimeSeriesDocument
{
Timestamp = DateTimeOffset.Now,
Message = "Hello World!",
}
channel.TryWrite(doc);
IndexChannel<TEvent>
A channel that specializes in writing catalog data to Elastic indices. Catalog data is typically data that has an id of sorts.
Given the following minimal document
public class CatalogDocument
{
[JsonPropertyName("id")]
public string Id { get; set; }
[JsonPropertyName("title")]
public string Title { get; set; }
[JsonPropertyName("created")]
public DateTimeOffset Created { get; set; }
}
We can create an IndexChannel<> to push CatalogDocument instances.
var options = new IndexChannelOptions<CatalogDocument>(transport)
{
IndexFormat = "catalog-data-{0:yyyy.MM.dd}",
BulkOperationIdLookup = c => c.Id,
TimestampLookup = c => c.Created,
};
var channel = new IndexChannel<CatalogDocument>(options);
now we can push data using:
var doc = new CatalogDocument
{
Created = date,
Title = "Hello World!",
Id = "hello-world"
}
channel.TryWrite(doc);
This will push data to catalog-data-2023.01.1 because TimestampLookup yields Created to IndexFormat.
IndexFormat can also simply be a fixed string to write to an Elasticsearch alias/index.
BulkOperationIdLookup determines if the document should be pushed to Elasticsearch using a create or index operation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Elastic.Ingest.Transport (>= 0.2.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Elastic.Ingest.Elasticsearch:
| Package | Downloads |
|---|---|
|
Elastic.Ingest.Elasticsearch.CommonSchema
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.17.1 | 129 | 11/13/2025 |
| 0.17.0 | 112 | 11/13/2025 |
| 0.16.3 | 5,322 | 10/21/2025 |
| 0.16.2 | 172 | 10/21/2025 |
| 0.16.1 | 182 | 10/21/2025 |
| 0.16.0 | 522 | 10/20/2025 |
| 0.15.1 | 787 | 10/14/2025 |
| 0.15.0 | 201 | 10/13/2025 |
| 0.14.0 | 308,094 | 8/12/2025 |
| 0.13.2 | 432 | 8/9/2025 |
| 0.13.1 | 276 | 8/8/2025 |
| 0.13.0 | 291 | 8/8/2025 |
| 0.12.3 | 449 | 8/5/2025 |
| 0.12.2 | 288 | 8/5/2025 |
| 0.12.1 | 4,316 | 6/27/2025 |
| 0.12.0 | 198 | 6/27/2025 |
| 0.11.3 | 286,288 | 5/29/2025 |
| 0.11.2 | 415 | 5/28/2025 |
| 0.11.1 | 290 | 5/27/2025 |
| 0.11.0 | 284 | 5/27/2025 |
| 0.10.0 | 235,962 | 5/22/2025 |
| 0.9.0 | 475 | 5/20/2025 |
| 0.8.0 | 19,274 | 2/12/2025 |
| 0.7.5 | 1,489,523 | 11/25/2024 |
| 0.7.4 | 214 | 11/25/2024 |
| 0.7.3 | 13,400 | 10/3/2024 |
| 0.7.2 | 596,757 | 9/18/2024 |
| 0.7.1 | 378 | 9/16/2024 |
| 0.7.0 | 1,201,911 | 4/10/2024 |
| 0.6.0 | 337 | 3/28/2024 |
| 0.5.7 | 33,430 | 2/13/2024 |
| 0.5.6 | 691 | 1/22/2024 |
| 0.5.5 | 861,692 | 7/12/2023 |
| 0.5.4 | 287 | 7/10/2023 |
| 0.5.3 | 327 | 7/5/2023 |
| 0.5.2 | 341 | 6/22/2023 |
| 0.5.1 | 326 | 5/4/2023 |
| 0.5.0 | 138,963 | 4/28/2023 |
| 0.4.3 | 347 | 4/17/2023 |
| 0.4.2 | 517 | 4/5/2023 |
| 0.4.1 | 320 | 4/5/2023 |
| 0.4.0 | 341 | 4/5/2023 |
| 0.3.2 | 26,331 | 2/27/2023 |
| 0.3.1 | 914 | 2/20/2023 |
| 0.3.0 | 450 | 2/16/2023 |
| 0.2.2 | 653 | 1/31/2023 |
| 0.2.1 | 443 | 1/31/2023 |
| 0.2.0 | 458 | 1/31/2023 |
| 0.1.0 | 666 | 1/25/2023 |