Created
September 25, 2020 15:05
-
-
Save zaneGittins/e6caaca895452bb39a39fb1d6fac06a1 to your computer and use it in GitHub Desktop.
input-osquery-output-kafka.conf
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 => [ | |
"/var/log/osquery/result.log" | |
] | |
} | |
} | |
filter { | |
json { | |
source => "message" | |
target => "osquery" | |
} | |
} | |
output { | |
kafka { | |
bootstrap_servers => "<IP ADDRESS OF SITECOLLECTOR>:9093" | |
codec => json | |
ssl_keystore_location=>"/opt/certs/kafka.keystore.jks" | |
ssl_keystore_password=>"exabeam" | |
ssl_truststore_location=>"/opt/certs/kafka.truststore.jks" | |
ssl_truststore_password=>"exabeam" | |
ssl_endpoint_identification_algorithm=>"" | |
security_protocol=>"SSL" | |
compression_type => "snappy" | |
topic_id => "lms.kafka.topic" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment