zebu14  
                (xavier)
               
                 
                 
              
                  
                    November 7, 2019,  3:38pm
                   
                   
              1 
               
             
            
              Hello,
I am trying to do a Table visualisation to show the different "error codes" found in the daily log and their respective count.
The codes are int numbers : 0= OK, 166= Creation Failure, ...
Is it possible to force Kibana to show anything else than the real "value" of the code. 
An "eval" function, or something in "JSON input"
I have this :
But I want an error code description, instead of the number of error code.
Thank you
             
            
               
               
               
            
            
           
          
            
              
                bhavyarm  
                (Bhavya R M)
               
              
                  
                    November 11, 2019,  2:08pm
                   
                   
              2 
               
             
            
              Hello,
You can use scripted fields in Kibana to map the error codes to a text value. 
Here is how you use scripted fields - https://www.elastic.co/guide/en/kibana/current/scripted-fields.html 
The operation is a little bit expensive resource vice. So you will need to check and see if it works for you.
Thanks, 
Bhavya
             
            
               
               
              1 Like 
            
            
           
          
            
              
                zebu14  
                (xavier)
               
              
                  
                    November 12, 2019,  9:28am
                   
                   
              3 
               
             
            
              Thanks, I will try that and let you know
Xavier
             
            
               
               
               
            
            
           
          
            
              
                system  
                (system)
                  Closed 
               
              
                  
                    December 10, 2019,  9:28am
                   
                   
              4 
               
             
            
              This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.