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  

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

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...