[Groonga-commit] droonga/log-search at 1dcd755 [master] Add example to send HTTP request to the Groonga server

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Dec 24 16:35:50 JST 2014


YUKI Hiroshi	2014-12-24 16:35:50 +0900 (Wed, 24 Dec 2014)

  New Revision: 1dcd755155922bf131f8567c60a0364ed69a29d0
  https://github.com/droonga/log-search/commit/1dcd755155922bf131f8567c60a0364ed69a29d0

  Message:
    Add example to send HTTP request to the Groonga server

  Modified files:
    README.md

  Modified: README.md (+6 -0)
===================================================================
--- README.md    2014-12-24 16:32:57 +0900 (ed1539c)
+++ README.md    2014-12-24 16:35:50 +0900 (079ca50)
@@ -22,6 +22,12 @@ Steps to try the log-search system:
  2. Run `logger (message)` like `logger foobar` on your terminal console.
  3. Reload the admin page. Then you'll see a new `Logs` table automatically created by log-search system.
 
+Or, you can see raw result with HTTP request like:
+
+    $ curl "http://localhost:10041/d/select?table=Logs&limit=5&sortby=-timestamp&_=$(date +%s)"
+
+You should specify an extra parameter to bypass response cache, if it is a Droonga cluster instead of a Groonga HTTP server.
+
 ## How to configure log-search system to work with Droonga
 
 Use `droonga-engine` and `droonga-http-server` instead of `groonga`.
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index