Live Drilling
  • Introduction
  • FAQ
  • what's new
    • Latest releases
      • Wells 5
      • LiveRig 5
      • LiveRig 4
      • WITSML Store
    • Operations in Time by Depth Chart
    • Unit Sets
      • Per-Asset Units
      • Unit Conversion
      • Dashboard Configuration
      • Force Follow Asset Units
    • Well casing shoe schematic
    • Wells correlation
    • FFT spectrum
    • Pressure Tests
      • Configuration
      • Automated Standard Pressure Tests
      • Manual Pressure Test
      • LOT/FIT
    • Rig State detection
    • BOP Schematic
      • BOP status register
    • Signal Processing
      • Moving Average
  • Data Flow
    • Introduction
    • Data Ingestion
    • Data Normalization
      • Clock Synchronization
      • Normalized events schema
      • Data indexes and enrichment
      • Unit conversion
      • Auto-Switch
  • Physical Models
    • Introduction
      • Structure of the functions
      • Validation
    • General Equations
      • Static Data Dependencies
      • Pipes Functions
    • Trajectory
      • Introduction
      • Static Data Dependencies
      • Pipes Functions
    • Hydraulic
      • Introduction
      • Static Data Dependencies
      • Pipes Functions
    • Torque and Drag
      • Introduction
      • Static Data Dependencies
      • Pipes Functions
    • Hole Cleaning
      • Introduction
      • Static Data Dependencies
      • Pipes Functions
    • Surge and Swab
      • Introduction
      • Static Data Dependencies
      • Pipes Functions
    • Thermal
      • Introduction
    • Volume Tracker
      • Introduction
      • Pipes Functions
  • Basic Features
    • Charts
      • Channels Charts
        • Temporal Channels Chart
        • Channel Value Chart
        • Depth Channels Chart
        • Data navigation
          • Span Control
      • Rig Allocation Gantt Chart
    • Unit sets
      • Configuration changes on unit sets
      • Depth unit changes
      • Personal units sets
    • Permission schema
    • Import/Export Well
    • Add-ons
  • Static Data
    • Assets
      • Assets Structure
    • Well
      • Introduction
      • Well Schema
      • Well Units
      • Regions, fields and countries
      • Well Design Overview
      • Objectives
    • Intervention
      • Introduction
      • Intervention Schema
      • Intervention Types
      • Scenarios
      • Runs
      • Completion and Abandonment
      • Drilling Section Schema
    • Rig
      • Introduction
      • Rig Schema
      • Physical models configuration
    • Pipes functions
    • REST API Examples
  • Administration
    • High Frequency Data
      • WITSML Null Values
      • Unit Management Tools
      • WITS Custom Mapping
    • Data Normalization
      • Data Management
        • Event Settings
        • Channels Management
      • Data normalization templates
      • Data normalization templates prioritization
      • Auto-Switch
    • Standard Identifiers
    • Static Data
      • Regions, fields and countries
      • Intervention Types
  • LiveRig Collector
    • Introduction
    • Getting Started
    • Connecting to Intelie Live
    • Security
    • Local data storage
    • Data transmission and recovery
    • Monitoring
    • Remote Control
      • APIs
        • /testSourceEndpoint
        • /storeConfiguration
        • /getFromStore
        • /backlog-sync
      • Sources
        • MQTT Topics
        • OPC Requests
        • WITSML Backlog Sync
        • WITSML Object Explorer
        • WITSML Requests
      • Properties
    • HA Deployment
    • Protocols
      • WITSML
      • WITS
      • OPC-DA
      • OPC-UA
      • MODBUS
      • MQTT
      • CSV
      • RAW
    • Protocol conversion
    • Configuration
      • liverig.properties
      • sources.xml
      • store.json
      • modbus.json
      • mqtt.json
      • Configuring an OPC-UA source
      • Multiple event types for WITSML sources
      • Certificate-based authentication for WITSML HTTPS sources
    • LiveRig Collector Appliance
    • Command line Interface (CLI)
  • LIVE EDGE
    • Collector Reader
  • Integrations
    • Introduction
    • WITSML Store
    • REST Output
    • REST Input
    • WellView
    • OpenWells
    • Python
  • DEVELOPER
    • Identified Curves
    • Hidden Units
  • DEPRECATED
    • WITSML Output
    • LiveRig 3.x / 2.x
      • 3.5.0
      • 3.4.0
      • 3.3.0
      • 3.2.0
      • 3.1.0
      • 3.0.0
      • 2.29.0
