Creating Custom Open Collector Pipelines For Kafkabeat.
By default LR OpenCollecor does not have pipelines to process kafkabeat logs. Run below command to view the list of available pipelines in OC. We noticed by default OC does not have pipelines to process kafkabeat logs
1
./lrctl oc - - pipe status
Steps to create a custom pipeline for kafkabeat.
Install ocpipeline utility
1
./lrctl ocpipeline install
Install lrjq utility
1
./lrctl lrjq install
1
./ocpipeline create --name ociKafkaStream --destination .
Paste the content of zip file to folder
ociKafkaStream
.To Understand the content of zip file go through Logrhythm Official document.
Run below command to Package and import the pipeline.
1
./ocpipeline package --source ociKafkaStream --destination . –-force
We will see below output once above command executed successfully.
1
.pipe file generated at: /root/ociKafkaStream.pipe
Import .pipe file into your Open Collector.
1
cat ociKafkaStream.pipe | ./lrctl oc pipe import
- Restart Services.
1
./lrctl metrics restart
1
./lrctl oc restart
Validate the status os all pipeline
1
./lrctl oc - - pipe status