ADD a Counter for Every build

(MBR) #1

I am shipping logs(to ELK host) from two places for each build -

  1. using filebeat from one host to ELK host.
  2. using logstash plugin from jenkins to ELK host .

Two indexes are getting generated.

I want to pass a unique ID (which may a increment value such as count ++) everytime i run build or everytime the index is created.This unique ID may be a custom field and want to view this field in Kibana. Is this possible.Any input will be much appreciated.

(Mark Walkom) #2

You would need the build process to generate this and output it in the log file.

(MBR) #3

OKay. Thanks for the input.

(system) closed #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.