File: issue246.out

package info (click to toggle)
carbon-c-relay 3.7.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 3,020 kB
  • sloc: ansic: 10,018; sh: 4,814; yacc: 961; lex: 357; makefile: 136; python: 112
file content (49 lines) | stat: -rw-r--r-- 942 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
listen
    type linemode
        2003 proto tcp
        2003 proto udp
        /tmp/.s.carbon-c-relay.2003 proto unix
    ;

statistics
    submit every 60 seconds
    prefix with carbon.relays.test_hostname
    ;

cluster foo
    file
        /dev/stdout
    ;

match ^sin\.foobar\.sin_1a_host0[0-4][0-9]\..+
    send to foo
    stop
    ;
match ^sin\.foobar\.sin_1a_host0[5-9][0-9]\..+
    send to foo
    stop
    ;
match ^sin\.foobar\.sin_1a_host1[0-4][0-9]\..+
    send to foo
    stop
    ;
match *
    send to foo
    stop
    ;

match
    ^sin\.foobar\.sin_1a_host0[0-4][0-9]\..+ (regex) -> sin.foobar.sin_1a_host000.foo
    file(foo)
        /dev/stdout
    stop
match
    ^sin\.foobar\.sin_1a_host0[5-9][0-9]\..+ (regex) -> sin.foobar.sin_1a_host050.foo
    file(foo)
        /dev/stdout
    stop
match
    ^sin\.foobar\.sin_1a_host1[0-4][0-9]\..+ (regex) -> sin.foobar.sin_1a_host100.foo
    file(foo)
        /dev/stdout
    stop