Splunk Search

Counting number of characters in a Splunk field

metersk
Path Finder

Is it possible to count number of characters in a splunk field? I can only seem to find a way to count specific instances of a character.

Tags (2)
0 Karma
1 Solution

chanfoli
Builder

Do you mean to calculate the length? If so, use the following:

your search... |  eval length=len(field)

View solution in original post

chanfoli
Builder

Do you mean to calculate the length? If so, use the following:

your search... |  eval length=len(field)

somesoni2
Revered Legend
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...