Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #17 from groonga/use-buffer-directive
Browse files Browse the repository at this point in the history
Use <buffer> directive

Patch by Kentaro Hayashi. Thanks!!!
  • Loading branch information
kou committed Apr 18, 2017
2 parents 780ee73 + ed02e53 commit a268e2d
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 12 deletions.
5 changes: 4 additions & 1 deletion sample/command.conf
Expand Up @@ -10,5 +10,8 @@
@type groonga
protocol command
database /tmp/groonga/db
flush_interval 1

<buffer>
flush_interval 1
</buffer>
</match>
5 changes: 4 additions & 1 deletion sample/gqtp.conf
Expand Up @@ -11,5 +11,8 @@
protocol gqtp
host 127.0.0.1
port 30043
flush_interval 1

<buffer>
flush_interval 1
</buffer>
</match>
5 changes: 4 additions & 1 deletion sample/http.conf
Expand Up @@ -11,5 +11,8 @@
protocol http
host 127.0.0.1
port 30041
flush_interval 1

<buffer>
flush_interval 1
</buffer>
</match>
8 changes: 5 additions & 3 deletions sample/store-apache.conf
Expand Up @@ -42,9 +42,11 @@
protocol http
host 127.0.0.1

buffer_type file
buffer_path /tmp/buffer
flush_interval 1
<buffer>
@type file
path /tmp/buffer
flush_interval 1
<buffer>

<table>
name Codes
Expand Down
8 changes: 5 additions & 3 deletions sample/store-syslog.conf
Expand Up @@ -51,9 +51,11 @@
protocol http
host 127.0.0.1

buffer_type file
buffer_path /var/spool/td-agent/buffer/groonga
flush_interval 1
<buffer>
@type file
path /var/spool/td-agent/buffer/groonga
flush_interval 1
</buffer>

<table>
name Terms
Expand Down
8 changes: 5 additions & 3 deletions sample/store.conf
Expand Up @@ -9,7 +9,9 @@
protocol http
host 127.0.0.1

buffer_type file
buffer_path /tmp/buffer
flush_interval 1
<buffer>
@type file
path /tmp/buffer
flush_interval 1
<buffer>
</match>

0 comments on commit a268e2d

Please sign in to comment.