Powered by GitBook
On this page
  • Troubleshooting
  • Stopping a Backlog Sync Request

Was this helpful?

  1. LiveRig Collector
  2. Remote Control
  3. Sources

WITSML Backlog Sync

PreviousOPC RequestsNextWITSML Object Explorer

Last updated 1 year ago

Was this helpful?

In order to use this feature, set enable_remote_control_backlog_sync as true in the file.

When the source is configured to WITSML in the client mode (pulling), the BacklogSync tab will show once the user clicks to edit the source. This feature allows retrieval of time or depth indexed logs data from the WITSML server.

Intelie Live will show all the previous backlog sync requests and details of each one.

To create a new request the user has to select the logs from the WITSML tree.

The user will need to select the time or depth logs to retrieve the data.

After selecting which logs will have the data retrieved, the user will need to select the depth interval and/or date time interval. The data retrieval will occur in batches.

The user will specify a data range for depth and/or date time. That range will be used for every WITSML log selected in the batch.

A new request will be created and the interface will show the progress of each request.

Troubleshooting

Stopping a Backlog Sync Request

Once a backlog sync request is started, it will wait until successfully finishes or fails. Today there is no feature to allow the user to cancel a request while it is running. As a workaround, there is a procedure to force the cancellation.

The Liverig Collector keeps all the backlog sync requests' states in files, organized by the WITSML sources, under the Liverig data directory. An example of this structure can be seen in the figure below.

In this example, we can see that there are 3 active backlog sync requests for the source ns01. The requests' states are stored within directories 52, 53, and 54 for this specific example. The folder number is auto-incremented by the collector whenever new requests arrive.

Inside each of these directories, there is a file named historyRequestFromRemoteFile, which contains the request metadata. As an example, let's take a look at the content of the request stored in the folder 52.

The metadata contains the main information about the request, including the target object identification, the searched range, and the parentUID that references the grouped request. This last field is crucial to stop a backlog sync request.

Removing a backlog sync directory will cause the request to be stopped. Ex.: if we remove the directory 0/52, that request will be removed from the Liverig Collector.

The procedure to stop a backlog sync request is described below:

  1. Identifying the requests to be stopped. Run a Pipes query in the Live console to list all the requests you want to remove. Of course, you can add other filters to improve the result. This is a base query.

 __witsml_remote_request_sync_batch__ request->qualifier:'COLLECTOR_QUALIFIER' request->instance:'COLLECTOR_INSTANCE' request->source:'SOURCE_NAME' request->rigName:'RIG_NAME' event:START

The query above will list all the events marking the start of requests related to a source. Ex.:

You can expand the field request to confirm which requests need to be stopped.

$ ./search_requests.sh /opt/liverig/data ns01 470cbff3-962a-4f41-a212-4c352cffa012

Liverig data dir: /opt/liverig/data
Source: ns01
Parent request UUID: 470cbff3-962a-4f41-a212-4c352cffa012

Looking for WITSML backlog sync requests in: /opt/liverig/data/sources/ns01/historyrequests

Result:

/opt/liverig/data/sources/ns01/historyrequests/0/52
/opt/liverig/data/sources/ns01/historyrequests/0/53
  1. Remove these directories and the requests will be stopped.

Starting at , it will be possible to specify both date and time using 30 min intervals for WITSML time logs. Prior to 4.6.0, only dates could be specified.

Find the requests within the backlog sync directories structure running the bash script. The script will print a list of directories that contain the searched requests. Ex.:

The last step is to clear the events related to those removed requests. To do that, just use this in the "Live Platform Customizations/Snippets Groovy", replacing the placeholders with the list of parents' UUIDs.

search_requests.sh
Groovy Snippet
liverig.properties
LiveRig 4.6.0
List of previous backlog sync requests
Request witsml tree to select time-logs
WITSML tree with time and depth logs
Configure Sync button enabled when time or depth logs are selected
Synchronize button enabled when time or depth interval are selected
Choose the date time in 30 min ranges for time logs
List of requests with progress
Querying Requests
Expanded Request