JSON Input - get RIGHT characters from string

(Simon Singh) #1

I'm using Kibana 6.4 and am trying to get the rightmost characters from a string using the JSON Input in a visualisation. I can successfully do this:


But can't seem to find any documentation on the string functions available. Is there any documentation on what we can do with JSON Input?

(Marius Dragomir) #2

You shouldn't be using the JSON input for scripts. The best way to do it is by using the scripted fields option already available in Kibana. You get a detailed guide in that page and a way to test everything based on your data.

(Simon Singh) #3

Thanks Marius,

Is there any documentation to explain when we should be using JSON input? I'm struggling to understand how and when it should be used.


(Marius Dragomir) #4

It's usually for adding extra query parameters that aren't exposed in Kibana, for particular cases. It works for everything else, but scripted fields.

(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.