Skip to content

Influx::DB write does not work when there are some specific values in the data #6

Description

@gontikas

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions