Splunk Enterprise

help on a post process search linked to a time input token

jip31
Motivator

hello

 

In my dashboard I use 2 different token time 

Both of these token time are linked to the same post process search

Instead of creating the same process search 2 times, I would like to use only post process search linked to the 2 different token time

Is it possible please?

 

 <input type="time" token="timesource" searchWhenChanged="true">
      <label>Période source</label>
      <default>
        <earliest>1638313200</earliest>
        <latest>1640991600</latest>
      </default>
    </input>
    <input type="time" token="timetarget" searchWhenChanged="true">
      <label>Période cible</label>
      <default>
        <earliest>@mon</earliest>
        <latest>now</latest>
      </default>
    </input>
 <search id="hang">
    <query>index=toto sourcetype=tutu
</query>
    <earliest>$timesource.earliest$</earliest>
    <latest>$timesource.latest$</latest>
  </search>
  <search id="hang2">
    <query>index=toto sourcetype=tutu
</query>
    <earliest>$timetarget.earliest$</earliest>
    <latest>$timetarget.latest$</latest>
  </search>

 

I  

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

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...