Dashboards & Visualizations

DROPDOWN SEARCH

splunkpoornima
Communicator

i have the list of some 20 files like

taskmanager_log

taskmager_log(1)

...

i want is if i clik any one of the file it should take me into the search view as

source="whaterver the file i selected" |timechart count of User

plz help me with the code

Tags (1)
0 Karma

tachifelix
Path Finder

try replace function
in your search string replace \ caracter with \\ using regex expression for source value

.....|eval tokenrepace=repace($source$,"\w+\\w+","\w+\\\w+.*")|search source=tokenrepace....
0 Karma
Get Updates on the Splunk Community!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...