# \#xml

**URL:** https://community.influxdata.com/tag/xml/115.md

[Latest](https://community.influxdata.com/latest.md) · [Categories](https://community.influxdata.com/categories.md) · [Tags](https://community.influxdata.com/tags.md)

---

## [Parsing xmal file from firewall Palo Alto](https://community.influxdata.com/t/parsing-xmal-file-from-firewall-palo-alto/31291)

<div class="topic-metadata">

**Author:** [@BGA](https://community.influxdata.com/u/BGA)\
**Replies:** 2\
**Last updated:** [September 9, 2023, 8:35am UTC](https://community.influxdata.com/t/parsing-xmal-file-from-firewall-palo-alto/31291 "2023-09-09T08:35:13Z")

</div>

Hello, I’m new to telegraf and I’m looking to how to extract informations from an xml file. I have tried several tips but not working. I have tried to start getting hostname but doesn’t work \[\[inputs.file\]\] files = …

---

## [Multiple field\_selection definitions per XML file](https://community.influxdata.com/t/multiple-field-selection-definitions-per-xml-file/31260)

<div class="topic-metadata">

**Author:** [@sjbruce](https://community.influxdata.com/u/sjbruce)\
**Replies:** 2\
**Last updated:** [August 24, 2023, 5:20pm UTC](https://community.influxdata.com/t/multiple-field-selection-definitions-per-xml-file/31260 "2023-08-24T17:20:42Z")

</div>

Hi folks, I have a gnarly piece of XML that I’m looking to parse with many fields that will change from file to file. The specific issue are the tags under: /om:ObservationCollection/om:member/om:Observation/om:result…

---

## [Wowza Streaming Server XML parser](https://community.influxdata.com/t/wowza-streaming-server-xml-parser/30988)

<div class="topic-metadata">

**Author:** [@aydinyildirim73](https://community.influxdata.com/u/aydinyildirim73)\
**Replies:** 3\
**Last updated:** [August 18, 2023, 9:08am UTC](https://community.influxdata.com/t/wowza-streaming-server-xml-parser/30988 "2023-08-18T09:08:53Z")

</div>

Hello, I want to properly transfer the data in the following XML structure obtained from Wowza Streaming Engine (http://localhost:8080/connectioncounts.xml) to InfluxDB using Telegraf, Golang, or any other method and vis…

---

## [Trailing zeros are added to timestamp](https://community.influxdata.com/t/trailing-zeros-are-added-to-timestamp/26281)

<div class="topic-metadata">

**Author:** [@Dirk\_Fries](https://community.influxdata.com/u/Dirk_Fries)\
**Replies:** 1\
**Last updated:** [August 26, 2022, 1:44pm UTC](https://community.influxdata.com/t/trailing-zeros-are-added-to-timestamp/26281 "2022-08-26T13:44:59Z")

</div>

Hi there, I got some strange issue with xml parsing in telegraf 1.23.4. I have an XML File with a timestamp in it like this timestamp=“1661517236” to parse this field I set in my telegraf config: timestamp = “//@tim…

---

## [Inputs.http xml.xpath not working in metric\_name](https://community.influxdata.com/t/inputs-http-xml-xpath-not-working-in-metric-name/26046)

<div class="topic-metadata">

**Author:** [@JanPono](https://community.influxdata.com/u/JanPono)\
**Replies:** 2\
**Last updated:** [August 9, 2022, 10:50am UTC](https://community.influxdata.com/t/inputs-http-xml-xpath-not-working-in-metric-name/26046 "2022-08-09T10:50:20Z")

</div>

Hi, I am trying to change metric\_name ( telegraf/plugins/parsers/xpath at master · influxdata/telegraf · GitHub ) This is somehow not working :frowning: … I would like to change metric\_name (to be dropped later) in cas…

---

## [Inputs.http.xml config help?](https://community.influxdata.com/t/inputs-http-xml-config-help/25643)

<div class="topic-metadata">

**Author:** [@Nigel\_Hewett](https://community.influxdata.com/u/Nigel_Hewett)\
**Replies:** 7\
**Last updated:** [July 6, 2022, 10:04am UTC](https://community.influxdata.com/t/inputs-http-xml-config-help/25643 "2022-07-06T10:04:37Z")

</div>

i have the following xml :slight\_smile: \<perf-config\> \<server name="RMF-DDS-Server" version="ZOSV2R4" functionality="3409"/\> \<performance-data\> \<buttons\>YES\</buttons\> \<metric id="12345" description="% IIP by job" type="…

---

## [Parsing XML to telegraf, possible select several children paths?](https://community.influxdata.com/t/parsing-xml-to-telegraf-possible-select-several-children-paths/24806)

<div class="topic-metadata">

**Author:** [@CZvacko](https://community.influxdata.com/u/CZvacko)\
**Replies:** 8\
**Last updated:** [May 9, 2022, 12:07pm UTC](https://community.influxdata.com/t/parsing-xml-to-telegraf-possible-select-several-children-paths/24806 "2022-05-09T12:07:28Z")

</div>

Hi, I have xml like this \<?xml version="1.0" encoding="ISO-8859-1"?\> \<root\> \<err\>0\</err\> \<devname\>Thermo\</devname\> \<devsn\>22940676\</devsn\> \<time\>2022-04-27T10:35:55+01:00\</time\> \<timeunix\>1651055755\</timeunix\> \<sy…

---

## [XML parsing using telegraf](https://community.influxdata.com/t/xml-parsing-using-telegraf/24214)

<div class="topic-metadata">

**Author:** [@Pratik\_Das\_Baghel](https://community.influxdata.com/u/Pratik_Das_Baghel)\
**Replies:** 2\
**Last updated:** [April 20, 2022, 11:05am UTC](https://community.influxdata.com/t/xml-parsing-using-telegraf/24214 "2022-04-20T11:05:02Z")

</div>

Hi. I am using telegraf to parse my xml data. I am having a requirement to get the node name and the value. However i am not able to get the node name and i am able to get the child name. Below is Xml data and telegraf …

---

## [Reading all the fields from XPath in one go without defining each field](https://community.influxdata.com/t/reading-all-the-fields-from-xpath-in-one-go-without-defining-each-field/24195)

<div class="topic-metadata">

**Author:** [@Ravikant\_Gautam](https://community.influxdata.com/u/Ravikant_Gautam)\
**Replies:** 5\
**Last updated:** [March 15, 2022, 9:16am UTC](https://community.influxdata.com/t/reading-all-the-fields-from-xpath-in-one-go-without-defining-each-field/24195 "2022-03-15T09:16:03Z")

</div>

I am reading the data from the MQTT consumer and data is coming in XML format after deserializing from proto. In my data, I have more than 1K fields and every field name is different so defining each field in telegraf.c…

---

## [Telegraf xml protobuf doubt](https://community.influxdata.com/t/telegraf-xml-protobuf-doubt/23985)

<div class="topic-metadata">

**Author:** [@Pratik\_Das\_Baghel](https://community.influxdata.com/u/Pratik_Das_Baghel)\
**Replies:** 21\
**Last updated:** [March 12, 2022, 7:11am UTC](https://community.influxdata.com/t/telegraf-xml-protobuf-doubt/23985 "2022-03-12T07:11:44Z")

</div>

We are getting protobuf message, which we are trying to read using telegraf. Few errors we are getting: a. what value should be there for xpath\_protobuf\_type. I am trying some options but getting error “Proto” not found…

---

## [Telegraf xml parser](https://community.influxdata.com/t/telegraf-xml-parser/23514)

<div class="topic-metadata">

**Author:** [@Paroles\_Paroles](https://community.influxdata.com/u/Paroles_Paroles)\
**Replies:** 14\
**Last updated:** [February 16, 2022, 12:18pm UTC](https://community.influxdata.com/t/telegraf-xml-parser/23514 "2022-02-16T12:18:28Z")

</div>

Hello, can someone help with telegaf plugin to parse xml data into influx, here is sample xml data which I’m getting from my device. What I would need to collect is: localDn = SubNetwork=Router1,ManagedElement=node-1 …

---

## [Inputs.http to parse xml creates panic](https://community.influxdata.com/t/inputs-http-to-parse-xml-creates-panic/23785)

<div class="topic-metadata">

**Author:** [@beacher\_pille88](https://community.influxdata.com/u/beacher_pille88)\
**Replies:** 2\
**Last updated:** [February 11, 2022, 6:52am UTC](https://community.influxdata.com/t/inputs-http-to-parse-xml-creates-panic/23785 "2022-02-11T06:52:17Z")

</div>

Hello everyone, I try to process an XML response via http from openhab-REST-API to InfluxDB version 2.1.1, but the telegraf service restarts with following error message: panic: runtime error: invalid memory address or…

---

## [How to use inputs.http plugin for the http APIs which return XML data](https://community.influxdata.com/t/how-to-use-inputs-http-plugin-for-the-http-apis-which-return-xml-data/21013)

<div class="topic-metadata">

**Author:** [@pavannayakanti](https://community.influxdata.com/u/pavannayakanti)\
**Replies:** 11\
**Last updated:** [October 20, 2021, 4:34pm UTC](https://community.influxdata.com/t/how-to-use-inputs-http-plugin-for-the-http-apis-which-return-xml-data/21013 "2021-10-20T16:34:23Z")

</div>

Hello, Am using \[\[inputs.http\]\] to fetch the outcome from a REST API. However, am the REST API is is returning xml data instead of json. am using data\_format = "xml" , but it doesn’t works though. Just wondering if thi…

---

## [Need help parsing XML to telegraf, happy to pay](https://community.influxdata.com/t/need-help-parsing-xml-to-telegraf-happy-to-pay/21287)

<div class="topic-metadata">

**Author:** [@icepicknz](https://community.influxdata.com/u/icepicknz)\
**Replies:** 3\
**Last updated:** [August 20, 2021, 11:39am UTC](https://community.influxdata.com/t/need-help-parsing-xml-to-telegraf-happy-to-pay/21287 "2021-08-20T11:39:32Z")

</div>

Hi, I’m trying to parse http://unix.co.nz/smsc02.htm (XML) example to telegraf. SMS: received 58101 (1 queued), sent 266208 (0 queued), store size 1 These values will change the more messages sent or received and I wa…

---

## [Telegraf and MQTT Consumer, string contains XML format](https://community.influxdata.com/t/telegraf-and-mqtt-consumer-string-contains-xml-format/21032)

<div class="topic-metadata">

**Author:** [@PhoenixAlex](https://community.influxdata.com/u/PhoenixAlex)\
**Replies:** 14\
**Last updated:** [August 4, 2021, 12:09pm UTC](https://community.influxdata.com/t/telegraf-and-mqtt-consumer-string-contains-xml-format/21032 "2021-08-04T12:09:48Z")

</div>

Hi, there. Is it possible to decode also string in XML format, which I receiving over MQTT consumer? The string should have this content: 9900001-01-01T00:00:0002021-08-03T13:38:42.656Z0 Well, I need only this the va…
