|
I've got a search which uses a transaction command to combine a few log events together. As a result, I have a field which is multi-value. For chart display purposes, I'd like to truncate the values to a certain width. For a single-value column, I'd do something like Any hints? |
|
while we currently do not supply a foreach command in eval you can try to truncate the field values before the transaction command (ie before the field becomes multivalued). For example:
Didn't think of putting the truncation first. Nice!
(22 May '10, 01:48)
smisplunk
|
|
Hmm. I dont think eval can do this, but i could be wrong. As a workaround, or arguably a simpler way to do the same thing, you can create a copy of the field before the |
