# Get Perl Data to InfluxDB

**URL:** <https://community.influxdata.com/t/get-perl-data-to-influxdb/24979>\
**Category:** InfluxDB 2\
**Created:** [May 10, 2022, 2:00pm UTC](https://community.influxdata.com/t/get-perl-data-to-influxdb/24979 "2022-05-10T14:00:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ekd](https://avatars.discourse-cdn.com/v4/letter/e/58f4c7/32.png) [@ekd](https://community.influxdata.com/u/ekd)\
**Post date:** [May 10, 2022, 2:00pm UTC](https://community.influxdata.com/t/get-perl-data-to-influxdb/24979/1 "2022-05-10T14:00:35Z")

</div>

Hi,  
I am new to InfluxDB but I managed to create measurements in InfluxDB using iperf3 and telegraf. This works fine and I can display my data in grafana. The data\_format is JSON.  
I want to do the same with the command “twping”. The return is only available in perl, not Json. How does InfluxDB accept Perl data?  
Example output:  
Approximately 13.0 seconds until results available  
SUMMARY 3.00  
SID 00000001e624e8d24f64f11b6a78084d  
FROM\_HOST localhost  
FROM\_ADDR ::1  
FROM\_PORT 8935  
TO\_HOST localhost  
TO\_ADDR ::1  
TO\_PORT 19645  
START\_TIME 16583635722175729458  
END\_TIME 16583635770647215368  
DSCP 0x00  
LOSS\_TIMEOUT 8593155818  
PACKET\_PADDING 27  
SESSION\_PACKET\_COUNT 100  
SAMPLE\_PACKET\_COUNT 100  
BUCKET\_WIDTH 0.0001  
SESSION\_FINISHED 1  
SENT 100  
SYNC 1  
MAXERR 9.31323e-10  
MAXERR\_FWD 4.65661e-10  
MAXERR\_BCK 4.65661e-10  
DUPS\_FWD 0  
DUPS\_BCK 0  
LOST 0  
MIN 0.00012064  
MIN\_FWD 4.57764e-05  
MIN\_BCK 4.673e-05  
MIN\_PROC 3.8147e-06  
MEDIAN 0.0003  
MEDIAN\_FWD 0.0002  
MEDIAN\_BCK 0.0001  
MAX 0.00129318  
MAX\_FWD 0.000573158  
MAX\_BCK 0.000720024  
MAX\_PROC 8.2016e-05  
PDV 0.0003  
PDV\_FWD 0.0002  
PDV\_BCK 0.0003  
  
1 0 17 73  
2 45 63 8  
3 31 11 12  
4 3 8 2  
5 7 0 4  
6 9 1 0  
7 2 0 0  
8 1 0 1  
9 1 0 0  
13 1 0 0  
  
MINTTL\_FWD 255  
MAXTTL\_FWD 255  
MINTTL\_BCK 255  
MAXTTL\_BCK 255  
  
255 100 100

---

<div class="post-metadata">

**Author:** ![Anaisdg](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/anaisdg/32/6401_2.png) [@Anaisdg](https://community.influxdata.com/u/Anaisdg)\
**Post date:** [May 10, 2022, 5:47pm UTC](https://community.influxdata.com/t/get-perl-data-to-influxdb/24979/2 "2022-05-10T17:47:06Z")

</div>

Hello @ekd,  
Welcome! The ingest format for InfluxDB is line protocol.

> **[InfluxDB line protocol tutorial | InfluxDB OSS 1.8 Documentation](https://docs.influxdata.com/influxdb/v1.8/write_protocols/line_protocol_tutorial/)**
>
> Tutorial for using InfluxDB line protocol.

You’ll have to convert the data into line protocol in order to write it to InfluxDB.
