Hi
I want to use lookupfield search to extract value for earliesTime and latestTime. Can I use as in example below?
line
gaps
default
false
right
log
all
<earliestTime>
is a Splunk time format, so a search cannot be used. However, you could the lookup in the searchString of the chart as a subsearch which restricts the main search.
source="dbmon-tail://ABC" FIELD1=$field1$ [|inputlookup REGION-TIME| search Field1=$field1$ | fields LIVE_START_TIME | rename LIVE_START_TIME as earliest] | timechart max(TOTAL_DELAY_IN_SECONDS)
http://docs.splunk.com/Documentation/Splunk/5.0.5/Viz/PanelreferenceforSimplifiedXML