Updated pointing to ELK external service for testing and demo purposes
This commit is contained in:
parent
0dcc46caf4
commit
905f8552d9
@ -2,9 +2,9 @@ This article contains a brief introduction to centralized structured logging wit
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Wiring eshopOnContainers with ELK
|
## Wiring eshopOnContainers with ELK in Localhost
|
||||||
|
|
||||||
eshopOnContainers is ready for work with ELK, you only need to setup the configuration parameter **LogstashgUrl**, in **Serilog** Section, for achieve this, you can do it modifing this parameter in every appsettings.json in every service, or via Environment Variable **Serilog:LogstashUrl**.
|
eshopOnContainers is ready for work with ELK, you only need to setup the configuration parameter **LogstashUrl**, in **Serilog** Section, for achieve this, you can do it modifing this parameter in every appsettings.json of every service, or via Environment Variable **Serilog:LogstashUrl**.
|
||||||
|
|
||||||
There is another option, a zero-configuration environment for testing the integration launching via ```docker-compose``` command, on the root directory of eshopOnContainers:
|
There is another option, a zero-configuration environment for testing the integration launching via ```docker-compose``` command, on the root directory of eshopOnContainers:
|
||||||
|
|
||||||
@ -28,3 +28,15 @@ You can wait a bit and refresh the page, the first time you enter, you need to c
|
|||||||
With the index pattern configured, you can enter in the discover section and start viewing how the tool is recollecting the logging information.
|
With the index pattern configured, you can enter in the discover section and start viewing how the tool is recollecting the logging information.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
## Configuring ELK on Azure VM
|
||||||
|
Another option is to use a preconfigured virtual machine with Logstash, ElasticSearch and Kibana and point the configuration parameter **LogstashUrl**. For doing this you can address to Microsoft Azure, and start searching a Certified ELK Virtual Machine
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
This options it have a certified preconfigured options (Network, VirtualMachine type, OS, RAM, Disks) for having a good starting point of ELK with good performance.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
When you have configured the main aspects of your virtual machine, you will have a review&create last step like this:
|
||||||
|

