first commit
This commit is contained in:
		
							
								
								
									
										26
									
								
								data/apidemo-logstash/config/logstash.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								data/apidemo-logstash/config/logstash.conf
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,26 @@ | ||||
| input { | ||||
|     beats { | ||||
|         port => 5044 | ||||
|     } | ||||
| } | ||||
|  | ||||
| filter { | ||||
|     json { | ||||
|         source => "message" | ||||
|     } | ||||
| } | ||||
|  | ||||
| output { | ||||
|     #stdout {} | ||||
|     #file { | ||||
|     #    path => "/tmp/output.json" | ||||
|     #} | ||||
|     opensearch { | ||||
|         hosts => ["${OPENSEARCH_HOST}"] | ||||
|         index => "${OPENSEARCH_INDEX}-%{+YYYY-MM-dd}" | ||||
|         user => "${LOGSTASH_USER}" | ||||
|         password => "${LOGSTASH_PASSWORD}" | ||||
|         ssl => true | ||||
|         ssl_certificate_verification => false | ||||
|    } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user