1. Home
  2. Docs
  3. Logstail Docs
  4. Private: Trace Analytics ...
  5. Kibana Gantt Charts

Kibana Gantt Charts

Why using Gantt Charts?

Gantt charts are useful in trace analytics, telemetry, and anomaly detection use cases, where you want to understand interactions and dependencies between various events in a schedule.

Gannt charts can be embedded into dashboards to enable visualization of events, steps, and tasks as horizontal bars. These charts can depict the start, end, and duration of unique events in a sequence.

In the Event field, the Gantt chart allows you to compare schedules of the selected field eg. _id.

In the Start time field, you can select a timestamp field to represent the beginning of a schedule.

In the Duration field, the value of this field must be a time interval that can be added to the start timestamp field.

For example, consider an index of log data. The fields in a typical set of log data, especially audit logs, contain a specific operation or event with a start time and duration.

To create a Gantt chart, do the following:

  1. In the visualizations menu, choose to Create visualization and Gantt Chart.
  2. Choose a source for the chart (e.g. some log data).
  3. Under Metrics, choose Event. For log data, each log is an event.
  4. Select the **Start Time** and the Duration fields from your data set. The start time is the timestamp for the beginning of an event. The duration is the amount of time to add to the start time.
  5. Under Results, choose the number of events that you want to display on the chart. Gantt charts sequence events from earliest to latest based on start time.
  6. Choose Panel settings to adjust axis labels, time format, and colors.
  7. Choose Update.

This Gantt chart the ID for each log on the Y axis. Each bar is a unique event that spans some amount of time. Hover over a bar to see the duration of that event.

How can we help?