# Logstash ingesting gzip json file using http\_poller

**URL:** <https://discuss.elastic.co/t/logstash-ingesting-gzip-json-file-using-http-poller/183682>\
**Category:** Logstash\
**Created:** [May 31, 2019, 8:33am UTC](https://discuss.elastic.co/t/logstash-ingesting-gzip-json-file-using-http-poller/183682 "2019-05-31T08:33:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pastechecker](https://avatars.discourse-cdn.com/v4/letter/p/0ea827/32.png) [@pastechecker](https://discuss.elastic.co/u/pastechecker)\
**Post date:** [May 31, 2019, 8:33am UTC](https://discuss.elastic.co/t/logstash-ingesting-gzip-json-file-using-http-poller/183682/1 "2019-05-31T08:33:01Z")

</div>

Hello.  
I want to do the direct ingestion of the json.gzip file over http\_poller.

```
input {
    http_poller {
        urls => { url_1 => "https://nvd.nist.gov/feeds/json/cve/1.0/nvdcve-1.0-2019.json.gz" }
        request_timeout => 30
        tags => ["cve_json"]
        codec => gzip_lines { charset => "ISO-8859-1"}
        validate_after_inactivity => 200
        schedule => { cron => "24 10 * * *" }

    }
}
filter {
    json {
        source => "message"
        target => "message"
    }
}

output {
    stdout { codec => rubydebug }
}

```

> file nvdcve-1.0-2019.json.gz  
> nvdcve-1.0-2019.json.gz: gzip compressed data, from FAT filesystem (MS-DOS, OS/2, NT

Is there a way to ingest this like that not resorting to external script that will download, decompress the file and later logstash can read the json?

---

<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:** [June 28, 2019, 8:33am UTC](https://discuss.elastic.co/t/logstash-ingesting-gzip-json-file-using-http-poller/183682/2 "2019-06-28T08:33:07Z")

</div>

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