Splunk Search

How to color code a field value based on the newly created field?

yvassilyeva
Path Finder

Hi!

I have a table created with Splunk search with the name of the site and projects with due dates that looks like this:

SITEMARCHAPRILMAY
site1project1 project2
site2project2  
site3 project3 

some projects are past due and some are in good standing. to determine whether it is past due i simply do an eval statement:

|eval past_due=if(strptime(task_duedate,"%Y-%m-%d") < relative_time(now(), "@d"),1,0) 

Other projects are in good standing. Can I color code the fields with project that are past due with red, and projects that are good standing green?

Thank you!

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...