[DEBUG] 2020-08-08 14:58:25.395 [Converge PipelineAction::Create<main>] dissect - config LogStash::Filters::Dissect/@add_tag = []
[DEBUG] 2020-08-08 14:58:25.396 [Converge PipelineAction::Create<main>] dissect - config LogStash::Filters::Dissect/@remove_tag = []
[DEBUG] 2020-08-08 14:58:25.396 [Converge PipelineAction::Create<main>] dissect - config LogStash::Filters::Dissect/@add_field = {}
[DEBUG] 2020-08-08 14:58:25.396 [Converge PipelineAction::Create<main>] dissect - config LogStash::Filters::Dissect/@remove_field = []
[DEBUG] 2020-08-08 14:58:25.396 [Converge PipelineAction::Create<main>] dissect - config LogStash::Filters::Dissect/@periodic_flush = false
[DEBUG] 2020-08-08 14:58:25.396 [Converge PipelineAction::Create<main>] dissect - config LogStash::Filters::Dissect/@tag_on_failure = ["_dissectfailure"]
[DEBUG] 2020-08-08 14:58:25.408 [Converge PipelineAction::Create<main>] registry - On demand adding plugin to the registry {:name=>"drop", :type=>"filter", :class=>LogStash::Filters::Drop}
[DEBUG] 2020-08-08 14:58:25.421 [Converge PipelineAction::Create<main>] drop - config LogStash::Filters::Drop/@id = "d588837e65190f1decf82d06e322a66f5370b82b710beaef8e9b9397fc0b8bf4"
[DEBUG] 2020-08-08 14:58:25.422 [Converge PipelineAction::Create<main>] drop - config LogStash::Filters::Drop/@enable_metric = true
[DEBUG] 2020-08-08 14:58:25.422 [Converge PipelineAction::Create<main>] drop - config LogStash::Filters::Drop/@add_tag = []
[DEBUG] 2020-08-08 14:58:25.422 [Converge PipelineAction::Create<main>] drop - config LogStash::Filters::Drop/@remove_tag = []
[DEBUG] 2020-08-08 14:58:25.422 [Converge PipelineAction::Create<main>] drop - config LogStash::Filters::Drop/@add_field = {}
[DEBUG] 2020-08-08 14:58:25.422 [Converge PipelineAction::Create<main>] drop - config LogStash::Filters::Drop/@remove_field = []
[DEBUG] 2020-08-08 14:58:25.422 [Converge PipelineAction::Create<main>] drop - config LogStash::Filters::Drop/@periodic_flush = false
[DEBUG] 2020-08-08 14:58:25.422 [Converge PipelineAction::Create<main>] drop - config LogStash::Filters::Drop/@percentage = 100
[DEBUG] 2020-08-08 14:58:25.426 [Converge PipelineAction::Create<main>] registry - On demand adding plugin to the registry {:name=>"stdout", :type=>"output", :class=>LogStash::Outputs::Stdout}
[DEBUG] 2020-08-08 14:58:25.445 [Converge PipelineAction::Create<main>] registry - On demand adding plugin to the registry {:name=>"rubydebug", :type=>"codec", :class=>LogStash::Codecs::RubyDebug}
[DEBUG] 2020-08-08 14:58:25.456 [Converge PipelineAction::Create<main>] rubydebug - config LogStash::Codecs::RubyDebug/@id = "rubydebug_8c004552-a209-4773-9a25-46fd7e488a63"
[DEBUG] 2020-08-08 14:58:25.456 [Converge PipelineAction::Create<main>] rubydebug - config LogStash::Codecs::RubyDebug/@enable_metric = true
[DEBUG] 2020-08-08 14:58:25.456 [Converge PipelineAction::Create<main>] rubydebug - config LogStash::Codecs::RubyDebug/@metadata = false
[DEBUG] 2020-08-08 14:58:26.025 [Converge PipelineAction::Create<main>] stdout - config LogStash::Outputs::Stdout/@codec = <LogStash::Codecs::RubyDebug id=>"rubydebug_8c004552-a209-4773-9a25-46fd7e488a63", enable_metric=>true, metadata=>false>
[DEBUG] 2020-08-08 14:58:26.025 [Converge PipelineAction::Create<main>] stdout - config LogStash::Outputs::Stdout/@id = "6c837b12513d0942fb7276e693c92ddea634ef0c4de534933a125695ead4cf32"
[DEBUG] 2020-08-08 14:58:26.026 [Converge PipelineAction::Create<main>] stdout - config LogStash::Outputs::Stdout/@enable_metric = true
[DEBUG] 2020-08-08 14:58:26.026 [Converge PipelineAction::Create<main>] stdout - config LogStash::Outputs::Stdout/@workers = 1
[DEBUG] 2020-08-08 14:58:26.038 [Converge PipelineAction::Create<main>] JavaBasePipelineExt - Compiled pipeline code for pipeline main : **GRAPH**
Vertices: 6 Edges: 6
----------------------P[input-stdin{}|[str]pipeline:2:5:```
stdin { }
```] -> __QUEUE__
__QUEUE__ -> P[filter-dissect{"mapping"=>{"message"=>"%{octet_1}.%{octet_2}.%{octet_3}.%{octet_4}"}, "convert_datatype"=>{"octet_1"=>"int", "octet_2"=>"int", "octet_3"=>"int", "octet_4"=>"int"}}|[str]pipeline:8:5:```
dissect {
mapping => {
"message" => "%{octet_1}.%{octet_2}.%{octet_3}.%{octet_4}"
}
convert_datatype => {
"octet_1" => "int"
"octet_2" => "int"
"octet_3" => "int"
"octet_4" => "int"
}
}
```]
P[filter-dissect{"mapping"=>{"message"=>"%{octet_1}.%{octet_2}.%{octet_3}.%{octet_4}"}, "convert_datatype"=>{"octet_1"=>"int", "octet_2"=>"int", "octet_3"=>"int", "octet_4"=>"int"}}|[str]pipeline:8:5:```
dissect {
mapping => {
"message" => "%{octet_1}.%{octet_2}.%{octet_3}.%{octet_4}"
}
convert_datatype => {
"octet_1" => "int"
"octet_2" => "int"
"octet_3" => "int"
"octet_4" => "int"
}
}
```] -> [if ((event.getField('[octet_1]')==0)||((event.getField('[octet_1]')==10)||((event.getField('[octet_1]')==127)||(((event.getField('[octet_1]')==100)&&((event.getField('[octet_2]')>=64)&&(event.getField('[octet_2]')<=127)))||(((event.getField('[octet_1]')==172)&&((event.getField('[octet_2]')>=16)&&(event.getField('[octet_2]')<=31)))||(((event.getField('[octet_1]')==192)&&(event.getField('[octet_2]')==168))||((event.getField('[octet_1]')==169)&&(event.getField('[octet_2]')==254))))))))]
[if ((event.getField('[octet_1]')==0)||((event.getField('[octet_1]')==10)||((event.getField('[octet_1]')==127)||(((event.getField('[octet_1]')==100)&&((event.getField('[octet_2]')>=64)&&(event.getField('[octet_2]')<=127)))||(((event.getField('[octet_1]')==172)&&((event.getField('[octet_2]')>=16)&&(event.getField('[octet_2]')<=31)))||(((event.getField('[octet_1]')==192)&&(event.getField('[octet_2]')==168))||((event.getField('[octet_1]')==169)&&(event.getField('[octet_2]')==254))))))))] -|true|-> P[filter-drop{}|[str]pipeline:31:9:```
drop { }
```]
[if ((event.getField('[octet_1]')==0)||((event.getField('[octet_1]')==10)||((event.getField('[octet_1]')==127)||(((event.getField('[octet_1]')==100)&&((event.getField('[octet_2]')>=64)&&(event.getField('[octet_2]')<=127)))||(((event.getField('[octet_1]')==172)&&((event.getField('[octet_2]')>=16)&&(event.getField('[octet_2]')<=31)))||(((event.getField('[octet_1]')==192)&&(event.getField('[octet_2]')==168))||((event.getField('[octet_1]')==169)&&(event.getField('[octet_2]')==254))))))))] -|false|-> P[output-stdout{"codec"=>"rubydebug"}|[str]pipeline:37:5:```
stdout { codec => rubydebug }
```]
P[filter-drop{}|[str]pipeline:31:9:```
drop { }
```] -> P[output-stdout{"codec"=>"rubydebug"}|[str]pipeline:37:5:```
stdout { codec => rubydebug }
```]
**GRAPH**
[DEBUG] 2020-08-08 14:58:26.083 [Converge PipelineAction::Create<main>] javapipeline - Starting pipeline {:pipeline_id=>"main"}
[INFO ] 2020-08-08 14:58:26.174 [[main]-pipeline-manager] javapipeline - Starting pipeline {:pipeline_id=>"main", "pipeline.workers"=>2, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>50, "pipeline.max_inflight"=>250, :thread=>"#<Thread:0x41055b7b run>"}
[INFO ] 2020-08-08 14:58:26.360 [[main]-pipeline-manager] javapipeline - Pipeline started {"pipeline.id"=>"main"}
[DEBUG] 2020-08-08 14:58:26.383 [Converge PipelineAction::Create<main>] javapipeline - Pipeline started successfully {:pipeline_id=>"main", :thread=>"#<Thread:0x41055b7b run>"}
The stdin plugin is now waiting for input:
[DEBUG] 2020-08-08 14:58:26.563 [logstash-pipeline-flush] PeriodicFlush - Pushing flush onto pipeline.
[INFO ] 2020-08-08 14:58:26.631 [Ruby-0-Thread-1: /usr/share/logstash/lib/bootstrap/environment.rb:6] agent - Pipelines running {:count=>1, :running_pipelines=>[:main], :non_running_pipelines=>[]}
[DEBUG] 2020-08-08 14:58:26.673 [Api Webserver] agent - Starting puma
[DEBUG] 2020-08-08 14:58:26.695 [Api Webserver] agent - Trying to start WebServer {:port=>9600}
[DEBUG] 2020-08-08 14:58:26.840 [Api Webserver] service - [api-service] start
[DEBUG] 2020-08-08 14:58:26.278 [[main]>worker1] CompiledPipeline - Compiled filter
P[filter-dissect{"mapping"=>{"message"=>"%{octet_1}.%{octet_2}.%{octet_3}.%{octet_4}"}, "convert_datatype"=>{"octet_1"=>"int", "octet_2"=>"int", "octet_3"=>"int", "octet_4"=>"int"}}|[str]pipeline:8:5:```
dissect {
mapping => {
"message" => "%{octet_1}.%{octet_2}.%{octet_3}.%{octet_4}"
}
convert_datatype => {
"octet_1" => "int"
"octet_2" => "int"
"octet_3" => "int"
"octet_4" => "int"
}
}
```]
into
org.logstash.config.ir.compiler.ComputeStepSyntaxElement@af2cdd9f
[DEBUG] 2020-08-08 14:58:26.271 [[main]>worker0] CompiledPipeline - Compiled filter
P[filter-dissect{"mapping"=>{"message"=>"%{octet_1}.%{octet_2}.%{octet_3}.%{octet_4}"}, "convert_datatype"=>{"octet_1"=>"int", "octet_2"=>"int", "octet_3"=>"int", "octet_4"=>"int"}}|[str]pipeline:8:5:```
dissect {
mapping => {
"message" => "%{octet_1}.%{octet_2}.%{octet_3}.%{octet_4}"
}
convert_datatype => {
"octet_1" => "int"
"octet_2" => "int"
"octet_3" => "int"
"octet_4" => "int"
}
}
```]
into
org.logstash.config.ir.compiler.ComputeStepSyntaxElement@af2cdd9f
[INFO ] 2020-08-08 14:58:27.268 [Api Webserver] agent - Successfully started Logstash API endpoint {:port=>9600}
[DEBUG] 2020-08-08 14:58:27.431 [[main]>worker1] CompiledPipeline - Compiled conditional
[if ((event.getField('[octet_1]')==0)||((event.getField('[octet_1]')==10)||((event.getField('[octet_1]')==127)||(((event.getField('[octet_1]')==100)&&((event.getField('[octet_2]')>=64)&&(event.getField('[octet_2]')<=127)))||(((event.getField('[octet_1]')==172)&&((event.getField('[octet_2]')>=16)&&(event.getField('[octet_2]')<=31)))||(((event.getField('[octet_1]')==192)&&(event.getField('[octet_2]')==168))||((event.getField('[octet_1]')==169)&&(event.getField('[octet_2]')==254))))))))]
into
org.logstash.config.ir.compiler.ComputeStepSyntaxElement@9555b4b7
[DEBUG] 2020-08-08 14:58:27.504 [[main]>worker0] CompiledPipeline - Compiled conditional
[if ((event.getField('[octet_1]')==0)||((event.getField('[octet_1]')==10)||((event.getField('[octet_1]')==127)||(((event.getField('[octet_1]')==100)&&((event.getField('[octet_2]')>=64)&&(event.getField('[octet_2]')<=127)))||(((event.getField('[octet_1]')==172)&&((event.getField('[octet_2]')>=16)&&(event.getField('[octet_2]')<=31)))||(((event.getField('[octet_1]')==192)&&(event.getField('[octet_2]')==168))||((event.getField('[octet_1]')==169)&&(event.getField('[octet_2]')==254))))))))]
into
org.logstash.config.ir.compiler.ComputeStepSyntaxElement@9555b4b7
[DEBUG] 2020-08-08 14:58:27.599 [[main]>worker1] CompiledPipeline - Compiled filter
P[filter-drop{}|[str]pipeline:31:9:```
drop { }
```]
into
org.logstash.config.ir.compiler.ComputeStepSyntaxElement@28522e30
[DEBUG] 2020-08-08 14:58:27.709 [[main]>worker0] CompiledPipeline - Compiled filter
P[filter-drop{}|[str]pipeline:31:9:```
drop { }
```]
into
org.logstash.config.ir.compiler.ComputeStepSyntaxElement@28522e30
[DEBUG] 2020-08-08 14:58:27.774 [[main]>worker0] CompiledPipeline - Compiled output
P[output-stdout{"codec"=>"rubydebug"}|[str]pipeline:37:5:```
stdout { codec => rubydebug }
```]
into
org.logstash.config.ir.compiler.ComputeStepSyntaxElement@d2b6e9b7
[DEBUG] 2020-08-08 14:58:27.848 [[main]>worker1] CompiledPipeline - Compiled output
P[output-stdout{"codec"=>"rubydebug"}|[str]pipeline:37:5:```
stdout { codec => rubydebug }
```]
into
org.logstash.config.ir.compiler.ComputeStepSyntaxElement@d2b6e9b7
...
192.16[DEBUG] 2020-08-08 14:58:35.333 [pool-3-thread-2] jvm - collector name {:name=>"ParNew"}
[DEBUG] 2020-08-08 14:58:35.334 [pool-3-thread-2] jvm - collector name {:name=>"ConcurrentMarkSweep"}
8.1.1[DEBUG] 2020-08-08 14:58:36.507 [logstash-pipeline-flush] PeriodicFlush - Pushing flush onto pipeline.
[DEBUG] 2020-08-08 14:58:36.810 [[main]>worker1] Dissector - Event before dissection {"event"=>{"@version"=>"1", "message"=>"192.168.1.1", "@timestamp"=>2020-08-08T11:58:36.677Z, "host"=>"elk"}}
[DEBUG] 2020-08-08 14:58:36.819 [[main]>worker1] Dissector - Event after dissection {"event"=>{"@version"=>"1", "octet_1"=>192, "@timestamp"=>2020-08-08T11:58:36.677Z, "octet_2"=>168, "octet_4"=>1, "message"=>"192.168.1.1", "host"=>"elk", "octet_3"=>1}}
/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/awesome_print-1.7.0/lib/awesome_print/formatters/base_formatter.rb:31: warning: constant ::Fixnum is deprecated
{
"@version" => "1",
"octet_1" => 192,
"@timestamp" => 2020-08-08T11:58:36.677Z,
"octet_2" => 168,
"octet_4" => 1,
"message" => "192.168.1.1",
"host" => "elk",
"octet_3" => 1
}
[DEBUG] 2020-08-08 14:58:40.397 [pool-3-thread-2] jvm - collector name {:name=>"ParNew"}
[DEBUG] 2020-08-08 14:58:40.401 [pool-3-thread-2] jvm - collector name {:name=>"ConcurrentMarkSweep"}