Navigation Menu

Skip to content

Commit

Permalink
sample: use <buffer> directive
Browse files Browse the repository at this point in the history
  • Loading branch information
kenhys committed Apr 13, 2017
1 parent 780ee73 commit a91f4d7
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sample/command.conf
Expand Up @@ -10,5 +10,8 @@
@type groonga
protocol command
database /tmp/groonga/db

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

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

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

<buffer>
buffer_type file
buffer_path /tmp/buffer
flush_interval 1
<buffer>

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

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

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

<buffer>
buffer_type file
buffer_path /tmp/buffer
flush_interval 1
<buffer>
</match>

0 comments on commit a91f4d7

Please sign in to comment.