|
BIN
img/elk/azure-nsg-inboundportsConfig.png
Normal file
BIN
img/elk/azure-nsg-inboundportsConfig.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
BIN
img/elk/bitnami_splash.png
Normal file
BIN
img/elk/bitnami_splash.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
BIN
img/elk/create-vm-elk-azure-last-step.png
Normal file
BIN
img/elk/create-vm-elk-azure-last-step.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 60 KiB |
BIN
img/elk/create-vm-elk-azure-summary.png
Normal file
BIN
img/elk/create-vm-elk-azure-summary.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 80 KiB |
BIN
img/elk/create-vm-elk-azure.png
Normal file
BIN
img/elk/create-vm-elk-azure.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 54 KiB |
BIN
img/elk/discover-kibana.png
Normal file
BIN
img/elk/discover-kibana.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 62 KiB |
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"Serilog": {
|
"Serilog": {
|
||||||
"SeqServerUrl": null,
|
"SeqServerUrl": null,
|
||||||
"LogstashgUrl":null,
|
"LogstashgUrl": "http://elk-dev.northeurope.cloudapp.azure.com:8080",
|
||||||
"MinimumLevel": {
|
"MinimumLevel": {
|
||||||
"Default": "Information",
|
"Default": "Information",
|
||||||
"Override": {
|
"Override": {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"UseCustomizationData": false,
|
"UseCustomizationData": false,
|
||||||
"Serilog": {
|
"Serilog": {
|
||||||
"SeqServerUrl": null,
|
"SeqServerUrl": null,
|
||||||
"LogstashgUrl":null,
|
"LogstashgUrl": "http://elk-dev.northeurope.cloudapp.azure.com:8080",
|
||||||
"MinimumLevel": {
|
"MinimumLevel": {
|
||||||
"Default": "Information",
|
"Default": "Information",
|
||||||
"Override": {
|
"Override": {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"UseCustomizationData": false,
|
"UseCustomizationData": false,
|
||||||
"Serilog": {
|
"Serilog": {
|
||||||
"SeqServerUrl": null,
|
"SeqServerUrl": null,
|
||||||
"LogstashgUrl":null,
|
"LogstashgUrl": "http://elk-dev.northeurope.cloudapp.azure.com:8080",
|
||||||
"MinimumLevel": {
|
"MinimumLevel": {
|
||||||
"Default": "Information",
|
"Default": "Information",
|
||||||
"Override": {
|
"Override": {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"IdentityUrl": "http://localhost:5105",
|
"IdentityUrl": "http://localhost:5105",
|
||||||
"Serilog": {
|
"Serilog": {
|
||||||
"SeqServerUrl": null,
|
"SeqServerUrl": null,
|
||||||
"LogstashgUrl":null,
|
"LogstashgUrl": "http://elk-dev.northeurope.cloudapp.azure.com:8080",
|
||||||
"MinimumLevel": {
|
"MinimumLevel": {
|
||||||
"Default": "Information",
|
"Default": "Information",
|
||||||
"Override": {
|
"Override": {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"Serilog": {
|
"Serilog": {
|
||||||
"SeqServerUrl": null,
|
"SeqServerUrl": null,
|
||||||
"LogstashgUrl":null,
|
"LogstashgUrl": "http://elk-dev.northeurope.cloudapp.azure.com:8080",
|
||||||
"MinimumLevel": {
|
"MinimumLevel": {
|
||||||
"Default": "Information",
|
"Default": "Information",
|
||||||
"Override": {
|
"Override": {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"UseCustomizationData": false,
|
"UseCustomizationData": false,
|
||||||
"Serilog": {
|
"Serilog": {
|
||||||
"SeqServerUrl": null,
|
"SeqServerUrl": null,
|
||||||
"LogstashgUrl":null,
|
"LogstashgUrl": "http://elk-dev.northeurope.cloudapp.azure.com:8080",
|
||||||
"MinimumLevel": {
|
"MinimumLevel": {
|
||||||
"Default": "Information",
|
"Default": "Information",
|
||||||
"Override": {
|
"Override": {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"ConnectionString": "Server=tcp:127.0.0.1,5433;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word;",
|
"ConnectionString": "Server=tcp:127.0.0.1,5433;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word;",
|
||||||
"Serilog": {
|
"Serilog": {
|
||||||
"SeqServerUrl": null,
|
"SeqServerUrl": null,
|
||||||
"LogstashgUrl":null,
|
"LogstashgUrl": "http://elk-dev.northeurope.cloudapp.azure.com:8080",
|
||||||
"MinimumLevel": {
|
"MinimumLevel": {
|
||||||
"Default": "Information",
|
"Default": "Information",
|
||||||
"Override": {
|
"Override": {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"IdentityUrl": "http://localhost:5105",
|
"IdentityUrl": "http://localhost:5105",
|
||||||
"Serilog": {
|
"Serilog": {
|
||||||
"SeqServerUrl": null,
|
"SeqServerUrl": null,
|
||||||
"LogstashgUrl":null,
|
"LogstashgUrl": "http://elk-dev.northeurope.cloudapp.azure.com:8080",
|
||||||
"MinimumLevel": {
|
"MinimumLevel": {
|
||||||
"Default": "Information",
|
"Default": "Information",
|
||||||
"Override": {
|
"Override": {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"Serilog": {
|
"Serilog": {
|
||||||
"SeqServerUrl": null,
|
"SeqServerUrl": null,
|
||||||
"LogstashgUrl":null,
|
"LogstashgUrl": "http://elk-dev.northeurope.cloudapp.azure.com:8080",
|
||||||
"MinimumLevel": {
|
"MinimumLevel": {
|
||||||
"Default": "Information",
|
"Default": "Information",
|
||||||
"Override": {
|
"Override": {
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
"UseCustomizationData": false,
|
"UseCustomizationData": false,
|
||||||
"Serilog": {
|
"Serilog": {
|
||||||
"SeqServerUrl": null,
|
"SeqServerUrl": null,
|
||||||
"LogstashgUrl":null,
|
"LogstashgUrl": "http://elk-dev.northeurope.cloudapp.azure.com:8080",
|
||||||
"MinimumLevel": {
|
"MinimumLevel": {
|
||||||
"Default": "Information",
|
"Default": "Information",
|
||||||
"Override": {
|
"Override": {
|
||||||
|
@ -72,7 +72,7 @@
|
|||||||
],
|
],
|
||||||
"Serilog": {
|
"Serilog": {
|
||||||
"SeqServerUrl": null,
|
"SeqServerUrl": null,
|
||||||
"LogstashgUrl":null,
|
"LogstashgUrl": "http://elk-dev.northeurope.cloudapp.azure.com:8080",
|
||||||
"MinimumLevel": {
|
"MinimumLevel": {
|
||||||
"Default": "Information",
|
"Default": "Information",
|
||||||
"Override": {
|
"Override": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user