Submitted by northben on Thu, 01/18/2018 - 15:16
As a Splunk administrator, have you ever needed to list out your saved searches in some way? Perhaps you need to know which searches might be accelerated, scheduled, or even real-time scheduled? Here's a quick dashboard to show this information.
The dashboard is available in this GitHub repo.

Submitted by northben on Thu, 01/04/2018 - 16:19
If you work with the Markdown markup language, it's only a matter of time before you need to escape the markdown formatting characters. For instance, pasting source code into Trello cards requires the text to be escaped or else certain characters of the source code will be interpreted as markdown.
Submitted by northben on Fri, 05/12/2017 - 07:15
When you're working with the stats command, it's often nice to rename the fields to drop the aggregatation type:
| makeresults count=3
| streamstats count
| eval foo="bar"
| stats latest(foo) as foo latest(count) as count
This gets annoying because of all the extra typing involved, and it violates the DRY principal.
Instead, try this next time:
Submitted by northben on Tue, 06/21/2016 - 22:47
When you create an extraction in props.conf (a search-time field), you specify the name of the new field through a named capture group in the regular expression. For example:
EXTRACT-foo = (?P<foo>\w+)
This configuration will create a field "foo" with a value of the first word found in the _raw field. You can also specify a field besides _raw in your extraction:
EXTRACT-foo = (?P<foo>\w+) in host
Submitted by northben on Mon, 03/07/2016 - 13:18
This is a simple request, but the official docs are out of date.
- Create a file: $SPLUNK_HOME/etc/apps/search/local/ui-prefs.conf
- Create a search stanza like this:
[search]
dispatch.earliest_time = -7d@d
dispatch.latest_time = now
Restart Splunk and you're good to go!
Submitted by northben on Tue, 03/01/2016 - 23:49
If you are having trouble getting a Linux (Ubuntu, in my case) guest OS to get a network address using "bridged networking", make sure you have installed "virtualbox-guest-additions-iso".
You can install this package through apt-get:
apt-get install virtualbox-guest-additions-iso
As soon as I installed this package, my Ubuntu 15.10 Server guest received a DHCP address and was connected to my network!
Submitted by northben on Sat, 02/27/2016 - 19:56
Indulge me for just a moment, and consider a future in which you choose a bank just as easily as you choose a gas station. Where banks charge competitive fees for the useful commodity services that they actually provide. Where the banks don't hold a monopoly on access to the financial system. Where individuals like you and I can autonomously contribute to the development and improvement of the financial system.
Submitted by northben on Mon, 01/11/2016 - 14:35
I just discovered that Simple XML dashboards in Splunk can be customized with JavaScript! That's right, the point and click
dashboards can be customized in a very powerful way. Here's the official docs, and an official example.
Submitted by northben on Tue, 12/29/2015 - 13:13
Although it's often possible--and recommended--to avoid the join command, sometimes it is necessary to use join. I was recently exploring the performance impact of the join command and I wanted to share my findings.
Submitted by northben on Tue, 12/29/2015 - 09:15
Part of being a responsible software engineer includes the systems engineering process of configuration management. Although backups and access controls are a necessary part of maintaining a secure IT system, relying on these processes for configuration management is inefficient and dangerous.
Pages