Extracting counts of given nos from message field

Hi ,
We are using kibana 4 as container on openshift , now we want to generate graph from below messages generated on messages field '### 1.460 seconds process time ' .We want pull out the numeric value( like 1.460 here ) only for this 'process time' content messages and from this message we want to make a graph hourly .

How to extract this numeric value from this message ?

You could use a script that tries to extract the number from the string but it will be slow. You should rather try to do that at indexing time by extracting the number from the string field and put it in a new field duration. Then in Kibana you can generate a graph for this field directly.


Thanks for the reply , could you please let me know the scripts which need to be run and where its need to be run ?
Also how to mange indexing in running container as fulentd ?

Is there anyway I can do this from kibana console itself rather modifying fluentd servers which is running as container ?

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