title: Parse url parameters in logstash
body: <p>I'm sending data in a url to logstash 5.2 and I would like to parse it in logstash, so every url parameter becomes a variable in logstash and I can visualize it properly in kibana. </p>
  
  <pre><code>http://127.0.0.1:31311/?id=ID-XXXXXXXX&amp;uid=1-37zbcuvs-izotbvbe&amp;ev=pageload&amp;ed=&amp;v=1&amp;dl=http://127.0.0.1/openpixel/&amp;rl=&amp;ts=1488314512294&amp;de=windows-1252&amp;sr=1600x900&amp;vp=1600x303&amp;cd=24&amp;dt=&amp;bn=Chrome%2056&amp;md=false&amp;ua=Mozilla/5.0%20(Macintosh;%20Intel%20Mac%20OS%20X%2010_11_3)%20AppleWebKit/537.36%20(KHTML,%20like%20Gecko)%20Chrome/56.0.2924.87%20Safari/537.36&amp;utm_source=&amp;utm_medium=&amp;utm_term=&amp;utm_content=&amp;utm_campaign=
  </code></pre>
  
  <p>This is my logstash conf file:</p>
  
  <pre><code>input 
  {
    http 
    {
      host =&gt; "127.0.0.1"
      port =&gt; 31311
    }
  }
  
  output
  {
      elasticsearch
      {
          hosts =&gt; ["localhost:9200"]
      }
  
      stdout
      {
          codec =&gt; rubydebug
      }
  }
  </code></pre>