Myśle że możesz zacząć od poczytania o beatsach, tutaj masz jeden artykuł z bloga który powinien Ci podpowiedzieć https://www.elastic.co/blog/monitoring-microsoft-sql-server-using-metricbeat-and-elasticsearch Potem polecam popatrzeć na APM https://www.elastic.co/products/apm Mam nadzieje że mniej więcej to rozjaśnia sytuacje i chociaż trochę podpowiada w którym kierunku iść, jak coś to dawaj znać z chęcią pomogę.
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<TrustFrameworkPolicies> | |
<TrustFrameworkPolicy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/online/cpim/schemas/2013/06" PolicySchemaVersion="0.3.0.0" TenantId="portertracdev.onmicrosoft.com" TenantObjectId="b9727324-a384-4afe-8d49-6ce88b8c05fd" PolicyId="B2C_1_SignIn" PublicPolicyUri="http://portertracdev.onmicrosoft.com/"> | |
<BasePolicy> | |
<TenantId>portertracdev.onmicrosoft.com</TenantId> | |
<PolicyId>base-v1</PolicyId> | |
</BasePolicy> | |
<BuildingBlocks> | |
<ClaimsSchema> | |
<ClaimType Id="newPassword"> | |
<DataType>string</DataType> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# Remember, leave a key empty if there is no value. None will be a string, | |
# not a Python "NoneType" | |
# | |
# Also remember that all examples have 'disable_action' set to True. If you | |
# want to use this action as a template, be sure to set this to False after | |
# copying it. | |
actions: | |
1: | |
action: delete_indices |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
elasticsearch: | |
build: | |
context: . | |
dockerfile: elasticsearch | |
args: | |
ELK_VERSION: 6.2.4 |
You can use "I'll install it by myself" way or docker compose, whatever works for you better. Docker compose script is here, manual installation steps are listed below. Please make sure to follow other steps.
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based on http://www.jillesvangurp.com/2015/02/18/elasticsearch-failed-shard-recovery/ | |
# Be carefull, you can lost your data during this process | |
$array = Get-ChildItem "ES_PATH\data\nodes\0" -recurse | Where-Object {$_.PSIsContainer -eq $true -and $_.Name -match "index"} | ForEach-Object -Process {$_.FullName} | |
foreach($element in $array) | |
{ | |
Write-Output $element | |
$command = [string]::Format("java -cp ES_PATH\lib\lucene-core-6.3.0.jar -ea:org.apache.lucene... org.apache.lucene.index.CheckIndex {0} -exorcise",$element) | |
iex $command | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Elasticsearch.Net; | |
using Nest; | |
namespace PercolateQuery | |
{ | |
public static class Program | |
{ | |
static string dateFormat = "dd/MM/yyyy"; |