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


    • Related Articles

    • Issue with analyser logstash

      Question: In intellect analyser logstash is in excited state. Even after restarting the service it’s again going into excited state. There is no space issue also . Data has stopped coming from last night 11:00pm.  Following errors seen in logstash ...
    • Logstash Data Adaptor Training Videos

      Logstash data adaptor training videos at: https://drive.google.com/drive/u/0/folders/1aiBMXbzos5hA8bODFimBxt6qT_AxM9Xi
    • Logstash config and enrichment backup using script

      Question: I want to take backup of the logstash config ( /etc/logstash/conf.d ) and enrichment files. I can do it manually. But do we have script for it ? Answer: You can use below script and modify the server details. This script will take a backup ...
    • Ticket ID 1192 : Data Retention is not working

      Solution Document [1192] Data Retention is not working Overview General/Customer specific General Author Yash Gawhad Reviewer NA Approver NA Release date 03/11/2023 Product Version 9.5r0 Audience: CSG/TechWarriors/PAC/Platform/Product teams What’s ...
    • Is The JDBC Lastrun Data Displayed Any Where Or How It Helps And Can We Comment It In Our Logstash Conf File?

      We were getting Error in our shipper logstash as ” No such file or directory – /usr/share/logstash/run/tagit2-logstash-oradb-current.lastrun ” As checked , /run directory was unable to create in logstash folder .So we have manually created, after ...