# Logstash pipeline date filter doesn't work

**URL:** <https://discuss.elastic.co/t/logstash-pipeline-date-filter-doesnt-work/302386>\
**Category:** Logstash\
**Created:** [April 14, 2022, 2:23am UTC](https://discuss.elastic.co/t/logstash-pipeline-date-filter-doesnt-work/302386 "2022-04-14T02:23:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zerojin63](https://avatars.discourse-cdn.com/v4/letter/z/97f17d/32.png) [@zerojin63](https://discuss.elastic.co/u/zerojin63)\
**Post date:** [April 14, 2022, 2:23am UTC](https://discuss.elastic.co/t/logstash-pipeline-date-filter-doesnt-work/302386/1 "2022-04-14T02:23:21Z")

</div>

Hi,

I wanted to display timestamp of a certain index in two ways, one in my local timezone (in evt\_time field) and the other in Los Angeles timezone (in evt\_time\_america field).

So I added 'date' filter to my logstash pipeline like below.

```auto
	date {
		match => ["evt_time", "ISO8601", "YYYY-MM-dd HH:mm:ss,SSS"]
		timezone => "America/Los_Angeles"
		target => "evt_time_america"
	}

```

But when i check through Kibana both fields (evt\_time & evt\_time\_america) shows the same timestamp.

Is it supposed to be like this? Or is my date filter not working for some reason?

---

<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:** [May 12, 2022, 2:23am UTC](https://discuss.elastic.co/t/logstash-pipeline-date-filter-doesnt-work/302386/2 "2022-05-12T02:23:34Z")

</div>

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