title: Logstash output : Tags on stdout
body: <p>As a newbie in ELK, i'm doing many tests to get used to this environment.
  I would like to print the tags generated by Logstash in the the CLI, but I didn't find how.</p>
  
  <p>Is it possible ? I don't want to send it to elasticsearch and then look for the data with Kibana, I just want to know if the tags are here and which ones.</p>
  
  <p>Here is a sample of what i'm trying to do : 
  I'm using http_poller to get data from a list of URLs, and i'd like to see if the correct HTTPcode is given</p>
  
  <pre><code>input {
      http_poller {
          urls =&gt; {
              "url1" =&gt; "https://www.google.com"
              #"url2" =&gt; "https://www.facebook.com"
              #"url3" =&gt; "https://www.amazon.com"
              #"url4" =&gt; "http://www.google.com"
              #"url5" =&gt; "http://www.facebook.com"
              #"url6" =&gt; "http://www.amazon.com"
          }
      automatic_retries =&gt; 0
      #Check les URL toutes les 30sec
      interval =&gt; 30
      #Considere la requete en Timeout au bout de 8secondes
      request_timeout =&gt; 8
      tags =&gt; website_healthcheck
      }
  }
  filter{
      if [http_poller_metada][code] == 200{
              mutate{
                      add_tag =&gt; "Good request"
              }
      }
  }
  output {
  #Debug
  if "Good request" in [tags]{
      stdout{
          codec =&gt; rubydebug
      }
  }
  </code></pre>
  
  <p>Right now the output is unreadable (google's html page), I'd like to read only the HttpCode.</p>
  
  <p>Sorry for the poor explanation, and thanks for your answers :)</p>