logstash http input output plugin
1、output 外掛
input {
stdin {}
}
output{
http {
http_method => "post"
url => "http://10.10.10.10:90"
}
# stdout 是為了檢視輸出內容
stdout{
codec => rubydebug
}
}
2、input 外掛
input {
http{
# 監聽本機埠
host => "0.0.0.0"
port => 8081
}
}
filter {
# http 請求傳入 message為空時 則刪除該資訊
if ([message]== "")
{
drop {}
}
else
{
grok { match => ["message", "%{USERNAME:username}"]}
}
}
output{stdout{codec => rubydebug}}
作者:jiankunking 出處:http://blog.csdn.net/jiankunking
相關文章
- Logstash學習記錄--logstash input output filter 外掛總結Filter
- angular input和outputAngular
- bash : input/output errorError
- Logstash詳解之——output模組
- Input/output error [ linux ]ErrorLinux
- ElasticSearch7.3學習(三十二)----logstash三大外掛(input、filter、output)及其綜合示例ElasticsearchFilter
- logstash kafka output 日誌處理Kafka
- mount error(5): Input/output errorError
- mount.nfs: Input/output errorNFSError
- Logstash詳解之——input模組
- input delay和output delay講解
- MapReduce--Input與Output規則
- RAID 磁碟故障input/output errorAIError
- A+B for Input-Output Practice (IV) (sdut oj)
- 1128rman Input or output Memory Buffers
- logstash-input-file 配置屬性詳解
- Redirecting Standard Input/Output using the Process Class (轉)
- ElasticSearch5+logstash的logstash-input-jdbc實現mysql資料同步ElasticsearchH5JDBCMySql
- HDOJ 1094 A+B for Input-Output Practice (VI)
- [20171128]rman Input or output Memory Buffers.txt
- onnx 增刪改查,修改節點,刪除節點,修改input,output
- $_POST,$HTTP_RAW_POST_DATA,php://inputHTTPPHP
- RPC的基礎:調研EOS外掛http_pluginRPCHTTPPlugin
- requirement for output typeUIREM
- 【劉文彬】RPC的基礎:調研EOS外掛http_pluginRPCHTTPPlugin
- Logstash同步ES
- logstash nginx accessNginx
- linux 中的 nohup 命令(設定後臺程式): nohup: ignoring input and appending output to ‘nohup.out’LinuxAPP
- Taglist: Exuberant ctags (http://ctags.sf.net) not found in PATH. Plugin is not loaded.HTTPPlugin
- JQuery Plugin 2 - Passing Options into Your PluginjQueryPlugin
- maven assembly plugin,maven dependency plugin的使用MavenPlugin
- Logstash使用詳解
- ElasticSearch + Logstash + kibanaElasticsearch
- Logstash ruby 外掛
- Logstash日誌蒐集
- Logstash docker釋出Docker
- Logstash中的ruby
- $(":input")和$("input")區別