Logstash Strip plugin is not working 338

Logstash Strip plugin is not working 338


VuNet Systems Private Limited

Solution Document Ticket #338

Logstash Strip plugin is not working.

Overview


General/Customer specific

RBL

Author

Rachitha H V

Reviewer

Seema

Approver

Deepak

Release date


Product Version

8.5r5

Audience: CSG/TechWarriors/PAC/Platform/Product teams


What’s the Issue?


Logstash Strip plugin is not working.


Describe the Issue in Detail


I want to remove trailing spaces in the value of field QueueName.

We are collecting IBM MQueue data from Javaagent, Installed Java Agent on Shipper.


I have added strip code in the analyzer after the enrichment file.




Solution Summary


  1. Check whether we are sending data to multiple nodes.
  2. In our case, No we are sending data to only analyzer1.
  3. Then we have added the strip code before the enrichment file.
  4. The issue is  in the sequence of processing.

Before:

After:

image


Added strip plugin code before enrichment file 

105-MQ-Websphere-enrichment.conf is the enrichment file, added strip code in 103-mq-trim.conf