> For the complete documentation index, see [llms.txt](https://docs.influxtechnology.com/support_guides/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.influxtechnology.com/support_guides/dialog-user-guide/quick-start-guide/extracting-data-around-specific-triggers-using-batch-processing.md).

# Extracting data around specific triggers using Batch Processing

<figure><img src="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2FuHuLQawEzYPr4bZ4AYLS%2Fimage.png?alt=media&amp;token=d8039f68-68a1-4872-a449-36d253688db5" 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="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2FS5330H2gaUwNgQFatXEy%2Fimage.png?alt=media&amp;token=5238e9be-84a1-49a5-bc10-a26f6173b8f4" 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="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2FOJL5HaLlWXaOP4FTIWKN%2Fimage.png?alt=media&amp;token=e6b26686-91d1-451b-8a1f-45a10ef5900e" alt="" width="563"><figcaption></figcaption></figure></div>

This inputs the file to the Export data.

<div align="left"><figure><img src="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2FC2bvJ55TsVzNTJIMqBDL%2Fimage.png?alt=media&amp;token=0a44798d-4c84-4ec9-bfb1-6f1d5b0b6b12" 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="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2FLUPtPl2SeQKDwvUYwnk7%2Fimage.png?alt=media&amp;token=0b8e1b37-1a75-410a-9ef8-4b27c05b45ea" alt="" width="563"><figcaption></figcaption></figure></div>

Wait whilst the processing is complete.

<div align="left"><figure><img src="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2FU0oCAhgR4GMSDEgoUZfW%2Fimage.png?alt=media&amp;token=dcdfa76f-f527-423e-93a9-a0dd257fee3f" alt="" width="445"><figcaption></figcaption></figure></div>

Click 'Close' once the processing is complete.

<div align="left"><figure><img src="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2FxN2uApBDLFexHVfbNjtU%2Fimage.png?alt=media&amp;token=14a82217-9bcb-49b2-93d9-2ae7e2906dab" alt="" width="490"><figcaption></figcaption></figure></div>

Click 'OK' to proceed.

<div align="left"><figure><img src="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2F8uRC2tBuNhVMzkIli9gG%2Fimage.png?alt=media&amp;token=571831a8-420e-4910-8372-9594865d5aac" alt="" width="349"><figcaption></figcaption></figure></div>

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
