Our latest Women in Tech story is here. Meet Christy Szanti, Recruiter/Partner Manager! We asked Christy about her career, accomplishments and her TekStream tenure. Read on for her insights and experiences: you’ll be inspired by her journey.
As a Recruiter for TekStream, Christy is responsible for screening, sourcing and submitting internal candidates for our consulting practices. Over the past 2 years, Christy has worked on helping to staff the Managed Detection and Response (MDR) team which includes security analysts and Splunk certified consultants that support the security program. Christy’s first career was in environmental engineering consulting after graduating from Purdue University with an environmental engineering degree. After staying home to raise children, Christy spent the next 14 years teaching upper-level mathematics at a top-ten public charter high school, the Gwinnett School of Mathematics, Science & Technology (GSMST). She is certified to teach High School Mathematics and K-12 Computer Science classes and holds Masters Degree In Mathematics Education. We are fortunate to have her amazing talent on our team!
Why did you choose cybersecurity as your career?
Christy Szanti: As a recruiter for a company who constantly needs cybersecurity talent, I love finding the right people who have the technical and soft skills to do well in these roles. To be able to find these people, I need to know what each role needs, though I actually do not do the technical part myself. I love recruiting in the cybersecurity field because I speak to people all day long who are very passionate about what they do and how they are helping people. My first two careers were in environmental engineering and Mathematics Education and I feel like those past experiences help me be a good recruiter for technology and cybersecurity specifically.
What is your biggest accomplishment, and what are you most proud of as it relates to your career?
CZ: As this is my 3rd career, I am most proud that I was able to transition from two very different careers, into recruiting. I also am proud of helping build out TekStream’s MDR talent, since I have been involved in hiring the majority of the talent that works in our MDR program.
What advice would you give a young woman pursuing a career in technology?
CZ: In general, when I advised students on what they wanted to do in their life, I always said to start with something you love. What is your passion? What are you good at? Another piece of advice is to find a mentor. In every role that I have had, there has always been someone that mentored me and that helps a lot.
Why did you choose TekStream?
CZ: When I decided to stop teaching, I reached out to my friend (Diane Vogel) who is also a recruiter at TekStream to see if she could help me find a job. I sent her my resume and she suggested that I apply to TekStream instead of applying somewhere else. I absolutely love recruiting at TekStream, especially hiring fellow co-workers! It is so rewarding to see when the people that I helped bring into the company do well and also love it here.
Christy, thanks for sharing your experience and your advice. We are glad you’re on our team!
If there’s one thing you should know about Splunk, their SPL (Search Processing Language) often makes the impossible possible. In a recent use case, my colleague Marvin Martinez and I needed to audit changes to an artifact event and know exactly which fields changed at what time. Sadly, Splunk events aren’t indexed in array form and, thus, there’s no explicit visibility to directly compare consecutive events. However, if you put the data in a table in the sequence you want and use the magic of | streamstats and a few | foreach commands, you can output exactly which fields changed between events, and when they changed!
TUTORIAL
For this example, we use three generated fields to exemplify three use cases.
Our first field, “field1”, will exemplify a field that changes between three events. The value of field1 will be different for each event. Thus, we should expect to see it for all of our results.
Our second field, “field2”, will exemplify a field that becomes null and is later set to another value. Thus, we should expect to see it be set to a value in the first event, null in the second event, and not null in the third event.
Our third field, “field3”, will exemplify a field that does not change across the entire span of events. Thus, we will see it in the first event, but not the other two events.
Using some generative SPL, this is what our data looks like:
At this point, the instructions are pertinent for transforming raw events using this command.
Start by tabling out the fields you care about and use a fillnull value of “THIS_IS_NULL” to give null values something to pass into later comparisons (otherwise, you will receive an error).
| table [YOUR FIELDS HERE]
| fillnull value=THIS_IS_NULL
THE FOREACH COMMAND
Similar to a for-loop in coding, the | foreach command iterates through all values of a specified Splunk field. You start by invoking the command, listing the field, and referring to the field using the <<FIELD>> syntax within actions enclosed in brackets.
As a simple example, if I had a field named “index” that appeared in ten events, I can tell Splunk to increment each value of “index” by 1 over all events as follows:
| foreach index [<<FIELD>> = <<FIELD>> + 1]
Now, back to the tutorial!
We use the foreach command to first ensure we correlate the field name to the field value.
Putting <<FIELD>> in quotes allows us to return the field name, whereas <<FIELD>> outside of quotes on the other side of the equals sign returns the actual value for each field.
Now that we have a chronological history of the field values, we can leverage streamstats to gather the previous value of each field in order to compare and determine if the field had changed at all. Streamstats is very powerful as it allows you to execute stats-like calculations and grouping without transforming your data set.
To achieve this, we use the SPL line below, using the last() function, in conjunction with the “current=f” (to not count the current value in the stats calculation), to grab the previously seen field value. We prefix the output fields with “last_” so we can easily reference them in our downstream SPL lines and not overwrite the original field or have them named something that won’t be easily referenced.
| streamstats current=f window=1 last(*) as last_*
Run another foreach command that uses the mvappend function to put the previous and current field values in a single field, then get rid of the “last_*” fields from the table.
The next line of SPL is the core of this tutorial. By this point, our fields host a multivalue field that recognizes the original field for that event at index 0, and the previous field at index 1. As such, we use a foreach that nulls out fields where the two values are the exact same, and if not, replaces the value with the original field. We can access individual values in a multivalue field using the mvindex() function.
Finally, while optional depending on how you want to format the events, iterate through the events one more time to add them to a new multivalue field, remove any duplicate field attributes within your events (not applicable to this example, but can happen) and re-format your fields appropriately to look like this:
| eval fields = mvdedup(fields)
| fields fields
We can conclude that field1 and field2 changed values through all three events, while field3 remained the same. Additionally, our search caught that field2 became null and then set to another value.
Thanks to this SPL, we can determine which fields have changed over an event. Here is the complete query, including the generative set-up commands:
| makeresults
| eval field1=”this will change”
| eval field3=”this will not change”
| append [| makeresults | eval field1 = “this has changed” | eval field2=”this is not null” | eval field3=”this will not change”]
| append [| makeresults | eval field1 = “this has changed again” | eval field2=”this is not null anymore” | eval field3=”this will not change”]
Eric Levy is a Splunk Core Certified Consultant who joined the TekStream team in July 2022. Eric’s background and eagerness to learn makes him excited to unlock the data possibilities Splunk has to offer its clients. Eric’s portfolio of projects makes him well adapted to time management and a diverse array of technical situations and has since expanded his horizons into Enterprise Security engagements as well as a full-time member of the IRS Splunk team. Eric resides in Arlington, Virginia and is a proud Virginia Tech graduate. In his free time, he continues to pursue his love of music.
Marvin Martinez has nearly 20 years of combined experience in software and workflow development and nearly 5 years as a Splunk Core Certified Consultant and certified SOAR developer, most recently operating as a team lead on the MDR (Managed Detection and Recovery) team and leading a team of SOAR developers to architect, administer, design, develop and enhance automation playbooks and activities as part of the incident resolution process with Splunk SOAR. For the first 15 years of his career, he was primarily focused on Inspyrus Invoice Automation installation, design and configuration, including PL/SQL, Workflow Forms Recognition (WFR), Oracle Enterprise Capture, EBS/JDE/Fusion integration, and BPEL/BPM development, as well as working within and managing Oracle Cloud Infrastructure (OCI) and ancillary BPEL/BPM development and becoming a certified OCI Architect Associate and AWS Developer Associate. Marvin has a proven track record of being motivated, technologically agile, quick and eager to learn, efficiently productive, and an effective communicator, able to work proficiently as part of a team as well as independently/remotely.
Our latest Women in Tech story is here. Meet Angela Lindsey, Team Lead, Support and Managed Services! We asked Angela about her career, accomplishments and her TekStream tenure. Her insights and experiences are an inspiration.
Angela is a dedicated, high quality and results oriented technical architect with more than 26 years of corporate industry experience. As a seasoned Oracle WebCenter Content developer/administrator/designer, she has installed, upgraded and migrated more than 190 instances. She has her AWS Solutions Architect badge, Splunk Cybersecurity Defense Analyst badge, and Splunk Core Certified Consultant badge, and has completed countless certification courses. She has taken on the role of Splunk Support Team lead and manages four employees. Her resourcefulness and passion to provide exceptional customer experience is recognized by her peers at TekStream, and we are fortunate to have her on our team.
Why did you choose cybersecurity as your career?
Angela Lindsey: I chose cybersecurity as my career because I have a deep passion for technology and a strong desire to protect people and organizations from digital threats. The rapid evolution of cyber threats fascinates me, and I enjoy the challenge of staying one step ahead of potential attackers. I believe that ensuring the safety and integrity of data is crucial in today’s interconnected world.
Additionally, the sense of fulfillment I get from solving complex problems and contributing to a safer digital environment drives me to continuously learn and grow in this dynamic field. Cybersecurity allows me to blend my interests in technology and problem-solving while making a meaningful impact.
What is your biggest accomplishment, and what are you most proud of as it relates to your career?
AL: One of my biggest accomplishments thus far has been becoming the only female team lead at TekStream, and successfully leading a team of amazing consultants that have the passion for excellence that I do. I’m particularly proud of how we foster a culture of security awareness among employees through training and engagement initiatives. Witnessing the positive impact of our efforts, with staff becoming more vigilant and proactive about security practices, reinforces my belief in the importance of collaboration and education in cybersecurity. This achievement not only strengthens our defenses but also empowers individuals to take ownership of their role in maintaining a secure environment.
What advice would you give a young woman pursuing a career in technology?
AL: To a young woman pursuing a career in technology or cybersecurity, I would say embrace your curiosity and never underestimate your potential. The tech field is diverse and continually evolving, so staying open to learning and adapting is crucial. Don’t be afraid to ask questions and seek mentorship from those already in the industry; building a strong network can provide invaluable support and insights. Remember, your unique perspective is an asset, and representation matters in this field. Stay confident in your abilities, advocate for yourself, and take on challenges that push you out of your comfort zone. Ultimately, believe in your passion and perseverance, as they will be your greatest allies on this journey.
Why did you choose TekStream?
AL: I chose TekStream because it aligns perfectly with my values and career aspirations. TekStream’s commitment to innovation and ethical practices in technology really resonates with me, as I believe in using tech to create positive change. The collaborative work environment and emphasis on continuous learning also appeals to me, providing opportunities for professional growth and skill development. I knew that joining TekStream would allow me to make a meaningful impact while being part of a team that shares my vision for a safer, more connected world.
Thank you for sharing your experiences with us, Angela!
Between adopting new technologies, modernizing operations and navigating the increased sophistication in today’s cyberattacks, how confident are you that your cybersecurity posture can withstand future cyberattacks? Ask yourself:
Do you have the visibility needed to protect your most critical assets?
Can your organization quickly respond to and effectively remediate a breach or attack?
Are your security policies responsive to the rate of change in your business?
If you’re uncertain about the answers, it can be tempting to invest in more technologies to fortify your security posture. Yet the solution is often best addressed by leveraging a cyber resilience framework that enables you to make better use of existing assets and capabilities.
The Importance of a Cybersecurity Risk and Remediation Plan
The cybersecurity function is twofold: prevention and recovery. Both require highly dynamic capabilities to mitigate catastrophic risk in an accelerating climate of change. A cyber resilience framework addresses these issues and sets your organization up for long-term success.
It helps you:
Gain greater visibility into your expanding threat surface
Identify what needs to be protected and your organization’s risk tolerance for each
Validate your program’s resiliency before, during and after events
Pinpoint how your current cybersecurity posture can be improved daily with real-time data
Determine the right resource mix to optimize costs and identify cost-savings
More importantly, it equips you with the ability to devise a comprehensive approach by providing you with a pragmatic roadmap prioritized by risk and complexity. In turn, you’re better able to communicate with internal stakeholders on what the most pressing vulnerabilities are and how to get ahead of them before threat actors exploit them.
Developing a Cybersecurity Resilience Framework
Undergoing a cybersecurity resilience framework exercise helps identity potential vulnerabilities so you can develop the best defense for your organization. At TekStream, there are three approaches we often deploy to help clients create a tailored framework that evolves and grows as their threat surface expands.
One approach is to use the NIST framework to identify coverage gaps and cost-saving opportunities with a risk-based review of your cybersecurity posture. You’ll want to look at policy gaps across your people, tools and processes. Then, you want to dig deeper into critical areas that need specific or additional focus to ensure a holistic review of your cyber infrastructure.
Another approach is to enhance your security posture with an ethical hacking exercise, also known as pen testing, to identify and validate your vulnerabilities. At TekStream, we help clients accomplish this by undergoing red-and-blue-teaming exercises.
Results from these exercises are then used to devise a plan for addressing these vulnerabilities. This is also a great opportunity to train your people on how to identify and mitigate common attack scenarios.
Finally, the last approach you can take is to look at your program level vulnerabilities across your portfolio. Rather than looking at detailed vulnerabilities, you look at your overall processes. The goal is to identify where the biggest gaps are and how to cover them so you can meet overall high-level objectives.
While you can take any of the three approaches to develop your cybersecurity framework based on your immediate needs, we often advise clients to take a comprehensive approach and undergo all three. Instead of focusing on one area, take a phased approach to developing your framework to ensure all your bases are covered.
The Value of Fortifying Your Cybersecurity Posture With a Partner
Keeping pace with today’s changing and rising threats is a challenge most cybersecurity teams face. It’s a common situation we come across in our line of business. As companies adopt more interconnected technologies in their bid for innovation, it also opens the door to potential cyberattacks.
Yet a lack of time and resources amid changing business priorities prevent most organizations from conducting a thorough review of their cyber programs that considers people, tools and processes. If this situation sounds familiar, leveraging a partner can help you gain the visibility you need.
An experienced Risk Remediation partner can provide both the expertise and hands on support you need to execute your roadmap and enhance your security posture. They can use their knowledge of best-in-class solutions like Splunk and AWS to develop the right configuration based on organizational needs while addressing resource gaps.
For example, we recently worked with Georgia Technology Authority (GTA) to develop a cyber resilience framework for their organization as part of their cloud-first strategy. Using our expertise as an AWS Advanced Tier Services partner, we helped configure AWS and Microsoft Azure to better address gaps while flagging growth opportunities and cost savings.
Setting Your Cybersecurity Program for Long-Term Success
In 2023 alone, the number of intrusions into cloud-hosted environments increased by 75%, and that number is expected to grow as businesses continue to transform and innovate. At a time when threat actors are getting more sophisticated by the day, the question of when your defenses will be tested is not an if but when. The question then becomes, do you have a cybersecurity program that is responsive to the rate of change within your organization or your infrastructure?
If you’re struggling to answer this question, you may benefit from a comprehensive review. Our team can help when you’re ready to take the next step.
Exploring Managed Detection and Response for Enhanced Cybersecurity
Cybersecurity is not a set-and-forget task — your business needs to keep pace with the ever-changing tactics of cybercriminals. However, your organization has core priorities besides security, such as growth and customer satisfaction. How can you make sure security is managed well without breaking the budget? The answer may lie in leveraging a managed detection and response (MDR) service like the kind we offer at TekStream Solutions.
MDR is designed to provide real-time threat detection and rapid response, ensuring your business remains secure. But what is MDR, and why should you use it? Join us as we explore how MDR helps your business stay ahead of cybercriminals.
What is Managed Detection and Response?
MDR, meaning Managed Detection and Response, involves continuous, proactive monitoring of an organization’s IT infrastructure for malicious activities or policy violations. It’s a comprehensive solution that leverages advanced technology, expert analysis, and proactive threat hunting to scan endpoints, networks, applications, and other digital assets.
MDR detects anomalies that could indicate a security incident and analyzes and responds to cybersecurity threats in real-time. It goes beyond traditional security measures by providing continuous monitoring, threat intelligence, and rapid incident response capabilities.
MDR consists of several key components:
Continuous monitoring: MDR services employ advanced tools to monitor your network, endpoints, and cloud environments 24/7, looking for any signs of suspicious activity or potential threats.
Threat detection and analysis: MDR systems use a combination of machine learning, behavioral analytics, and human expertise to identify known and unknown threats, including zero-day exploits and advanced persistent threats (APTs).
Rapid response: Once a threat is confirmed, MDR teams swiftly contain and neutralize it, minimizing potential damage to your systems and data.
Remediation: After addressing an immediate threat, MDR services help organizations implement measures to prevent similar incidents in the future and strengthen overall security posture.
At TekStream Solutions, we offer cutting-edge MDR solutions that leverage the power of Splunk. Our solutions provide unparalleled visibility and protection across your entire digital ecosystem.
What is MDR in cybersecurity for and why is it becoming an indispensable tool for businesses of all sizes? To understand its significance, we need to examine its place in the cybersecurity ecosystem.
What is MDR’s Role in the Cybersecurity Ecosystem?
While MDR cybersecurity services focus on monitoring, detection, and response capabilities, other components complement and enhance your cybersecurity posture. Let’s see how MDR compares to other common cybersecurity solutions:
EDR (Endpoint Detection and Response): While EDR focuses solely on endpoints like computers and mobile devices, MDR takes a holistic approach by covering your entire IT infrastructure.
SIEM (Security Information and Event Management): SIEM tools collect and analyze log data from various sources. MDR goes a step further by analyzing this data and providing active threat-hunting and response capabilities.
MSSP (Managed Security Services Providers): MSSPs typically offer a broad range of security services. MDR, however, specializes in advanced threat detection and response, providing deeper expertise and more focused protection.
MDR doesn’t replace these solutions—it works alongside them by filling gaps and providing an extra layer of security. Now that we’ve contextualized MDR within the broader security landscape, it’s time to unpack the unique advantages it offers in protecting digital assets.
What Are the Benefits of MDR?
Now that we understand how MDR fits into your cybersecurity ecosystem, let’s explore the tangible benefits it brings to your organization.
Enhanced Threat Posture
MDR utilizes advanced technologies and expert analysis to identify known and unknown threats. This helps to significantly improve an organization’s ability to detect sophisticated attacks that might slip past traditional security measures.
Rapid Incident Response
With 24/7 monitoring and a team of security experts at the ready, MDR enables swift responses to potential threats. Acting fast can dramatically reduce the impact of a security incident and potentially save organizations millions in breach-related costs.
Access to Cybersecurity Expertise
Managed detection and response provides organizations with access to skilled security professionals without needing an expensive in-house team that would likely get alert fatigue over time.
Cost-Efficiency
By outsourcing advanced security functions to an MDR provider, organizations can achieve a higher level of security at a lower cost than building equivalent capabilities in-house. MDR services often operate on a predictable subscription model, making cybersecurity budgeting more straightforward. Subscription models also make it easier to scale up and down when necessary.
Compliance Support
Many MDR services include features that help ensure compliance with various regulatory standards, such as HIPAA and GDPR. This ensures that organizations can more easily meet legal and industry obligations.
While these benefits are significant, it’s important to regularly evaluate your MDR solution to ensure it continues to meet your organization’s changing security needs.
MDR in Action: How it Enhances Your Cybersecurity Defense Strategy
What is MDR capable of? Let’s unpack its operational benefits and see how it strengthens your defenses.
Continuous Improvement
As cyber threats evolve, so too must the defenses against them. MDR solutions are designed with this principle in mind for:
Threat intelligence updates: MDR providers constantly update their threat intelligence databases. Incorporating information about new threats into these updates makes it easier to recognize vulnerabilities and prepare for attacks.
Machine learning enhancements: Many MDR solutions use machine learning algorithms that get better at identifying anomalies and potential threats over time.
Procedural refinements: MDR providers regularly refine their response procedures based on real-world incidents and emerging trends to ensure they remain effective against new attacks.
Real-Time Threat Monitoring
MDR security systems maintain 24/7 surveillance. By constantly analyzing network traffic, user behavior, and system logs for any signs of suspicious activity, MDR protects your data at all times. This process goes beyond simple pattern matching; instead, it employs advanced behavioral analytics to identify anomalies that might indicate a threat.
Advanced Analytics
MDR leverages advanced analytics to turn raw data into actionable intelligence. These systems can handle massive volumes of data and process it at lightning speed. Even if it’s an attack the system hasn’t seen before, it analyzes patterns that might indicate a threat.
Automated Responses
Every second counts when it comes to cybersecurity. That’s why MDR incorporates automated responses to neutralize threats quickly. These systems come equipped with predefined response actions for common types of threats. The system can escalate complex threats to human analysts while taking initial containment measures to limit damage.
Managed Detection
The “managed” in MDR means you’re getting a tool and a service backed by expert human analysts. Here’s what that entails:
Expert monitoring: Skilled security professionals oversee the MDR system for an extra layer of vigilance.
Context and interpretation: Analysts interpret alerts in the context of your specific environment to reduce false positives.
Threat hunting: MDR teams proactively search for hidden threats that automated systems might miss.
The human element in MDR ensures that you receive more than automated alerts—you receive informed, contextualized insights into your security posture.
Response Capabilities
When a threat is confirmed, MDR teams coordinate a response effort to ensure all necessary steps are taken to contain and neutralize a threat. For threats that require action from your internal team, MDR providers offer step-by-step guidance to ensure effective remediation.
Integration with Existing Security Infrastructure
MDR works alongside your existing security measures, enhancing rather than replacing your current tools and processes. MDR solutions can use data from your security tools, firewalls, and network devices to analyze weaknesses and fill gaps in your current security posture. Many MDR solutions provide a centralized dashboard with a holistic view of your security landscape.
The next question is, how do you select an MDR provider who will ensure your business stays threat-resilient? Here are a few tips to help you find the right partner.
How to Choose the Right MDR Services Provider
The effectiveness of your MDR hinges on selecting the appropriate MDR services provider. We’ve outlined several key considerations that will guide you in finding the best fit for your MDR needs:
Key Considerations
Expertise and experience: Look for providers with a proven track record in cybersecurity and specific expertise in your industry.
Technology stack: Ensure the provider uses the most up-to-date, best-in-class technologies for threat detection and response.
Scalability: The service should be able to grow with your organization and adapt to changing needs.
Compliance support: If you operate in a regulated industry, ensure the MDR provider can support your compliance requirements.
Pricing transparency: To avoid unexpected charges, look for providers that offer clear, detailed breakdowns of the cost of tools, analysts, and support.
Assessing Technological Compatibility
Check with potential providers to see if their tools will integrate smoothly into your technical setup without hindering productivity. Ensure that the provider offers APIs that integrate easily with your existing workflows.
The ideal managed detection and response solution should be able to handle your current data volume and scale effortlessly as your business grows. For businesses leveraging cloud services, verifying that the MDR solution provides adequate coverage for your cloud environments is essential.
Questions to Ask Providers
When evaluating MDR providers, don’t be afraid to ask tough questions. Here are some essential ones to consider:
How soon do you detect and respond to threats on average?
Can you provide case studies or references from businesses similar to ours?
What kind of training and support do you provide?
How do you stay updated on the latest threats and attack vectors?
The need for robust, proactive cybersecurity measures cannot be overstated as cyber threats evolve in complexity and frequency. MDR offers a comprehensive, expert-driven approach to threat detection and incident response that can significantly enhance your organization’s security posture.
At TekStream, we understand the critical role that MDR plays in modern cybersecurity strategies. That’s why we offer tailored MDR solutions that leverage the power of Splunk. We provide you with unparalleled visibility and round-the-clock protection for your digital assets.
Ready to take your cybersecurity to the next level? Start your digital transformation today – schedule a security assessment with our MDR experts.
By Nate Hufnagel, Splunk Consultant II, Cybersecurity Engineering
Intro
The Splunk Enterprise platform supports several styling & behavior customizations that customers can take full advantage of. Some of these features are more obvious as your Splunk admin becomes more familiar with the UI, while others are not as obvious, even hidden. This two part series will discuss two of these hidden but powerful features of Splunk: debug/refresh and _bump.
First up: debug/refresh. This feature can be used to reload all splunkd registered EAI (Extensible Administration Interface) handlers via REST call. Put more plainly – most of Splunk’s configs and static assets can be reloaded or refreshed without having to restart the splunkd service. This includes props, transforms, inputs, dashboards, and many others. The full list of endpoints can be found in the Splunk docs, or by executing debug/refresh. Let’s take a look at a few examples.
In this first example, we’ll add a new search-time field extraction to props.conf and update our sourcetype without restarting Splunk. This is our list of fields before making any changes:
We’ll add another field called “ErrorMessage_2” to the sourcetype in props.conf. This can also be done through Splunk Web (Settings>Add Data) [<sourectype>] … EXTRACT-ErrorMessage_2 = ErrorMessage=(?<ErrorMessage_2>[^]]+) …
Next, we’ll edit our Splunk Web URL to the following: http(s)://<host:mport>/debug/refresh …where “host” is the hostname and “mport” is the web port number (8000 in this case). Click “Refresh”, then it takes about a minute while all the endpoints reload. Once the reload is complete, we’ll see the “Entity refresh control page” in our browser, as well as a list of all endpoints that we’re successfully reloaded.
Now, we’ll navigate back to Splunk Web and run the same search as before: http(s)://<host>:<mport> (should still be logged in).
After running the same search, we see our new field!
We can also reload more complex changes, like a custom app. For example, an app with a custom navigation bar and embedded HTML links can be installed and used without having to restart Splunkd!
In this next example, our custom app is named “html-link”. It contains on custom navigation tab called “Hyperlink” and an html link that can take us to an external site. We’ll follow the same steps as above to achieve this without restarting Splunkd:
Install the app
Perform the debug/refresh
Navigate back to Splunk Web home
Launch app
Before installing the app
Installing app
Performing debug/refresh
Navigating to/launching to app
To learn more about what Splunk resources can be reloaded with debug/refresh, check out the link to the Splunk docs below. Be on the lookout for Part 2, where we’ll dive into the “_bump” feature.
Lately, I have been delving into Splunk’s premium app ITSI. Splunk IT Service Intelligence is a KPI monitoring addition to Splunk, where we can use predictive analytics to see incidents before they happen and see the status of services that keep your company running smoothly. My colleague and I were working with a client and used content packs to get them started with ITSI.
ITSI uses metric data from all types of places and servers to show us how these servers are running and what could be going wrong at any time. There is an add-on for Linux that I will be using today to show what I am trying to do. We need to set up the add-on to pull in metric data and install the Splunk App for Content Packs to do this. Now we can get to the ITSI setup.
Let’s start with the basic ITSI Linux service. I installed the add-on and brought in the metrics data. I then went into ITSI Service Templates and created a service called Linux using the “OS KPIs – *nix (SAI)” Service Template. Now let’s look at this in the Service Analyzer.
Notice how no fields are filled out other than packet drops. This is filled out with 0 because there is no data there. The default Linux service is receiving no data because it does not recognize the fields that are feeding it.
Now, let’s add the content pack “Monitoring Unix and Linux” to be able to read this data. Go to the Configuration tab and select Data Integrations.
From here we can select the Content Library tab and find the “Monitoring Unix and Linux” content pack and select it. Then click proceed to install the content pack.
Once this is installed we can go back to the Service Templates page in the Configurations tab and see a new Service Template called “Unix and Linux server health”. Let’s create a service from this. Select the template and click the “New Service From Template”, then we can name the service. For my example, I named it “Linux – Content Pack”.
To get the service running let’s add an entity. Go to the service and select the Entities tab.
There will be an empty field in the two entity rules automatically set up. We need to add a host to search data for. I added my laptop to this to pull in its data. I’ll be showing the page without my laptop hostname.
Once you have added your host click save and then continue to save and enable. Click that and boom! We should be good to go!
Let’s check the service analyzer to see the data coming in.
I had to wait a few minutes for the searches to run so seeing no results at first is fine. Just give it some time. This data also shows up on the Infrastructure Overview tab automatically. Let’s check it out.
This process is how I got started on a client project and ultimately gave them the information they needed to monitor their business. Content packs are a great way to get started with ITSI and show immediate data before setting up the full service analyzer tree and any predictive analytics that make ITSI so great for companies! More information on the Splunk services we offer can be found on our Splunk Services page
Splunk Time Range inputs allow for a plethora of selections to accommodate any time range one’s heart desires. But what about when you need quick access to prior quarters and don’t want to have to keep dealing with clicking into the “Relative” section and selecting 1, 2, 3, or even 4 quarters ago? Of course, you could also manually set the Date Ranges in the “Date Range” section but that takes time and who’s got that kind of time nowadays?!
Instead, you could set up a drop down list that automatically calculates what the last four quarters are, with neat labels to identify them, and returns the time range for that quarter for any searches in your dashboard!
The labels above are all dynamic and will always be the last 4 quarters based on what the current date is. Let’s explore how to set up this drop down and then how to ensure the appropriate start and end dates are set so that all your panels can use them. First, the populating search for the drop down. Use the following search as the populating search for your dropdown list:
The search above calculates the last four quarters but, if you notice, that’s only limited by the count of the makeresults command at the top. Feel free to extend it and go back a bit further if you need to. The search creates 4 entries and numbers them using the streamstats command. Once numbered, it extracts some of the date information (year, month, etc.) and does a little math to calculate where in the year (i.e. quarter) it is currently. Based on that, it generates the start date for each row (i.e. quarter). Once configured, it just sorts them accordingly and returns the field with the start date of the quarter (more on this in a bit) as the value for the dropdown list item and the label for the dropdown list in the “label” field.
So how do both the start AND end time ranges get set if only the start time is available as the value? Well, a little logic application is all it takes! Note that, in this dashboard, there was an option for a “custom” time range in which an actual time input is able to be selected to define any other custom time range desired as well. Feel free to reach out for more information on how to implement that, or keep your eyes out for a future blog on this topic! Enough teasing and back to setting the end time! Set up a change handler for your dropdown list as shown below:
The change handler checks to make sure the selected option isn’t “Custom” and does a few things:
It unsets the token to show the custom time range selector to ensure that gets hidden away
It sets the tok_start_date token which is what all the dashboard panel searches will be using as their start date.
It sets the tok_end_date token which is what all the dashboard panel searches will be using as their end date. Rather than just grabbing it from the value like the start date could, it needs to be quickly calculated via an eval. The eval simply does a relative time of the start date token and adds 94 days (to ensure even 3 months of 31 days wouldn’t prevent it from pegging the end date to the start of the 4th month!) and then pegs it to the beginning of the month.
There you have it! Now, any panels in your dashboard (or better yet, your base search!) can just use the “tok_start_date” and “tok_end_date” tokens as their earliest/latest values and you can easily switch between quarters in your dashboard without having to worry about manually selecting x number of quarters ago or having to go in and define specific months!
In today’s fast-paced world, real-time data access is crucial for informed decision-making in any business landscape. Splunk, a powerhouse in data analytics, extends its capabilities through the Splunk Mobile App, empowering users to access valuable insights on the go.
Getting Started: Setting Up Splunk Secure Gateway
Before diving into the Splunk Mobile App, establishing a secure connection through the Splunk Secure Gateway is key.
Download and Install Secure Gateway: Obtain the Splunk Secure Gateway software from Splunkbase website. Install and configure it on your Splunk instance to ensure a seamless connection setup.
Configure Secure Gateway: Customize access controls, authentication, and permissions within the Secure Gateway to guarantee a secure and controlled data link.
Connect to Splunk Instance: Establish a secure link between the Secure Gateway and your Splunk instance, ensuring uninterrupted and protected data accessibility.
Navigating Splunk Mobile
The Splunk Mobile App serves as an all-access pass to your Splunk instance, offering convenience and flexibility for data exploration.
Download and Install Splunk Mobile: Find and install the Splunk Mobile App from your device’s app store. Get ready for effortless access to your data.
Login: Use your Splunk instance credentials (URL, username, and password) to seamlessly access your data within the app.
Connecting via Secure Gateway: Use the Splunk Mobile App to establish a connection to your Splunk instance through the configured Secure Gateway, ensuring a secure and encrypted connection.
Dashboard Exploration: Explore pre-configured dashboards, reports, searches, and alerts optimized for mobile viewing, providing quick insights at your fingertips.
Data Interaction: Engage with data by running searches, interacting with visualizations, and receiving real-time alerts directly on your mobile device, ensuring immediate responsiveness.
Key Features for Seamless Insights
Splunk Mobile boasts a suite of features tailored for a seamless and intuitive user experience:
Accessible Anywhere, Anytime: Enjoy unrestricted data access, ensuring connectivity regardless of your location, fostering continuous productivity.
Real-Time Data Interaction: Receive live updates and alerts for critical changes, facilitating prompt and agile decision-making.
Tailored Mobile Dashboards: Optimize dashboards for quick insights while on the move, ensuring efficiency and immediacy in data interpretation.
Interactive Data Analysis: Conduct searches, analyze visualizations, and troubleshoot issues conveniently from your mobile device, empowering effective data-driven actions.
Collaborative Decision-Making: Facilitate team collaboration and informed decision-making with real-time data access, ensuring cohesive efforts and streamlined workflows.
Stringent Security Measures: Adherence to high-level security standards ensures data protection across all mobile usage, guaranteeing confidentiality and integrity.
Crafting and Accessing Your Dashboard
Craft personalized dashboards on your desktop within Splunk, ensuring mobile-friendly designs for seamless access and interaction on the Splunk Mobile App. Effortlessly log in to the Splunk Mobile App and navigate to your pre-configured dashboard for on-the-go insights, ensuring consistent and convenient access to vital data.
Best Practices for Optimal Use
Go Mobile-First: Embrace the mobile interface to maximize your experience, ensuring familiarity and efficiency in your data interactions.
Stay Updated: Keep the app updated for access to the latest features and improvements, ensuring enhanced functionalities and performance enhancements.
Secure Your Data: Utilize built-in security measures to protect sensitive information, prioritizing data integrity and privacy, and ensuring peace of mind in data management.
Enabling Data Mobility with Splunk
Splunk bridges the gap between desktop and mobile environments, ensuring constant access to vital data insights regardless of your location—be it in the office, traveling, or working remotely. Splunk Mobile stands as a testament to seamless data accessibility, empowering users with unparalleled data mobility and insights.
As my day was about to end, I was tasked with a rather extremely time-consuming mission. After researching for over 30 minutes to find a resolution to reach my end goal, one of my colleagues reached out to me with an ultimate resolution. Now, you may be wondering to yourself, what was my end goal? I had a list of 99 hosts that Splunk, when I ran the search below using Splunk SPL, provided only those 53 hosts that WERE ingesting into my index.
“What is Splunk SPL?”, you may be asking. Splunk SPL (Search Processing Language) is the powerful query language used in Splunk for searching, analyzing, and visualizing machine-generated data. SPL commands are written in the Splunk search bar to interact with data indexed in Splunk. The TekStream team knows Splunk SPL well – we even spoke about this topic at .conf 2024!
So back to my end goal: how can I easily and efficiently perform a function that will provide me with only the hosts NOT currently ingesting into my index?
index=<MYINDEX> host IN (LIST OF HOSTS) | stats count by host | fields – count
Using the search above, I could take the results (which do not include the count number, this is easier for copy pasting of the hosts), download a software like Beyond Compare 4 and compare the complete list of hosts to my search results hosts. Not only would this take more work and time, but I would have to use an external software to achieve my goal. The easiest way to achieve our end goal is to use Splunk SPL.
The search below is an adaptation of my search but includes some ingenious logic to achieve our goal. ***WHEN COPYING AND PASTING THE SEARCH BELOW, PLEASE MAKE SURE YOU FIX THE DOUBLE QUOTES, THEY WILL PASTE INCORRECTLY***
I will break the search into two parts. The first part searches the internal index searching for our hosts. I have added the upper command so that all the hosts are capitalized (you can use upper or lower for this part). The goal of the first part of the search is to list all the hosts that are ingesting into our index and label them as INDEXEDHOSTS.
We then append the second part of our search to the above. The goal of the second half of the search is to create a dataset using all our hosts and call it ALLHOSTS. The rex command removes any newline or carriage return in the list so that our hosts are lined up in list form. The makemv and mvexpand consolidate the hosts into a single list, and then it expands the hosts into single hosts.
After our two searches are appended together, we perform a stats values of every field appearing in the data. Preceding this, we run an eval of count doing an mvcount on DATASET. The mvcount function is used to count the number of values within a single field instance. The mvcount function helps you understand how many values are present in a multivalue field for each event or result in your search.
Please see the screenshots below that show my search and the results. For testing purposes, I am using the internal index within Splunk. The last three hosts in my list starting with p204 do not exist and are not ingesting into the internal index. As you can see from the first screenshot, all the other hosts are ingesting into the internal index.
As shown above, you can see the search I ran to accomplish my goal of providing me with the hosts that are not ingesting into the internal index. The three hosts shown in the results are the hosts that are not ingesting into the internal index, hence providing me with my resolution very quickly.
In conclusion, being able to find the hosts quickly and efficiently in a list that are not ingesting into Splunk or a certain index allows you to get to the root cause of why they are not ingesting in a more rapid manner. Identifying the root cause, whether it be configuration errors, connectivity issues or other technical challenges, is the second step of our process towards resolution. Implementing corrective measures promptly, such as creating a scheduled report of the search above, will ensure uninterrupted flow of data into the designated indexes. If you are having configuration problems with your hosts, consider reviewing this TekStream Blog as well.