# Metric parsing error, reason: \[missing tag value\]

**URL:** <https://community.influxdata.com/t/metric-parsing-error-reason-missing-tag-value/9512>\
**Category:** Systems\
**Created:** [April 19, 2019, 1:40pm UTC](https://community.influxdata.com/t/metric-parsing-error-reason-missing-tag-value/9512 "2019-04-19T13:40:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajaypabba](https://avatars.discourse-cdn.com/v4/letter/a/90db22/32.png) [@ajaypabba](https://community.influxdata.com/u/ajaypabba)\
**Post date:** [April 19, 2019, 1:40pm UTC](https://community.influxdata.com/t/metric-parsing-error-reason-missing-tag-value/9512/1 "2019-04-19T13:40:45Z")

</div>

Hi Team…

I’m Trying to store the data in influx via inline protocol and following all rules of it… buts till im getting below error , Could you please check and confirm me the issue ?

Script output to store in influx DB:

controlm\_report,job\_name=ABC\_XYZ\_ABC\_ABC\_ABC,job\_status=“ENDED OK” job\_status=“ENDED OK”

Config im Using:

[[inputs.exec]]  
#Shell/commands array  
commands = [  
“/xyz/support/srav/abc\_report.bsh”  
]

# Data format to consume. This can be “json”, “influx” or “graphite” (lineprotocol)

timeout = “40s”  
data\_format = “influx”  
interval = “100s”

Error Im getting :

2019-04-19T12:41:05Z E! Error in plugin [inputs.exec]: metric parsing error, reason: [missing tag value], buffer: [controlm\_report,Job\_Name=,Job\_status="" Job\_status=""], index: [25]

---

<div class="post-metadata">

**Author:** ![daniel](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/daniel/32/142_2.png) [@daniel](https://community.influxdata.com/u/daniel)\
**Post date:** [April 25, 2019, 9:21pm UTC](https://community.influxdata.com/t/metric-parsing-error-reason-missing-tag-value/9512/2 "2019-04-25T21:21:38Z")

</div>

Here is the output from your script that Telegraf received, there are a couple issues with the line protocol output:

```auto
controlm_report,Job_Name=,Job_status="" Job_status=""

```

`Job_Name` needs to have a value. On `Job_status`, it is valid, but you probably don’t want the quotes as they will be part of the value on tags (but are required on string fields).

It looks like something is preventing your script from reading these values so that it matches your expected example above, often this is caused by the scripts being ran as the `telegraf` user.
