This function removes the trim characters from both sides of the string. | eval n=substr("string", 1, 3) + substr("string", -3) trim(,) Description The following example concatenates "str" and "ing" together, returning "string": The is optional, and if not specified returns the rest of the string. Negative indexes can be used to indicate a start from the end of the string. The indexes follow SQLite semantics they start at 1. The length of the substring specifies the number of character to return. This function returns a substring of a string, beginning at the start index. Index=twitter | eval output=spath(_raw, "entities.hashtags") substr(,) Description The following example returns the hashtags from a twitter event. The following example returns the values of locDesc elements. Using a field name for might result in a multivalue field.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |