Elastic Log Charts

STEP-1

Create Elastic Log Configuration with either,

  • Defining two source headers (e.g. name and value) in configuration OR
  • Through elastic-search Query.

elastic_log_chart_A.PNG

Note. You can also define two required _source header fields through elastic-search query example as below, instead in above log configuration.

{
  "query": {
    "match_all": {}
  },
  "size": 25,
  "sort" : {
    "Issue_Count": { "order": "desc" }
  },
  "_source": {
    "includes": ["Custom_Field_Name", "Issue_Count"]
  }
}


STEP-2

Go to edit page > Create Chart macro i.e. {chart}

elastic_log_chart_B.PNG

Note:

  • Width (pixel value only) = 600
  • Height (pixel value only) = 600
  • Content Orientation = vertical
  • Chart Title = Hello World


STEP-3

Within Chart macro define Elastic Log Summary macro with display theme - table-basic.

elastic_log_chart_C.PNG


STEP-4

elastic_log_chart_D.PNG