# How do i Parse the particular value

**URL:** <https://discuss.elastic.co/t/how-do-i-parse-the-particular-value/134055>\
**Category:** Logstash\
**Created:** [May 31, 2018, 12:59pm UTC](https://discuss.elastic.co/t/how-do-i-parse-the-particular-value/134055 "2018-05-31T12:59:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chinmaya\_Mishra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chinmaya_mishra/32/31787_2.png) [@Chinmaya\_Mishra](https://discuss.elastic.co/u/Chinmaya_Mishra)\
**Post date:** [May 31, 2018, 12:59pm UTC](https://discuss.elastic.co/t/how-do-i-parse-the-particular-value/134055/1 "2018-05-31T12:59:35Z")

</div>

How do i parsed \_dv -\> [0] -\> \_v value from below message

"message" =\> "{\_dv=[{\_t=SMU\_EVENTS, \_r=1527684757285, \_v={severity=INFO, analysisModule=MAC\_ANALYSIS, headerValue=, apMac=74:67:f7:63:9a:12, pa  
ramlist=[{Value=10.17.200.1, Key=DESTINATION IP}], reasonscodes=[], sessionID=3, ssid=ZGuest, wlanCode=608, analysisName=INITIAL\_CONNECTION, timeStamp  
=18:22:37:232, utcTime=2018-05-30 12:52:37, deviceMac=40:83:de:bb:50:39, eventtype=0, model=TC70x, sn=163235225D0335, ID=14, analysisStatus=ANALYSIS\_U  
PDATE, eventDate=2018\_05\_30}}],  
\_dn=SMU\_EVENTS}"

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [May 31, 2018, 1:53pm UTC](https://discuss.elastic.co/t/how-do-i-parse-the-particular-value/134055/2 "2018-05-31T13:53:10Z")

</div>

It is not even close to being JSON. Nothing is quoted, there are spaces embedded in values. Eek! If someone handed me that I would be thinking about using lex/yacc, not logstash.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 28, 2018, 1:53pm UTC](https://discuss.elastic.co/t/how-do-i-parse-the-particular-value/134055/3 "2018-06-28T13:53:16Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
