Skip to main content

Run services

The following services are managing operations required by the system to run.
Below is their default configuration.

MailSender

"@id": mail-sender
"@type": ServerConfiguration
version: '0.1'
jsonSizeLimitKB: 5000

Maintenance

---
"@id": maintenance
"@type": ServerConfiguration
version: '0.1'
operationsStore:
node: http://elasticsearch:9200
saveTimeout: PT90S
connectTimeout: PT2S
connectRetryDelay: PT15S
connectRetryTimes: 15
circuitDuration: PT30S
circuitThreshold: 1
configStore:
node: http://elasticsearch:9200
getTimeout: PT30S
saveTimeout: PT30S
connectTimeout: PT2S
connectRetryDelay: PT15S
connectRetryTimes: 15
circuitDuration: PT30S
circuitThreshold: 1
backupStore:
accessKeyId: ''
secretAccessKey: ''
region: ''
endpoint: ''
bucket: ''
saveTimeout: PT30S
circuitDuration: PT30S
circuitThreshold: 1
forceMergeJob:
delay: PT45M
indices:
- name: spider-active-hosts-streaming-default
circuitBreaker: ESHosts
- name: spider-active-hosts-uploaded-default
circuitBreaker: ESHosts
- name: spider-whisp-status
circuitBreaker: ESWhispStatus
- name: spider-session
circuitBreaker: ESSessions
purgeJob:
delay: P1D
indices:
- name: spider-whisp-status
store: operationsStore
circuitBreaker: ESWhispStatus
dateField: dateModified
maxAge: 1d
- name: spider-customers
store: configStore
circuitBreaker: ESCustomers
dateField: dateModified
maxAge: 6M
filter: technicalStatus:DELETED
- name: spider-attachments
store: configStore
circuitBreaker: ESAttachments
dateField: dateModified
maxAge: 6M
filter: NOT status:ATTACHED
- name: spider-whisp
store: configStore
circuitBreaker: ESWhisp
dateField: dateModified
maxAge: 6M
filter: technicalStatus:DELETED
- name: spider-link
store: configStore
circuitBreaker: ESLinks
dateField: dateCreated
maxAge: 3M
- name: spider-controllers
store: configStore
circuitBreaker: ESControllers
dateField: dateModified
maxAge: 6M
filter: technicalStatus:DELETED
backupJob:
active: false
delay: P1D
indices:
- store: configStore
name: spider-whisp
type: Whisperers
circuitBreaker: ESWhisp
filter: technicalStatus:ACTIVE
- store: configStore
name: spider-customers
type: Customers
circuitBreaker: ESCustomers
filter: technicalStatus:ACTIVE
- store: configStore
name: spider-teams
type: Teams
circuitBreaker: ESTeams
filter: technicalStatus:ACTIVE
- store: configStore
name: spider-guisettings
type: UiSettings
circuitBreaker: ESSettings
- store: configStore
name: spider-controllers
type: Controllers
circuitBreaker: ESControllers
filter: technicalStatus:ACTIVE
- store: configStore
name: spider-attachments
type: Attachments
circuitBreaker: ESAttachments
filter: status:ATTACHED
cleanWhisperersJob:
active: false
delay: P1D
apis:
searchWhisperers:
uri: http://gateway:80/whisp/v1/whisperers/_search
group: Whisp
label: GET /whisperers
timeout: PT10S
searchTeams:
uri: http://gateway:80/teams/v1/teams/_search
group: Teams
label: GET /teams
timeout: PT10S
searchUsers:
uri: http://gateway:80/customers/v1/customers/_search
group: Customers
label: GET /customers
timeout: PT10S
teamItem:
uri: http://gateway:80/teams/v1/teams/{id}
label: "/teams/{id}"
timeout: PT10S
userItem:
uri: http://gateway:80/customers/v1/customers/{id}
label: "/customers/{id}"
timeout: PT10S

StatsCollector

"@id": stats-collector
"@type": ServerConfiguration
version: '0.1'
collector:
searchLogs:
uri: http://monitor-read/v1/logs/_search
timeout: PT30S
label: GET /monitor-read/logs
searchElastic:
uri: http://monitor-read/v1/elasticsearch/_search
timeout: PT30S
label: GET /monitor-read/elasticsearch
searchMetrics:
uri: http://monitor-read/v1/metricbeat/_search
timeout: PT30S
label: GET /monitor-read/metricbeat
searchParsers:
uri: http://monitor-read/v1/parsers/_search
timeout: PT30S
label: GET /monitor-read/parsers
searchSessions:
uri: http://session/v1/sessions/_search
timeout: PT30S
label: GET /sessions
searchWhispStatus:
uri: http://whisps-status/v1/status/history/_search
timeout: PT30S
label: GET /status/history
downstreamCb:
circuitDuration: PT10S
circuitThreshold: 0.1
endpoint: http://spider.io/network