# Ingest fixed length data from internet

**URL:** <https://discuss.elastic.co/t/ingest-fixed-length-data-from-internet/284142>\
**Category:** Logstash\
**Created:** [September 14, 2021, 5:45am UTC](https://discuss.elastic.co/t/ingest-fixed-length-data-from-internet/284142 "2021-09-14T05:45:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sparmar2000](https://avatars.discourse-cdn.com/v4/letter/s/3ec8ea/32.png) [@sparmar2000](https://discuss.elastic.co/u/sparmar2000)\
**Post date:** [September 14, 2021, 5:45am UTC](https://discuss.elastic.co/t/ingest-fixed-length-data-from-internet/284142/1 "2021-09-14T05:45:09Z")

</div>

I have internet based web site, fixed length data, that I need to ingest. Question:

1. Can beats be used - assuming have to use Logtash
2. The input has about 100 fixed length. Is there a 'easy' way to define the fields - referring to [How to parse data with fixed length but no separators - Elastic Stack / Logstash - Discuss the Elastic Stack](https://discuss.elastic.co/t/how-to-parse-data-with-fixed-length-but-no-separators/131772)
3. The input file will need be unencrypted. Any help would be really appreciated

---

<div class="post-metadata">

**Author:** ![AquaX](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aquax/32/92006_2.png) [@AquaX](https://discuss.elastic.co/u/AquaX)\
**Post date:** [September 14, 2021, 8:18pm UTC](https://discuss.elastic.co/t/ingest-fixed-length-data-from-internet/284142/2 "2021-09-14T20:18:36Z")

</div>

You can use just logstash to do this.  
Logstash has an [http\_poller](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-http_poller.html) input that you can use.

If you post an example of the data then I can help you further.

---

<div class="post-metadata">

**Author:** ![sparmar2000](https://avatars.discourse-cdn.com/v4/letter/s/3ec8ea/32.png) [@sparmar2000](https://discuss.elastic.co/u/sparmar2000)\
**Post date:** [September 17, 2021, 6:30am UTC](https://discuss.elastic.co/t/ingest-fixed-length-data-from-internet/284142/3 "2021-09-17T06:30:20Z")

</div>

Many thanks AquaX

Here is an extract of input file specification - the 1st column is a header. :  
|Label|Width|  
|Label1 |5|  
|Label2|10|  
|Label3|5|  
|Label4|1|  
|Label5|50|  
|Label6|50|  
|Label7|12|  
|Label8|12|  
|Label9|12|  
|Label10|5|  
|Label11|5|  
|Label12|50|  
|Label13|9|  
|Label14|10|  
|Label15|5|  
|Label16|10|  
|Label17|12|  
|Label18|12|  
|Label19|5|  
etc...total 100 labels

Hoping this helps 🙂

---

<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:** [October 15, 2021, 6:30am UTC](https://discuss.elastic.co/t/ingest-fixed-length-data-from-internet/284142/4 "2021-10-15T06:30:50Z")

</div>

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