We changed document.ready to window.load. Also I am using ACLs on all of my files to reflect the below file:
I can do everything manually no problem, it's just the auto part that is hurting. I see you want me to change to the user nagios and I have that user as a nologin due to STIG requirements.
Code: Select all
curator --debug close indices --older-than 7 --time-unit days --timestring %Y.%m.%d
2017-04-03 15:01:30,176 DEBUG curator.api.filter get_date_regex:158 regex = \d{4}\.\d{2}\.\d{2}
2017-04-03 15:01:30,176 DEBUG curator.cli.utils filter_callback:189 REGEX = (?P<date>\d{4}\.\d{2}\.\d{2})
2017-04-03 15:01:30,176 DEBUG curator.cli.utils filter_callback:192 Added filter: {'pattern': '(?P<date>\\d{4}\\.\\d{2}\\.\\d{2})', 'value': 7, 'groupname': 'date', 'time_unit': 'days', 'timestring': u'%Y.%m.%d', 'method': 'older_than'}
2017-04-03 15:01:30,176 DEBUG curator.cli.utils filter_callback:193 New list of filters: [{'pattern': '(?P<date>\\d{4}\\.\\d{2}\\.\\d{2})', 'value': 7, 'groupname': 'date', 'time_unit': 'days', 'timestring': u'%Y.%m.%d', 'method': 'older_than'}]
2017-04-03 15:01:30,176 INFO curator.cli.index_selection indices:57 Job starting: close indices
2017-04-03 15:01:30,176 DEBUG curator.cli.index_selection indices:60 Params: {'url_prefix': u'', 'http_auth': None, 'dry_run': False, 'certificate': None, 'loglevel': u'INFO', 'logformat': u'default', 'quiet': False, 'host': u'localhost', 'timeout': 30, 'debug': True, 'use_ssl': False, 'logfile': None, 'master_only': False, 'port': 9200, 'ssl_no_validate': False}
2017-04-03 15:01:30,176 DEBUG curator.cli.utils get_client:112 kwargs = {'url_prefix': u'', 'http_auth': None, 'dry_run': False, 'certificate': None, 'loglevel': u'INFO', 'quiet': False, 'debug': True, 'logformat': u'default', 'timeout': 30, 'host': u'localhost', 'use_ssl': False, 'logfile': None, 'master_only': False, 'port': 9200, 'ssl_no_validate': False}
2017-04-03 15:01:30,177 DEBUG urllib3.util.retry from_int:191 Converted retries value: False -> Retry(total=False, connect=None, read=None, redirect=0)
2017-04-03 15:01:30,178 DEBUG urllib3.connectionpool _new_conn:212 Starting new HTTP connection (1): localhost
2017-04-03 15:01:30,185 DEBUG urllib3.connectionpool _make_request:400 http://localhost:9200 "GET / HTTP/1.1" 200 387
2017-04-03 15:01:30,185 INFO elasticsearch log_request_success:63 GET http://localhost:9200/ [status:200 request:0.009s]
2017-04-03 15:01:30,185 DEBUG elasticsearch log_request_success:65 > None
2017-04-03 15:01:30,186 DEBUG elasticsearch log_request_success:66 < {
"status" : 200,
"name" : "4203c74b-084b-44a1-a358-165b46bdf788",
"cluster_name" : "9e774f81-3725-4eb9-8072-d7aaf46bd83b",
"version" : {
"number" : "1.6.0",
"build_hash" : "cdd3ac4dde4f69524ec0a14de3828cb95bbb86d0",
"build_timestamp" : "2015-06-09T13:36:34Z",
"build_snapshot" : false,
"lucene_version" : "4.10.4"
},
"tagline" : "You Know, for Search"
}
2017-04-03 15:01:30,186 DEBUG curator.cli.utils check_version:90 Detected Elasticsearch version 1.6.0
2017-04-03 15:01:30,186 DEBUG urllib3.util.retry from_int:191 Converted retries value: False -> Retry(total=False, connect=None, read=None, redirect=0)
2017-04-03 15:01:30,188 DEBUG urllib3.connectionpool _make_request:400 http://localhost:9200 "GET /_all/_settings?expand_wildcards=open%2Cclosed HTTP/1.1" 200 2281
2017-04-03 15:01:30,188 INFO elasticsearch log_request_success:63 GET http://localhost:9200/_all/_settings?expand_wildcards=open%2Cclosed [status:200 request:0.002s]
2017-04-03 15:01:30,188 DEBUG elasticsearch log_request_success:65 > None
2017-04-03 15:01:30,188 DEBUG elasticsearch log_request_success:66 < {"logstash-2017.03.30":{"settings":{"index":{"refresh_interval":"5s","creation_date":"1490831956440","number_of_shards":"5","number_of_replicas":"1","version":{"created":"1060099"},"uuid":"MAn3tbk0T1C7tGqIyNgVZA"}}},"logstash-2017.04.02":{"settings":{"index":{"refresh_interval":"5s","creation_date":"1491091155452","number_of_shards":"5","number_of_replicas":"1","version":{"created":"1060099"},"uuid":"cTXGz3sTQvSDy_wmyy7vNw"}}},"kibana-int":{"settings":{"index":{"creation_date":"1486764425463","number_of_shards":"5","uuid":"vvCUBmXnRN67A5j1tOfTww","version":{"created":"1060099"},"number_of_replicas":"1"}}},"logstash-2017.03.31":{"settings":{"index":{"refresh_interval":"5s","creation_date":"1490918356157","number_of_shards":"5","number_of_replicas":"1","version":{"created":"1060099"},"uuid":"Q-m0p_C4RtqtW1sMP55r0w"}}},"logstash-2017.03.29":{"settings":{"index":{"refresh_interval":"5s","creation_date":"1490745600190","number_of_shards":"5","number_of_replicas":"1","version":{"created":"1060099"},"uuid":"dil1ZGLiRSOf_yicud5wuw"}}},"nagioslogserver_log":{"settings":{"index":{"creation_date":"1486764417796","number_of_shards":"5","uuid":"gjJu-RFCT9yXc_kXGUvuog","version":{"created":"1060099"},"number_of_replicas":"1"}}},"nagioslogserver":{"settings":{"index":{"creation_date":"1486764417262","number_of_shards":"5","uuid":"O_LokZGJTca1oFSJnt6JJw","version":{"created":"1060099"},"number_of_replicas":"1"}}},"logstash-2017.03.28":{"settings":{"index":{"refresh_interval":"5s","creation_date":"1490659200705","number_of_shards":"5","number_of_replicas":"1","version":{"created":"1060099"},"uuid":"OqPF-j7-TQKHKz3OZxNpXw"}}},"logstash-2017.04.03":{"settings":{"index":{"refresh_interval":"5s","creation_date":"1491177553938","number_of_shards":"5","number_of_replicas":"1","version":{"created":"1060099"},"uuid":"P04kUAblRvijWeJ2VMepAA"}}},"logstash-2017.03.27":{"settings":{"index":{"refresh_interval":"5s","creation_date":"1490572800127","number_of_shards":"5","number_of_replicas":"1","version":{"created":"1060099"},"uuid":"e96JYa4DR9ubBf4tNAM1Vw"}}},"logstash-2017.04.01":{"settings":{"index":{"refresh_interval":"5s","creation_date":"1491004756493","number_of_shards":"5","number_of_replicas":"1","version":{"created":"1060099"},"uuid":"YMc7da0TSt-W-YeHZHTkPQ"}}}}
2017-04-03 15:01:30,189 DEBUG curator.api.utils get_indices:28 All indices: [u'logstash-2017.03.31', u'logstash-2017.03.30', u'nagioslogserver', u'logstash-2017.03.28', u'logstash-2017.04.02', u'logstash-2017.04.01', u'logstash-2017.03.27', u'logstash-2017.04.03', u'logstash-2017.03.29', u'nagioslogserver_log', u'kibana-int']
2017-04-03 15:01:30,189 DEBUG curator.cli.index_selection indices:76 Full list of indices: [u'logstash-2017.03.31', u'logstash-2017.03.30', u'nagioslogserver', u'logstash-2017.03.28', u'logstash-2017.04.02', u'logstash-2017.04.01', u'logstash-2017.03.27', u'logstash-2017.04.03', u'logstash-2017.03.29', u'nagioslogserver_log', u'kibana-int']
2017-04-03 15:01:30,189 DEBUG curator.cli.index_selection indices:98 All filters: [{'pattern': '(?P<date>\\d{4}\\.\\d{2}\\.\\d{2})', 'value': 7, 'groupname': 'date', 'time_unit': 'days', 'timestring': u'%Y.%m.%d', 'method': 'older_than'}]
2017-04-03 15:01:30,189 DEBUG curator.cli.index_selection indices:103 Filter: {'pattern': '(?P<date>\\d{4}\\.\\d{2}\\.\\d{2})', 'value': 7, 'groupname': 'date', 'time_unit': 'days', 'timestring': u'%Y.%m.%d', 'method': 'older_than'}
2017-04-03 15:01:30,192 DEBUG curator.api.filter timestamp_check:301 Timestamp "2017.03.31" is outside the cutoff period (older than 7 days).
2017-04-03 15:01:30,192 DEBUG curator.api.filter timestamp_check:301 Timestamp "2017.03.30" is outside the cutoff period (older than 7 days).
2017-04-03 15:01:30,192 DEBUG curator.api.filter timestamp_check:301 Timestamp "2017.03.28" is outside the cutoff period (older than 7 days).
2017-04-03 15:01:30,192 DEBUG curator.api.filter timestamp_check:301 Timestamp "2017.04.02" is outside the cutoff period (older than 7 days).
2017-04-03 15:01:30,192 DEBUG curator.api.filter timestamp_check:301 Timestamp "2017.04.01" is outside the cutoff period (older than 7 days).
2017-04-03 15:01:30,192 DEBUG curator.api.filter timestamp_check:301 Timestamp "2017.04.03" is outside the cutoff period (older than 7 days).
2017-04-03 15:01:30,192 DEBUG curator.api.filter timestamp_check:301 Timestamp "2017.03.29" is outside the cutoff period (older than 7 days).
2017-04-03 15:01:30,192 INFO curator.cli.index_selection indices:144 Action close will be performed on the following indices: [u'logstash-2017.03.27']
2017-04-03 15:01:30,193 DEBUG urllib3.util.retry from_int:191 Converted retries value: False -> Retry(total=False, connect=None, read=None, redirect=0)
2017-04-03 15:01:30,193 DEBUG urllib3.connectionpool _make_request:400 http://localhost:9200 "GET / HTTP/1.1" 200 387
2017-04-03 15:01:30,193 INFO elasticsearch log_request_success:63 GET http://localhost:9200/ [status:200 request:0.001s]
2017-04-03 15:01:30,193 DEBUG elasticsearch log_request_success:65 > None
2017-04-03 15:01:30,193 DEBUG elasticsearch log_request_success:66 < {
"status" : 200,
"name" : "4203c74b-084b-44a1-a358-165b46bdf788",
"cluster_name" : "9e774f81-3725-4eb9-8072-d7aaf46bd83b",
"version" : {
"number" : "1.6.0",
"build_hash" : "cdd3ac4dde4f69524ec0a14de3828cb95bbb86d0",
"build_timestamp" : "2015-06-09T13:36:34Z",
"build_snapshot" : false,
"lucene_version" : "4.10.4"
},
"tagline" : "You Know, for Search"
}
2017-04-03 15:01:30,194 DEBUG urllib3.util.retry from_int:191 Converted retries value: False -> Retry(total=False, connect=None, read=None, redirect=0)
2017-04-03 15:01:30,194 DEBUG urllib3.connectionpool _make_request:400 http://localhost:9200 "GET / HTTP/1.1" 200 387
2017-04-03 15:01:30,195 INFO elasticsearch log_request_success:63 GET http://localhost:9200/ [status:200 request:0.001s]
2017-04-03 15:01:30,195 DEBUG elasticsearch log_request_success:65 > None
2017-04-03 15:01:30,195 DEBUG elasticsearch log_request_success:66 < {
"status" : 200,
"name" : "4203c74b-084b-44a1-a358-165b46bdf788",
"cluster_name" : "9e774f81-3725-4eb9-8072-d7aaf46bd83b",
"version" : {
"number" : "1.6.0",
"build_hash" : "cdd3ac4dde4f69524ec0a14de3828cb95bbb86d0",
"build_timestamp" : "2015-06-09T13:36:34Z",
"build_snapshot" : false,
"lucene_version" : "4.10.4"
},
"tagline" : "You Know, for Search"
}
2017-04-03 15:01:30,195 DEBUG urllib3.util.retry from_int:191 Converted retries value: False -> Retry(total=False, connect=None, read=None, redirect=0)
2017-04-03 15:01:30,254 DEBUG urllib3.connectionpool _make_request:400 http://localhost:9200 "GET /_cat/indices/logstash-2017.03.27?h=status&format=json HTTP/1.1" 200 19
2017-04-03 15:01:30,254 INFO elasticsearch log_request_success:63 GET http://localhost:9200/_cat/indices/logstash-2017.03.27?h=status&format=json [status:200 request:0.059s]
2017-04-03 15:01:30,254 DEBUG elasticsearch log_request_success:65 > None
2017-04-03 15:01:30,254 DEBUG elasticsearch log_request_success:66 < [{"status":"open"}]
2017-04-03 15:01:30,255 DEBUG curator.api.utils prune_open_or_closed:328 Including index logstash-2017.03.27: Opened.
2017-04-03 15:01:30,255 DEBUG urllib3.util.retry from_int:191 Converted retries value: False -> Retry(total=False, connect=None, read=None, redirect=0)
2017-04-03 15:01:30,255 DEBUG urllib3.connectionpool _make_request:400 http://localhost:9200 "GET / HTTP/1.1" 200 387
2017-04-03 15:01:30,256 INFO elasticsearch log_request_success:63 GET http://localhost:9200/ [status:200 request:0.001s]
2017-04-03 15:01:30,256 DEBUG elasticsearch log_request_success:65 > None
2017-04-03 15:01:30,256 DEBUG elasticsearch log_request_success:66 < {
"status" : 200,
"name" : "4203c74b-084b-44a1-a358-165b46bdf788",
"cluster_name" : "9e774f81-3725-4eb9-8072-d7aaf46bd83b",
"version" : {
"number" : "1.6.0",
"build_hash" : "cdd3ac4dde4f69524ec0a14de3828cb95bbb86d0",
"build_timestamp" : "2015-06-09T13:36:34Z",
"build_snapshot" : false,
"lucene_version" : "4.10.4"
},
"tagline" : "You Know, for Search"
}
2017-04-03 15:01:30,256 DEBUG urllib3.util.retry from_int:191 Converted retries value: False -> Retry(total=False, connect=None, read=None, redirect=0)
2017-04-03 15:01:30,397 DEBUG urllib3.connectionpool _make_request:400 http://localhost:9200 "POST /logstash-2017.03.27/_flush/synced HTTP/1.1" 200 113
2017-04-03 15:01:30,398 INFO elasticsearch log_request_success:63 POST http://localhost:9200/logstash-2017.03.27/_flush/synced [status:200 request:0.142s]
2017-04-03 15:01:30,398 DEBUG elasticsearch log_request_success:65 > None
2017-04-03 15:01:30,398 DEBUG elasticsearch log_request_success:66 < {"_shards":{"total":10,"successful":10,"failed":0},"logstash-2017.03.27":{"total":10,"successful":10,"failed":0}}
2017-04-03 15:01:30,398 INFO curator.api.seal seal_indices:49 Provided indices successfully sealed. (Shown with --debug flag enabled.)
2017-04-03 15:01:30,398 DEBUG curator.api.seal seal_indices:51 Successfully sealed indices: [u'logstash-2017.03.27']
2017-04-03 15:01:30,399 DEBUG urllib3.util.retry from_int:191 Converted retries value: False -> Retry(total=False, connect=None, read=None, redirect=0)
2017-04-03 15:01:30,777 DEBUG urllib3.connectionpool _make_request:400 http://localhost:9200 "POST /logstash-2017.03.27/_close?ignore_unavailable=true HTTP/1.1" 200 21
2017-04-03 15:01:30,777 INFO elasticsearch log_request_success:63 POST http://localhost:9200/logstash-2017.03.27/_close?ignore_unavailable=true [status:200 request:0.378s]
2017-04-03 15:01:30,777 DEBUG elasticsearch log_request_success:65 > None
2017-04-03 15:01:30,777 DEBUG elasticsearch log_request_success:66 < {"acknowledged":true}
2017-04-03 15:01:30,777 INFO curator.cli.utils exit_msg:67 Job completed successfully.