Hello,
I am using this to write to influxDB.
$influx2->write($arrayref, 'database' => 'myDB');
I am using Dumper to check the data before writing to DB.
This one works:
$VAR2 = 'pdn_con_stats,host=MME1,mmepool=mmepoolc2 Failure_at_enb:\ eps_esm_cause_network_failure=17.13,Success=66.35 1535483595493004000';
Query from Influx:
2018-08-28T19:13:15.493004Z 17.13 66.35 DE2VMME1 mmepoolc2
This one doesn't
$VAR2 = 'pdn_con_stats,host=MME1,mmepool=mmepoolc2 Failure_at_enb:\ eps_esm_cause_network_failure=16.19,Failure_at_pgw:\ dns_failure=0.02,Success=68.24 1535484008168269000';
There were no influx DB entries.