# Extracting data around specific triggers using Batch Processing

<figure><img src="/files/JxgXF3mYHaqaGK3I41G1" alt=""><figcaption></figcaption></figure>

Select 'Batch Processing' to open the 'Export data' window'.

1. In the 'General' tab

* Enable Convert files
* Select the desired format for conversion, e.g., CSV
* Enable 'Convert each input file to separate output file.'
* Enable 'Extract only data around specific triggers.'
* Click 'Browse' and specify the location to store the output file(s) (select 'Make New Folder' to save the file(s) in a completely 'new folder').
* Click 'OK'

<div align="left"><figure><img src="/files/VJPF2clsKre7gvVKMKpb" alt="" width="563"><figcaption></figcaption></figure></div>

2. In the 'Input files' tab

* Click on the ‘Add file(s) for conversion’ icon.
* Select the desired IVD file.
* Click 'Open'.

<div align="left"><figure><img src="/files/OscYdM7KUEbQwKoQOtA9" alt="" width="563"><figcaption></figcaption></figure></div>

This inputs the file to the Export data.

<div align="left"><figure><img src="/files/Sq1aczeYnqrU3gKtEuwo" alt="" width="563"><figcaption></figcaption></figure></div>

3. In the 'Trigger data filters' tab

* Set/define the 'Pre-Trigger time (sec)' and 'Post-Trigger time' (sec).
* Click 'Process'.

<div align="left"><figure><img src="/files/rAF8AI7HaOT9OwTEIYng" alt="" width="563"><figcaption></figcaption></figure></div>

Wait whilst the processing is complete.

<div align="left"><figure><img src="/files/6OXZ5Io4Swr3d7YMYkQV" alt="" width="445"><figcaption></figcaption></figure></div>

Click 'Close' once the processing is complete.

<div align="left"><figure><img src="/files/h4IcaOBk4eCW2cw46zTY" alt="" width="490"><figcaption></figcaption></figure></div>

Click 'OK' to proceed.

<div align="left"><figure><img src="/files/4JgCHDvLFDQcx75bFCfq" alt="" width="349"><figcaption></figcaption></figure></div>

The output files for each trigger event are saved at the specified location.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.influxtechnology.com/support_guides/dialog-user-guide/quick-start-guide/extracting-data-around-specific-triggers-using-batch-processing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
