# Elastic Agent - Import only the latest data using Journald integration

**URL:** https://discuss.elastic.co/t/elastic-agent-import-only-the-latest-data-using-journald-integration/324097
**Category:** Elastic Agent
**Created:** [January 27, 2023, 9:53am UTC](https://discuss.elastic.co/t/elastic-agent-import-only-the-latest-data-using-journald-integration/324097 "2023-01-27T09:53:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![daniele.saccon](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@daniele.saccon](https://discuss.elastic.co/u/daniele.saccon)
#### Post date: [January 27, 2023, 9:53am UTC](https://discuss.elastic.co/t/elastic-agent-import-only-the-latest-data-using-journald-integration/324097/1 "2023-01-27T09:53:16Z")

</div>

Hello everybody,

I'm using the [Journald](https://docs.elastic.co/integrations/journald) integration for the Elastic Agent.  
Is it possible to import only the last 7 days of the Journald instead of all the data? If it is possible how can I do?

Thanks

Daniele

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [February 24, 2023, 9:53am UTC](https://discuss.elastic.co/t/elastic-agent-import-only-the-latest-data-using-journald-integration/324097/2 "2023-02-24T09:53:18Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
