forked from sivasamyk/logtrail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlogtrail.json
53 lines (53 loc) · 1.37 KB
/
logtrail.json
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
50
51
52
53
{
"version" : 1,
"index_patterns" : [
{
"es": {
"default_index": "filebeat-*"
},
"tail_interval_in_seconds": 10,
"es_index_time_offset_in_seconds": 0,
"display_timezone": "local",
"display_timestamp_format": "MMM DD HH:mm:ss",
"max_buckets": 500,
"default_time_range_in_days" : 0,
"max_hosts": 100,
"max_events_to_keep_in_viewer": 5000,
"fields" : {
"mapping" : {
"timestamp" : "@timestamp",
"hostname" : "beat.hostname",
"program": "source",
"message": "message"
},
"message_format": "{{{message}}}"
},
"color_mapping" : {
}
},
{
"es": {
"default_index": "logstash-zookeeper"
},
"tail_interval_in_seconds": 10,
"es_index_time_offset_in_seconds": 0,
"display_timezone": "local",
"display_timestamp_format": "MMM DD HH:mm:ss",
"max_buckets": 500,
"default_time_range_in_days" : 0,
"max_hosts": 100,
"max_events_to_keep_in_viewer": 5000,
"fields" : {
"mapping" : {
"timestamp" : "@timestamp",
"hostname" : "host",
"program": "logger_name",
"message": "log_message"
},
"message_format": "{{{log_message}}}"
},
"color_mapping" : {
}
}
]
}