-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbak.conf
More file actions
executable file
·55 lines (40 loc) · 1.25 KB
/
bak.conf
File metadata and controls
executable file
·55 lines (40 loc) · 1.25 KB
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
54
input {
file {
path => "/opt/anshubackupcsv.csv"
start_position => "beginning"
ignore_older => 0
type => "n"
sincedb_path => "/dev/null"
}
}
filter {
if [type] == "n" {
csv {
separator => ","
columns => ["Date","Category","Backup Success Ratio","Backup Success Ratio for OPS center","Long Running Backup","Critical DB Backup failure Instances","HP STOREONCE issue","SO Capacity Utilization","SO Backend Throughput","Recovery Success Rate"]
}
mutate {convert => ["Backup Success Ratio", "float"] }
mutate {convert => ["Backup Success Ratio for OPS center", "float"] }
mutate {convert => ["Long Running Backup", "float"] }
mutate {convert => ["Critical DB Backup failure Instances", "float"] }
mutate {convert => ["HP STOREONCE issue", "float"] }
mutate {convert => ["SO Capacity Utilization", "float"] }
mutate {convert => ["SO Backend Throughput", "float"] }
mutate {convert => ["Recovery Success Rate", "float"] }
}
uuid {
target => "uuid"
overwrite => true
}
}
output {
if [type] == "n" {
elasticsearch {
hosts => ["10.5.112.121:9200", "10.5.112.122:9200"]
index => "bakup"
document_type => "bkup"
document_id => "%{uuid}"
}
stdout {codec => rubydebug}
}
}