title: How to convert elastic search queries from Kibana 3 to Kibana 4
body: <p>I have created a dashboard in Kibana 3. I would like to replicate the same in Kibana 4.<br> How can I replicate this elastic search query written in Kibana 3 to Kibana4?</p>
  
  <p>Please find the below code:</p>
  
  <pre><code>( cf.cf_org_name:ABC OR cf.cf_org_name:DEF ) AND NOT (cf.msg:"Stopped span:" OR cf.msg:"Continued span:" OR cf.msg:"Starting span:" OR cf.msg:"*swagger*" OR cf.msg:"*\[my.Agent\]" OR cf.msg:"*\[my.Properties\]")
  </code></pre>
  
  <p>Any lead would be highly appreciated.</p>