Splunk Enterprise

We have a query where we need the EndDate to be the StartDate of the previous entry for all particular values in a row

shivareddysompa
Explorer

We have a query where we need the EndDate to be the StartDate of the previous entry for all particular values in a row

 

shivareddysompa_0-1593774776072.png

 

Labels (1)
Tags (1)
0 Karma

to4kawa
Ultra Champion

| autoregress StartDate as p_StartDate
| eval EndDate=if(EndDate!="",EndDate,p_StartDate)

0 Karma

shivareddysompa
Explorer

i want like End date will be next Start date and also 

 

Startdate               Endate 

10-02-2019         07-07-2020

07-07-2020         "blank "

 

blank indicates it is running

Tags (1)
0 Karma

to4kawa
Ultra Champion

your sample is too little.

please show the table what you want.

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 ...