This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "xray-daemon", | |
"image": "123456789012.dkr.ecr.us-east-2.amazonaws.com/xray-daemon", | |
"cpu": 32, | |
"memoryReservation": 256, | |
"portMappings" : [ | |
{ | |
"hostPort": 0, | |
"containerPort": 2000, | |
"protocol": "udp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2020-02-24T13:40:29,424][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"7.4.0"} | |
[2020-02-24T13:40:33,337][INFO ][org.reflections.Reflections] Reflections took 32 ms to scan 1 urls, producing 20 keys and 40 values | |
[2020-02-24T13:40:38,068][WARN ][org.logstash.instrument.metrics.gauge.LazyDelegatingGauge][main] A gauge metric of an unknown type (org.jruby.RubyArray) has been create for key: cluster_uuids. This may result in invalid serialization. It is recommended to log an issue to the responsible developer/development team. | |
[2020-02-24T13:40:38,073][INFO ][logstash.javapipeline ][main] Starting pipeline {:pipeline_id=>"main", "pipeline.workers"=>8, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>50, "pipeline.max_inflight"=>1000, :thread=>"#<Thread:0x33c06d91 run>"} | |
[2020-02-24T13:40:38,413][INFO ][logstash.javapipeline ][main] Pipeline started {"pipeline.id"=>"main"} | |
[2020-02-24T13:40:38,488][INFO ][filewatch.observingtail ][main] START, creating Discoverer, Watch with |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input { | |
file { | |
path => "/home/ec2-user/xxxxx/testservice.log" | |
start_position => "beginning" | |
sincedb_path => "/dev/null" | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2020-02-23T21:31:56,944][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"7.4.0"} | |
[2020-02-23T21:32:01,286][INFO ][org.reflections.Reflections] Reflections took 240 ms to scan 1 urls, producing 20 keys and 40 values | |
[2020-02-23T21:32:03,107][ERROR][logstash.agent ] Failed to execute action {:id=>:main, :action_type=>LogStash::ConvergeResult::FailedAction, :message=>"Could not execute action: PipelineAction::Create<main>, action_result: false", :backtrace=>nil} | |
[2020-02-23T21:32:03,189][ERROR][org.logstash.Logstash ] java.lang.UnsatisfiedLinkError: no net in java.library.path | |
[2020-02-23T21:32:17,645][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"7.4.0"} | |
[2020-02-23T21:32:21,385][INFO ][org.reflections.Reflections] Reflections took 36 ms to scan 1 urls, producing 20 keys and 40 values | |
[2020-02-23T21:32:22,908][INFO ][logstash.outputs.elasticsearch][main] Elasticsearch pool URLs updated {:changes=>{:removed=>[], :added=>[https://xxx-xxx-xxx-xxx-x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.howtodoinjava.demo; | |
import static org.junit.Assert.assertEquals; | |
import static org.mockito.Mockito.times; | |
import static org.mockito.Mockito.verify; | |
import static org.mockito.Mockito.when; | |
import java.util.ArrayList; | |
import java.util.List; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Computer; | |
public class TestBuilderPattern { | |
public static void main(String[] args) { | |
Computer comp = new Computer.ComputerBuilder( | |
"500 GB", "2 GB").setBluetoothEnabled(true) | |
.setGraphicsCardEnabled(true).build(); | |
} |