Hi guys,
I'm looking for a solution to make a time range for my subsearch to be different from the main search (which uses datepicker).
At the moment, if I'm using earlier/later statements, it would not work. It just returns
[subsearch]: Your timerange was substituted based on your search string
The query is
source="/var/log/splunk/viewsAFR.log" type=start | join playbackID [ SEARCH source="/var/log/splunk/playbackAFR.log" ] | join [ SEARCH source="/var/log/splunk/afr_channel_map.csv" earliest=0 latest=now ]
Please advise.
Thanks
if you're not in a production environment, try using the logger
command. Do make sure you send it from the system intended so the event can be read correctly. It can be used to simulate syslog events. You can try and ask for permission to inject events to proof your search is right.
I had to do it sometimes to test connectivity between systems. Also when in dispute of searches not working.
It's telling you that it is working.
Oh, indeed. Thanks for that. The search was returning me 0 results, so I thought it was not applying my date range, but that's another issue.