Questions tagged [elastic-common-schema]

11 questions
2
votes
3 answers

Add trace.id and transaction.id Springboot

I have a Springboot micro-service. For logging I'm using Elastic common scheme, implemented using ecs-logging-java. I want to set the trace.ID and a transaction.ID but I'm not sure how? Bonus question, I'm I right in thinking trace.ID should be the…
Jane Hayes
  • 115
  • 2
  • 10
1
vote
0 answers

Remove unnecessary objects from Elastic Common Schema logs

I am using Serilog and Elastic.CommonSchema.Serilog to have console logs with ECS fields in JSON format. I don't need to have the objects like host, process in the output. How can I remove them? ENV: ASP.NET Core 6 / Alpine Linux…
Bishan
  • 15,211
  • 52
  • 164
  • 258
1
vote
1 answer

HTTP Pino logger and Elastic Common Schema (ecs) format in NestJS

I am trying to apply @elastic/ecs-pino-format to nestjs-pino. Under the good nestjs-pino is using http-pino. I have noticed that http-pino adds the request object inside [Symbol(pino.chindings)] and I am assuming it's using a child logger.So I tried…
1
vote
1 answer

What is the equivalent in ECS fields reference of Trace.CorrelationManager.ActivityId?

I'm working with a .NET framework application and for the logs i use NLog logging them on a ElasticSearch target using an ECS(Elastic Common Schema) layout. example: One of the parameters i'm logging is the activityId: It is well explained on this…
Nmaster88
  • 1,405
  • 2
  • 23
  • 65
1
vote
1 answer

Using Nlog logger with ECS layout, in kibana the json object appear as a string instead of multiple properties

I'm working on some .Net framework application and i've been asked to send the logs to elasticsearch using kibana as the UI. To have something that is standardized i have to implement ECS (Elastic Common Schema). Looking at the example we have on…
Nmaster88
  • 1,405
  • 2
  • 23
  • 65
1
vote
3 answers

Configure Filebeat hints-based Autodiscover with Elastic Common Schema

I'm can't find any documentation on how to configure filebeat to handle ECS formatted JSON logs. I'm using ecs-pino-format to output "ECS" logs and here is a typical log I output :…
Julien Tanay
  • 1,214
  • 2
  • 14
  • 20
0
votes
0 answers

Map available fields in logs to Elastic Common Schema format in NodeJS

I'm trying to log all my requests, responses and application logs in the ECS Format - https://www.elastic.co/guide/en/ecs/current/ecs-field-reference.html Reading their guides I'm using morgan as my logger and I get the following format out of the…
0
votes
1 answer

How to find out if component templates are used in any index template via ElasticSearch API?

I'm looking for an API call for ElasticSearch which helps me figuring out if the component template has any usage count, if it is used by any index template. We can see this information through Kibana -> Index management -> Component templates ->…
0
votes
2 answers

Property not available for visualize in kibana

While trying to change a Visualization in Kibana to use another property for the x-axis, that property doesn't appear there. I changed recently nlog to target elastic search using the Elastic common schema. After that change the property is not…
Nmaster88
  • 1,405
  • 2
  • 23
  • 65
0
votes
1 answer

How can I parse plain text log following ECS (elastic common schema) with logstash?

I am using rsyslog to send plain text log to logstash. But I cannot assign data to host.name or host.ip fields by grok. The system through following error: Could not index event to Elasticsearch. {:status=>400, :action=>["index", {:_id=>nil,…
0
votes
1 answer

How to translate Okta System Log records into Elastic Common Schema version 1.5 using logstash pipeline configuration

I have an Okta instance which I get system logs out of using logstash-input-okta_system_log plugin for Elastic Logstash. The plugin works just fine. What I want is to translate the logs into Elastic Common Schema using a Logstash pipeline…