# Preanalyzing some data on the edge

**URL:** <https://forums.losant.com/t/preanalyzing-some-data-on-the-edge/2652>\
**Category:** Help\
**Tags:** edge\
**Created:** [February 18, 2020, 1:06pm UTC](https://forums.losant.com/t/preanalyzing-some-data-on-the-edge/2652 "2020-02-18T13:06:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [February 18, 2020, 1:06pm UTC](https://forums.losant.com/t/preanalyzing-some-data-on-the-edge/2652/1 "2020-02-18T13:06:12Z")

</div>

If I want to pre process some sensor data collected at a higher rate on the edge agent and only send this “filtered” data to the attributes defined for a device, where would I store this “raw” data to be analyzed through an edge workflow?  
SQL db, redis or what do you suggest?

---

<div class="post-metadata">

**Author:** ![anaptfox](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/anaptfox/32/873_2.png) [@anaptfox](https://forums.losant.com/u/anaptfox)\
**Post date:** [February 18, 2020, 1:18pm UTC](https://forums.losant.com/t/preanalyzing-some-data-on-the-edge/2652/2 "2020-02-18T13:18:22Z")

</div>

@Lars_Andersson,

I think the answer to this question depends on how much data and how often you want to process. However, your two options I’d suggest are:

Workflow Storage:

> **[Storage: Set Value Node](https://docs.losant.com/workflows/data/store-value/)**
>
> Learn more about the Losant Storage: Set Value Node.

Here, you can store a bunch of values and use the “Fetch all currently stored values” to retrieve them all to process

> **[File: Write Node](https://docs.losant.com/workflows/data/file-write/)**
>
> Learn more about the Losant Write: Read Node.

Also, you can always write to a file and read it back when you need to process the data.

Those would be the two methods I’d recommend.
