Hi, I am working on a dashboard that will allow me to search up a store and it will give me data on that store. I am trying to limit my store search input panel to only allow 4 digits in it. I know the Regex (Regular Expressions) code for that is /d/d/d/d however, I am unsure how to implement that into my store search input panel.
<input type="text" token="Store_num">
<label>Store number</label>
</input>
<input type="time">
<label>Time</label>
<default>
<earliest>-24h@h</earliest>
<latest>now</latest>
</default>
</input>
This is what I have so far, using my Token value $Store_num$ allows me to change the panels on my dashboard to all the same Store. I don't know a whole lot about Splunk, but a co-worker mentioned maybe using a condition in my source could accomplish what I need, but after googling and searching Splunk Answers, I couldn't find what I wanted.
Please let me know if you need more information or if this can even be done. Thanks Splunk Community!
... View more