title: How can I parse custom Metricbeat dictionary for Kibana?
body: <p>I have logstash set up sending to Kibana, and it tags each log file with two custom fields -- Cluster and Node:
  <a href="https://i.stack.imgur.com/w19Fx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/w19Fx.png" alt="enter image description here"></a></p>
  
  <p>I would like to add the same two fields to my Metricbeat configuration using the "fields" option, but when I do this it comes through as a dictionary in Kibana:
  <a href="https://i.stack.imgur.com/LL5Ia.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LL5Ia.png" alt="enter image description here"></a></p>
  
  <p>Here is the Metricbeat config file I'm using:</p>
  
  <pre><code>metricbeat.modules:
  - module: system
    metricsets:
      # CPU stats
      - cpu
  
      # System Load stats
      - load
  
      # Per CPU core stats
      #- core
  
      # IO stats
      #- diskio
  
      # Per filesystem stats
      - filesystem
  
      # File system summary stats
      - fsstat
  
      # Memory stats
      - memory
  
      # Network stats
      - network
  
      # Per process stats
      - process
  
      # Sockets (linux only)
      #- socket
    enabled: true
    period: 10s
    processes: ['.*']
  
    #Add Supervisor Cluster and Node ID
    fields:
      cluster: "Upswell ELK Testing Cluster"
      node: "Nina's Macbook"
  
  #-------------------------- Elasticsearch output ------------------------------
  output.elasticsearch:
  
    # Array of hosts to connect to.
    hosts: ["http://localhost:9200"]
  </code></pre>
  
  <p>I can't find any documentation about how to format these fields; is this an adjustment I should be making in Logstash or in the Metricbeat configuration?</p>