FriendsOfSymfony/FOSElasticaBundle — pull request #421 by damienalexandre (2013-12-09 09:42:38+00:00)
Title: [Feature] Allow to display a run-able cURL query in the web profiler 

This PR add a small [+] button on each query to open a new bloc wrapping the query in a cURL call, easy to copy and paste in a terminal.

When debugging Elasticsearch query, it's very important to be able to replay queries,
previously we were forced to manually copy and paste the method, path and query data.

![image](https://f.cloud.github.com/assets/225704/1703251/31dc1788-60b2-11e3-927d-1815f87468bf.png)

The only drawback was that the data collector was not storing the called host, so I also added it (as it can help debug on multi-node clusters) for HTTP and HTTPS transports.
If another transport is used, I store NULL in the Logger.