# Jboss log to Json

**URL:** <https://discuss.elastic.co/t/jboss-log-to-json/117788>\
**Category:** Logstash\
**Created:** [January 31, 2018, 10:51am UTC](https://discuss.elastic.co/t/jboss-log-to-json/117788 "2018-01-31T10:51:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vigneshprasanna](https://avatars.discourse-cdn.com/v4/letter/v/a3d4f5/32.png) [@Vigneshprasanna](https://discuss.elastic.co/u/Vigneshprasanna)\
**Post date:** [January 31, 2018, 10:51am UTC](https://discuss.elastic.co/t/jboss-log-to-json/117788/1 "2018-01-31T10:51:40Z")

</div>

Hi,  
Can i give in parameter as jboss log in logstash and out parameter as json from logstash to elastic search ??  
if yes please help out with this log example

2018-01-31 00:00:00,633 INFO [STDOUT] (http-xxxx%xxx.xx.xx.xx-xx-7) 00:00:00,633 [xx.xxx.xxx.xxx.xxxx] INFO - xx xx xx [xxxxxxx//1/xxxxx.xx.xx.xx,xx:1:1=xxxxxx,ACTIVITY:1:1=ACCOUNTS-BALANCE-xxxx-INT,EFFECTIVE.DATE:1:1=xxxxx,CUSTOMER:1:1=xxxxx,CURRENCY:1:1=xxx,ACCOUNT.NUMBER:1:1=xxxxxxxx,PRODUCT.LINE:1:1=xxxx,xxx.xxxx:1:1=[TRANSACTION.xxx](http://TRANSACTION.xxx),xxx:1:1=NO,CUST.AC.NO:1:1=xxxxxx,xxxxx.IDENTI.CODE:1:1=xxxxx,AVAILABLE.BAL:1:1=0,LEDGER.BAL:1:1=0,CURR.NO:1:1=1]

im trying to convert the above log to the below format so that i can quer the log in kibana

"ARRANGEMENT":"xxxxxx",  
"ACTIVITY:"ACCOUNTS-BALANCE-ENQUIRY-INT",  
"EFFECTIVE.DATE":"xxxxx",  
"CUSTOMER":"xxxxx",  
"CURRENCY":"xxx",  
"ACCOUNT.NUMBER":"xxxxxxxx,  
"PRODUCT.LINE":"ACCOUNTS",  
"PRODUCT.GROUP":"TRANSACTION.ACCOUNT",  
"SIMULATE":"NO",  
"[CUST.AC.NO](http://CUST.AC.NO)":"xxxxxx",  
"xxxxx.IDENTI.CODE":"xxxxx",  
"AVAILABLE.BAL":"0",  
"LEDGER.BAL":"0",  
"[CURR.NO](http://CURR.NO)":"1

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 2, 2018, 1:23am UTC](https://discuss.elastic.co/t/jboss-log-to-json/117788/2 "2018-02-02T01:23:56Z")

</div>

Do you mean want to process that example entry and send it to Elasticsearch?

---

<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:** [March 2, 2018, 1:24am UTC](https://discuss.elastic.co/t/jboss-log-to-json/117788/3 "2018-03-02T01:24:02Z")

</div>

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