KiBoards.Management
0.2.2
See the version list below for details.
dotnet add package KiBoards.Management --version 0.2.2
NuGet\Install-Package KiBoards.Management -Version 0.2.2
<PackageReference Include="KiBoards.Management" Version="0.2.2" />
<PackageVersion Include="KiBoards.Management" Version="0.2.2" />
<PackageReference Include="KiBoards.Management" />
paket add KiBoards.Management --version 0.2.2
#r "nuget: KiBoards.Management, 0.2.2"
#:package KiBoards.Management@0.2.2
#addin nuget:?package=KiBoards.Management&version=0.2.2
#tool nuget:?package=KiBoards.Management&version=0.2.2
KiBoards.Management
A library for managing Kibana settings and saved objects.
Quick Start
Add the Kibana saved objects file into your project and set it to be copied to the output.
<ItemGroup>
<None Update="Test.ndjson">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
Create a hosted service for the Kibana client that waits for Kibana and imports saved objects from the file.
public class KibanaClientHostedService : BackgroundService
{
private readonly KibanaHttpClient _kibanaClient;
private readonly ILogger<KibanaClientHostedService> _logger;
public KibanaClientHostedService(KibanaHttpClient kibanaClient, ILogger<KibanaClientHostedService> logger)
{
_kibanaClient = kibanaClient;
_logger = logger;
}
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
{
while (true)
{
try
{
var status = await _kibanaClient.GetStatus(stoppingToken);
_logger.LogInformation($"Kibana {status.Version.Number} status is {status.Status.Overall.Level}: {status.Status.Overall.Summary}");
if (string.Equals(status.Status.Overall.Level, "available", StringComparison.OrdinalIgnoreCase))
break;
}
catch (Exception ex)
{
_logger.LogWarning($"Get kibana status failed. {ex.Message}");
}
await Task.Delay(TimeSpan.FromSeconds(5), stoppingToken);
}
try
{
_logger.LogInformation("Importing saved objects");
await _kibanaClient.ImportSavedObjectsAsync("Test.ndjson", stoppingToken);
_logger.LogInformation("Saved objects imported successfully");
}
catch (Exception ex)
{
_logger.LogError($"Saved objects import failed. {ex.Message}");
}
}
}
Add the Kibana HTTP client and hosted service to the service collection.
builder.Services.AddHttpClient<KibanaHttpClient>(client => client.BaseAddress = new Uri("http://localhost:5601"));
builder.Services.AddHostedService<KibanaClientHostedService>();
Created from JandaBox Box icon created by Freepik - Flaticon
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
- System.Net.Http.Json (>= 8.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on KiBoards.Management:
Package | Downloads |
---|---|
KiBoards
KiBoards offers the capability to visualise test cases and test run results in Kibana. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
0.2.5 | 349 | 5/24/2025 |
0.2.4 | 90 | 5/24/2025 |
0.2.4-main.1 | 49 | 5/24/2025 |
0.2.4-kiboards-management.11 | 121 | 5/22/2025 |
0.2.4-kiboards-management.7 | 121 | 5/18/2025 |
0.2.3 | 173 | 5/5/2025 |
0.2.2 | 111 | 5/4/2025 |
0.2.1 | 111 | 5/4/2025 |
0.2.0 | 192 | 4/13/2025 |
0.1.0 | 199 | 5/24/2024 |