Dashboards & Visualizations

How to change a column datatype?

mconnarty
Loves-to-Learn Lots

In a search I'm displaying on the Dashboard I'm using an 'ID' field in the format '000001', '000002' etc, however when it is being displayed it is being converted to number datatype and the preceding 0s are removed.  (turns it into 1, 2 etc)

I need to preserve this as a text type as I'm then using it as a token value for other searches ?

Labels (1)
0 Karma

mconnarty
Loves-to-Learn Lots

I should mention this is specifically for the Dashboard Studio

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...