Splunk lookups
Lookups provide readable information to users, so they don’t have to understand the returned codes in the reports. Lookups are defined for a specific app, and not accessible from other apps. Lookup options Lookup code, description (input, output)…
The Splunk Search Language (SPL)
Search Terms: see Searching in Splunk Commands: tell Splunk what we want to do with the search result Charts Computing statistics Formatting Functions: explain how we want to chart, compute and evaluate the results Arguments: variables we apply to…
Berks update fails with ‘Missing artifacts’ error message
When you add cookbooks as dependencies with the “depends” statement to the metadata.rb file of your Chef cookbook, to be able to test your cookbooks in Chef Test Kitchen, you also have to specify the location of those cookbooks in the…
Searching in Splunk
When you are building the search criteria, click the field and value in the search result to add it to the search. Wildcard character * (asterisk) one or multiple characters Exact phrases Use ” (double quotes) Search for quotes \” (use…
Splunk user management
The default Splunk user roles are Admin Power User
Splunk installation
Install Splunk Navigate to the Splunk website at splunk.com, In the upper right corner select the Free Splunk button, If you don’t yet have a Splunk account, register to create one, otherwise log in, Select the Free Download in the Splunk…
Get AWS SSL Certificate resource ids from existing Load Balancers
To launch an Elastic Load Balancer ( ELB ) with an existing SSL certificate using Terraform, you need to specify the AWS certificate resource id. If you have already uploaded the certificate and attached it to an existing load balancer, the following AWS…
Create a server image with Packer
Packer is a free, open-source application from Hashicorp. It can generate a server image based on an existing one, and configure it for your special needs. You can use the generated image when you launch a server instance in the cloud or on your local…
Convert PEM files to PPK to use them in PuTTY
When you create a key in AWS you can download it one time in PEM format. To use it in PuTTY, the free SSH and Telnet client, you have to convert it to PPK format. To install PuTTY, see the Terminal Emulator section in Recommended utilities for your…
Chef Attributes
Chef attributes are global variables that are available for every cookbook on the node. There are multiple formats to declare and use an attribute. For important notes on the syntax, please see Undefined method or attribute error in a Chef recipe. To…