HEX

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit - prohibited by configuration in /home/u547966/brikov.ru/www/wp-content/plugins/admin-menu-editor/menu-editor.php on line 745
Server: Apache
System: Linux 4.19.0-0.bpo.9-amd64 x86_64 at red40
User: u547966 (5490)
PHP: 5.3.29-mh2
Disabled: syslog, dl, popen, proc_open, proc_nice, proc_get_status, proc_close, proc_terminate, posix_mkfifo, chown, chgrp, accelerator_reset, opcache_reset, accelerator_get_status, opcache_get_status, pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wifcontinued, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority
Upload Files
File: //usr/share/filebeat/module/zoom/webhook/ingest/recording.yml
description: Pipeline for parsing Zoom recording webhooks
processors:
- append:
    field: event.type
    value: info
- append:
    field: event.type
    value: creation
    if: ctx?.event?.action == 'recording.registration_created'
- append:
    field: event.type
    value: allowed
    if: ctx?.event?.action == 'recording.registration_approved'
- append:
    field: event.type
    value: denied
    if: ctx?.event?.action == 'recording.registration_denied'
- append:
    field: event.type
    value: deletion
    if: "['recording.deleted', 'recording.trashed'].contains(ctx?.event?.action)"
- append:
    field: event.type
    value: change
    if: "['recording.paused', 'recording.resumed', 'recording.renamed', 'recording.recovered'].contains(ctx?.event?.action)"
- append:
    field: event.type
    value: start
    if: ctx?.event?.action == 'recording.started'
- append:
    field: event.type
    value: end
    if: "['recording.stopped', 'recording.completed', 'recording.transcript_completed'].contains(ctx?.event?.action)"
- rename:
    field: zoom.object
    target_field: zoom.recording
    ignore_missing: true
- uri_parts:
    field: zoom.recording.share_url
    ignore_failure: true
    if: ctx?.zoom?.recording?.share_url != null
- rename:
    field: zoom.recording.share_url
    target_field: url.full
    ignore_missing: true
- date:
    field: zoom.time_stamp
    target_field: '@timestamp'
    formats:
    - UNIX_MS
    if: ctx?.event?.action == 'recording.renamed'
    ignore_failure: true
- remove:
    field: zoom.recording.recording_file.recording_start
    if: 'ctx.zoom?.recording?.recording_file?.recording_start == ""'
- remove:
    field: zoom.recording.recording_file.recording_end
    if: 'ctx.zoom?.recording?.recording_file?.recording_end == ""'
- set:
    field: event.start
    value: '{{ zoom.recording.recording_file.recording_start }}'
    ignore_empty_value: true
    if: ctx?.event?.action == 'recording.started'
- set:
    field: event.end
    value: '{{ zoom.recording.recording_file.recording_end }}'
    ignore_empty_value: true
    if: ctx?.event?.action == 'recording.stopped'
- script:
    lang: painless
    if: "ctx?.event?.end != null && ctx?.event?.start != null && ctx?.event?.action == 'recording.stopped'"
    source: >-
      ZonedDateTime start = ZonedDateTime.parse(ctx.event.start);
      ZonedDateTime end = ZonedDateTime.parse(ctx.event.end);
      ctx.event.duration = ChronoUnit.NANOS.between(start, end);
- date:
    field: zoom.recording.recording_file.recording_start
    target_field: '@timestamp'
    formats:
    - ISO_INSTANT
    if: "ctx?.zoom?.recording?.recording_file?.recording_start != null && ctx?.event?.action == 'recording.started'"
    ignore_failure: true
- append:
    field: related.user
    value: "{{zoom.recording.host_id}}"
    if: "ctx?.zoom?.recording?.host_id != null"
- append:
    field: related.user
    value: "{{zoom.registrant.id}}"
    if: "ctx?.zoom?.registrant?.id != null"
- remove:
    field: zoom.time_stamp
    ignore_missing: true
    if: ctx?.event?.action == 'recording.renamed'
- set:
    field: 'user.email'
    value: '{{zoom.registrant.email}}'
    ignore_empty_value: true
    if: 'ctx.user?.id == null && ctx.zoom?.registrant != null'
- set:
    field: 'user.full_name'
    value: '{{zoom.registrant.first_name}} {{zoom.registrant.last_name}}'
    ignore_empty_value: true
    if: 'ctx.user?.id == null && ctx.zoom?.registrant != null'
- set:
    field: 'user.id'
    value: '{{zoom.registrant.id}}'
    ignore_empty_value: true
    if: 'ctx.user?.id == null && ctx.zoom?.registrant != null'
- set:
    field: 'user.id'
    value: '{{zoom.recording.host_id}}'
    ignore_empty_value: true
    if: 'ctx.zoom?.registrant == null'
on_failure:
- set:
    field: error.message
    value: '{{ _ingest.on_failure_message }}'