This file is indexed.

/etc/homer/rotation.ini is in homer-api-postgresql 5.0.6+dfsg2-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
55
56
57
58
59
60
61
62
63
64
#Rotation parameters

[PGSQL]
    user=homer_user
    password=homer_password
    host=localhost
    port=5432
    db_data = homer_data
    db_stats = homer_statistic
    # Extra param
    newtables = 2 # Create new tables or partitions for next 2 days

[DATA_TABLE_ROTATION]
    #how long data keeps
    sip_capture_call = 10 #days
    sip_capture_registration = 10 # 10 days
    sip_capture_rest = 10 # 10 days
    rtcp_capture = 10 # days
    logs_capture = 10 # days
    report_capture = 10 # days
    webrtc_capture = 10 # days

[DATA_TABLE_STEP]
    # 0 - Day, 1 - Hour, 2 - 30 Minutes, 3 - 15 Minutes
    sip_capture_call = 0
    sip_capture_registration = 0
    sip_capture_rest = 0
    rtcp_capture = 0
    logs_capture = 0
    report_capture = 0
    webrtc_capture = 0

[DROP_OLD_PARTITIONS]
    # Remove partitions older than $seconds
    # Ignored if zero
    sip_capture_call = 0
    sip_capture_registration = 0
    sip_capture_rest = 0
    rtcp_capture = 0
    logs_capture = 0
    report_capture = 0

[STATS_TABLE_ROTATION]
    stats_ip = 20 # days
    stats_geo = 20 # days
    alarm_data = 10 # days
    stats_method = 10 #  days
    stats_useragent = 20 # days

[STATS_TABLE_STEP]
    #0 - Day, 1 - Hour, 2 - 30 Minutes, 3 - 15 Minutes
    stats_ip = 0
    stats_geo = 0
    alarm_data = 0
    stats_method = 0
    stats_useragent = 0

[SYSTEM]
    debug = 0
    exec =  1

[MSG_TABLE_SIZE]
    #characters
    sip_capture_call = 1500