Sam的程式筆記

  • About Me
  • Archive
  • feeds

Posts match “ json ” tag:

over 9 years ago

Spring與Jackson結合

要讓Spring自動幫你轉成Json格式有很多方法,目前採用Jackson2解決方式

Read on →
  • spring
  • json
  • October 01, 2013 17:16
  • Permalink
  • Comments
 
over 9 years ago

自訂json欄位過濾器

在結合Spring跟jackson之後,幾乎所有的物件幾乎都可以自動幫你變成json資料格式輸出,
雖然有@JsonIgnore可以註解掉某些不想輸出的欄位,但有的時候需要有的時候不需要的話就要靠自訂過濾器來輔助了

Read on →
  • spring
  • json
  • filter
  • October 04, 2013 13:48
  • Permalink
  • Comments
 
over 7 years ago

Collecting Application Log Use Logstash to Elasticsearch

Logstash是一個log收集的工具,提供了多種輸入輸出以及格式化的工具,但是在Linux平台會有比較好的支援,如果要跑在Windows上,就要多試試哪些指令是可以正常執行的

OS:Ubuntu14.04、Windows8
APP:JDK8、ElasticSearch1.6.0、logstash-1.5.2、kibana-4.1.1

Read on →
  • Log
  • log4j2
  • logstash
  • ElasticSearch
  • json
  • windows
  • kibana
  • nginx
  • July 14, 2015 11:21
  • Permalink
  • Comments
 

Copyright © 2013 samchu . Powered by Logdown.
Based on work at subtlepatterns.com.