Showing data in graphical view for alerts

I’m currently working with data in Grafana that’s being ingested through Elasticsearch. The data includes fields such as:

  • @timestamp
  • _id
  • _index
  • _source
  • _type
  • highlight
  • kubernetes.container_name
  • kubernetes.docker_id
  • kubernetes.namespace_name
  • kubernetes.pod_name
  • log
  • numeric_status
  • pod_phase
  • sort
  • status
  • status_containers
  • status_detail
  • status_namespace
  • status_phase
  • status_pod
  • status_restarts

I want to display a graph showing status_pod (the name of the pod) and numeric_status (the pod status represented numerically). Currently, the graph only shows numeric_status over time, without displaying the pod names alongside their statuses.

Can anyone provide guidance on how to configure the graph to display both status_pod and numeric_status together? I need to visualize each pod’s status so that I can apply alerts based on this data.

Thank you!

1 Like

you probably need to provide a little bit more information to help you out, but here are some general hints:

  • Indicate what kind of visualization you’re using, and it should be one that accepts multiple series of data
  • By default a lot of visualizations try to pick the kind of data they think you want to see. You can use transforms to filter fields by name to selectively remove parts of the data coming back and change what of the returned data is being visualized