- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Actually, I already know the answer because I just discovered it and it is TOO COOL not to share!
If the value has been created as a number
, it will show right-justified
in the column, but if it has been created as a string
, it will show left-justified
. HOW COOL IS THAT!!! I wonder how long that has been in Splunk and if it is actually documented anywhere?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use typeof()
function to determine what is type of a field.
More info https://docs.splunk.com/Documentation/Splunk/7.0.2/SearchReference/InformationalFunctions
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Also, isnumber
.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Actually, I already know the answer because I just discovered it and it is TOO COOL not to share!
If the value has been created as a number
, it will show right-justified
in the column, but if it has been created as a string
, it will show left-justified
. HOW COOL IS THAT!!! I wonder how long that has been in Splunk and if it is actually documented anywhere?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Note that tostring
and tonumber
are not honored by this convention, which makes me sad.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Also typeof()
.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is such a brilliant little detail you noticed. Thanks!!
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hey @jkjeong why the downvote here? Seriously; is there something amiss that I am totally missing?
