Skip to content

Commit

Permalink
sample syslog: use Hosts table
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Nov 25, 2014
1 parent 2c56f33 commit c403696
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions sample/store-syslog.conf
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,28 @@
normalizer NormalizerAuto
</table>

<table>
name Hosts
flags TABLE_PAT_KEY
key_type ShortText
# normalizer NormalizerAuto
</table>

<table>
name Timestamps
flags TABLE_PAT_KEY
key_type Time
</table>

<mapping>
name host
type Hosts
<index>
table Hosts
name logs_index
</index>
</mapping>

<mapping>
name timestamp
type Time
Expand Down

0 comments on commit c403696

Please sign in to comment.