All dashboards

Azure Activity Log Azure Activity Logs dashboard.

Azure Activity Log screenshot 1

Azure Activity Log Dashboard

Dashboard to visualize Azure Activity Logs data from Logstash Event Hubs plugin

Setup Azure Activity Log to stream data in an Azure EventHub so the ES plugin can pickup the data. Microsoft provide documentation: Export Azure Activity log to storage or Azure Event Hubs

Dashboard is setup to filter based on a subscription name by mapping the subscription GUID to a friendly name. The Logstash filter files have been provided on GitHub .

Bugs, suggestions and feedback

Bug reports, suggestions and feedback to GitHub please!

Logstash Filters


input {
   azure_event_hubs {
   event_hub_connections => ["Endpoint=sb://;SharedAccessKeyName=...."]
   decorate_events => true
   consumer_group => "logstash-opslogs"
   storage_connection => "DefaultEndpointsProtocol=https;AccountName=..."]
   tags => ["azureopslogs"]


filter {
if [@metadata][azure_event_hubs][consumer_group] == "logstash-opslogs" {
json {
    source => "message"

  if "_jsonparsefailure" not in [tags] {
    split {
      field => "records"
      target => "data"

    if "_split_type_failure" not in [tags] {
        code => "
          event.get('data').each { |k,v|
            event.set(k, v)
        remove_field => ["message", "records"]

      if "_rubyexception" not in [tags] {

        if "_azure_event_failure" not in [tags] {
          if [callerIpAddress]{
            geoip {
              source => "callerIpAddress"
          date {
              match => [ "time", "ISO8601" ]
          mutate {
            add_field => { "" => "%{[@metadata][azure_event_hubs][name]}" }
            add_field => { "azure.metadata.azure_event_hubs.consumer_group" => "%{[@metadata][azure_event_hubs][consumer_group]}" }
          translate {
            field => "[azure][subscription]"
            destination => "azure_subscription_name"
             dictionary => {
               "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" => "Production"
               "YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY" => "Non-Production"

To Do

  • Enrich data by including a Logstash dictionary of LocalizedValue fields or operationName as they are not supplied by the Azure Log streaming system and they will make the logs more readable.
    "operationName": {
        "value": "Microsoft.Resourcehealth/healthevent/Activated/action",
        "localizedValue": "Health Event Activated"


Azure Activity Log Dashboard

Azure Cosmos DB

Azure Cosmos DB

by Grafana Labs
Grafana Labs solution

With the Grafana plugin for Azure Cosmos DB, you can quickly visualize and query your Azure Cosmos DB data from within Grafana.

Learn more

Get this dashboard

Import the dashboard template


Download JSON