Author: dystrick

  • The Current State of Unstructured Data Analysis and What It Means for Your Business

    The Current State of Unstructured Data Analysis and What It Means for Your Business

    UPDATED February 9, 2023: The data analytics industry is continually evolving. What seemed like science fiction only years ago has become a business fact as new data analyzing tools and techniques come to market. And while larger organizations (with deeper pockets) have been the driving force of much of this change, advancements in artificial intelligence and machine learning have democratized big data analysis. Nowhere is this more apparent than the evolution of the modern, unstructured data analysis landscape.

    Accounting for nearly 80% of all data generated and stored by an organization and growing at a rate of 55%-65% each year, unstructured data is one of the largest untapped and continuous sources of business intelligence. We’ve put this blog post together as an introduction to unstructured data and some of the tools and techniques that companies are using to analyze and mime their unstructured data for actionable insights to improve their organization and bottom line.

    Understanding the 3 Different Types of Big Data

    To understand what is meant by the term unstructured data, you first need to know where it falls within the broadest categories of business data – structured data, semi-structured data, and unstructured data. The below table compares the overarching differences between these data sets.

    Structured DataSemi-Structured DataUnstructured Data
    • Historically used for data analysis and mining.

     

    • Data that is loosely organized by its source and delivery channel:
      • Email
      • Tweets
      • Folders
    • Data that is not organized in any way, which makes it difficult to process and analyze using traditional methods.
      • Surveys
      • External Industry Reports
      • Data Analysis
    • Designed for data capture, data input, data analysis, search, etc. within the document.
    • Has some basic search/discovery
      • Inbox Search
      • Hashtags
      • Folder Names
    • Tends to be text-heavy but can include voice recordings, images, video, etc.
      • Notes (handwritten or typed)
      • Documents (POs, Resumes, Invoices)
      • Rich Media (Geo-Spatial, Security, etc.)
      • Analytics/Performance Data
      • Internet of Things Usage Reports/Data Streams
      • Customer Communications (Surveys, Live Chat, Automated Messaging)
    • Pre-defined structured format with standardized columns and rows:
      • Databases, Google Sheets, CSV, Excel, etc.
    • Specific data within these channels is unstructured and text-heavy.

     

    • Also known as qualitative data.
    • Tends to be utilized within an organization according to data type.

    As you can see, the definition of unstructured data is broad. There is no consistent medium or format, but most unstructured data is unstructured text: documents, social media posts, emails, surveys, and more.

    So, how does a large organization mine swathes of unstructured data for nuggets of actionable gold?

    The Current Environment and Capabilities for Mining Unstructured Data

    As the importance of mining unstructured data grows, new discovery and intelligence tools are introduced to the market. Simultaneously, as analysis technology improves, more companies build systems and tools that have integrated data logging capabilities, capturing and generating more unstructured data than in previous years.

    This means that not only do companies of all sizes have access to more advanced data mining tools, they also have more extensive data sets to analyze.

    In general, there are three core AI capabilities that are empowering unstructured data analysis:

    Intelligent Document Processing*: Fueled by natural language processing (NLP) and machine learning (ML), these systems analyze text-based documentation (PDFs, notes, reports) to uncover insights. The machine-learning capabilities allow you to “teach” the AI how to read your specific documentation and guide its insight discovery.

    Computer Vision: This is used to analyze image and video content through digital imaging technologies, pattern recognition, and ML in order to process your visual data and uncover actionable intelligence.

    Internet of Things: Here, data is generated from machines. AI relies on real-time analytics, ML, and smart systems to analyze the data for performance-improvement insight.

    Intelligent Document Processing and Text-Based Data Analysis

    We stated this earlier, but the vast majority of an organization’s unstructured data is text-based. More organizations are leveraging the power of Intelligent Document Processing (IDP) systems to drive data mining and identify impactful findings.

    Here are just a few examples of how companies are leveraging document understanding to fuel insight gathering:

    • – Sentiment Analysis: Automatically classify text by sentiment and pull together trend reports.
    • – Keyword Extraction: What keywords are recurring throughout a data set?
    • – Regulatory and Compliance Support: Identify regulatory or compliance issues before they impact your business.

    Getting Started with Unstructured Data Analysis

    Ready to get started mining your unstructured data? TekStream has deep experience deploying both pre-built and custom unstructured data analysis solutions that empower teams with the insights they need to take action and improve their bottom line. Read more about IDP, and contact us to learn more about how we can assist your company with its unstructured data analysis goals.

    Are you looking for more insights and best practices for unlocking value from your unstructured data? Download our free eBook, “How Cloud AI Unlocks Value from Unstructured Data and Content.”

    Unlock the value of your unstructured data and content. In our eBook, you'll learn how data from variable sources can help you make smarter business decisions. What could your team achieve with greater insight into all the information your business collects? Download now.

    *Intelligent Document Processing may also be referred to as Document Understanding.

  • Leveraging Machine Learning for Intelligent Document Processing

    Leveraging Machine Learning for Intelligent Document Processing

    By: Troy Allen | VP Cloud Services

    UPDATED February 9, 2023: Businesses thrive on information, but due to the complexity and wide variety of data available within an organization, finding usable information can be challenging and time-consuming. As organizations are inundated with documents, forms, data streams, and more, it’s becoming increasingly difficult to extract meaningful information efficiently, funnel that information into the systems that need it, and present it in a fashion that drives better business decisions. Machine Learning (ML) and Artificial Intelligence (AI) tools are helping solve those challenges. ML and AI tools have rapidly become more sophisticated and capable of allowing organizations to gather critical information out of their content, rich media files, and data to facilitate better Intelligent Document Processing, or IDP* (interpreting unstructured documents into recognizable sets of information). IDP is primarily focused on the information companies commonly mine: textual-based information, videos, and graphics. AWS has recognized the importance of Document Understanding and developed services to help drive visibility and analysis that companies desperately need. Amazon’s Textract and Rekognition machine learning services are designed to gather meaning out of documents, rich media files, and data.

    Getting More Out of Text

    While Optical Character Recognition (OCR) has been around for many years, most organizations tend to overlook its strengths and ability to improve data processing. AWS Textract, while it does provide OCR functionality as a cloud-based service, offers much more than one might expect because of its ability to bring Machine Learning-based models to business applications. In order for data to be useful, it must first be collected; Textract goes beyond simple OCR by providing the ability to distinguish key-value pairs of information, table data extraction, and recognition of checkboxes and radio buttons. Amazon Textract makes it easy to export the extracted data into a database or into off-the-shelf or custom applications. Traditional OCR solutions require additional tools to provide this level of data recognition and extraction.

    More than OCR

    Textract by AWS goes beyond OCR by not only collecting the content but understanding where the content came from. Textract provides the ability to not only perform standard character recognition but is designed to understand formatting and how content is aligned within a page. This is accomplished by recognizing and creating bounding boxes around key information and text areas to support the content, table extraction, and form extraction.

    Textract retrieves multiple blocks of information from each page of the image it investigates:

    – The lines and words of detected text
    – The relationships between the lines and words of detected text
    – The page that the detected text appears on
    – The location of the lines and words of text on the document page

    Table Data Exposed

    AWS Textract is well equipped to locate table data within documents. It recognizes the table construct and can establish key-value pairs with the cells by referencing the row and column information.

    In addition to detecting text, Textract has the ability to recognize selection elements such as checkboxes and radio buttons.  A check box that has not been selected, such as  or Ο is represented as a status of NOT_SELECTED whereas checked boxes and circles are represented as SELECTED and can be tied to a key-value pair as well.  This can be extremely helpful in finding values in both tables and forms.

    The Power of Key-Value Pairs

    Businesses have been interacting with their clients and vendors for decades through forms. Textract provides the ability to read form data and clearly define key-value pairs of information from them. Many organizations struggle with the fact that forms change over time, and it can be difficult to train legacy OCR tools to find data when those tools are specific to a particular form layout. Textract removes that limitation by reading the actual text rather than a location on a form to get its information and analyzes documents and forms for relationships between detected text.

    Getting More from Images

    AWS Rekognition makes it easy to analyze image and video files using proven, highly scalable, deep learning technology that requires no machine learning expertise to use. Amazon Rekognition provides the ability to identify objects, people, text, scenes, and activities in images and videos, as well as detect any inappropriate content. It provides those capabilities while also delivering highly accurate facial analysis and facial search capabilities that can be used to detect, analyze, and compare faces for a wide variety of user verification, people counting, and public safety use cases.

    Using AI to See More

    With AWS Rekognition custom labels, objects and scenes in images can be identified for specific business requirements and actions. Models can be configured to classify specific machine parts, identify the use of Personal Protection Equipment (PPE) for employees from surveillance videos, capture model numbers in images, and detect persons of interest for image classification to name a few use cases. AWS Rekognition custom labels allows organizations to quickly identify objects and images that have value to their specific business and processes.

    Uncovering Hidden Data

    As with AWS Textract, Rekognition provides a way for companies to identify key information that can be stored, processed, and shared with other applications enabling Intelligent Document Processing across files and data. Context of information is critical to assigning value and defining how it can be best utilized.

    AWS Rekognition helps companies realize value in their images and videos across many different use cases across the enterprise:

      • Discover inappropriate content – filter images and videos for objects and scenes containing inappropriate content such as nudity, weapons, graphic violence, and even inappropriate text in the videos or images.
      • Identify key objects – Rekognition can be utilized to filter social media video and image files to identify products, brands, people, and even landmarks.
      • Help improve workplace safety – with the support of video, AWS Rekognition can be utilized to inspect surveillance videos and identify issues such as people not wearing Personal Protective Equipment (PPE) and obstructive objects in the workplace.
      • Support identity verification – facial recognition and person recognition can be accomplished through Rekognition by detecting humans, identifying facial features, and even comparing those to documented photographs of people for identifying people in images and video files.
      • Capture text information – AWS Rekognition also provides the ability to perform text capture and recognition in video and image files. This can help an organization gather data and information contextual to a video or image such as the model number of a part from a photograph of a manufacturer’s plate or even identify names of streets from street signs in a video to assist in determining the location of the event filmed.

    You Are Not Alone

    Business solutions can be complex, but making them work for your requirements doesn’t have to be.  Clearly defining your goals and objectives is half of the battle, the other half is knowing what tools will help you achieve those goals.  Are your off-the-shelf solutions and applications collecting all the information you have?  Do you need a business solution to manage all of your documents and data, but don’t know where to start?  Are you looking to move off an outdated legacy application that no longer supports your business direction?  You are not alone.

    Thousands of companies are facing the same questions and are finding the best answers by engaging with experts from Amazon and experts from solution service providers. TekStream, along with Amazon, is excited to speak with you about your IDP needs and how the right tools and solutions can have a positive impact on how you conduct business. TekStream is offering a free Digital Transformation assessment where we will work with you to identify your document processing needs and provide process and technology recommendations to help you transform your business with ease.  Reach out to us at [email protected] for more details or call 1-844-TEK-STRM.

    Unlock the value of your unstructured data and content. In our eBook, you'll learn how data from variable sources can help you make smarter business decisions. What could your team achieve with greater insight into all the information your business collects? Download now.

    *Intelligent Document Processing may also be referred to as Document Understanding.

  • How Robotic Process Automation Fuels Intelligent Document Processing

    How Robotic Process Automation Fuels Intelligent Document Processing

    By: Troy Allen | VP Cloud Services

    RPA, or Robotic Process Automation, is becoming more prevalent in the world of business process automation. In its simplest form, RPA is the practice of utilizing bots or Artificial Intelligence (AI) to analyze information and make recommendations for actions based on that analysis. RPA is not a static set of rules that a process follows. It is an evolving model that learns and adapts by examining recommendations and the actual actions taken and adjusts future actions based on what it has “learned.” In short, RPA is business process automation driven by artificial intelligence that learns as it goes to provide increasingly accurate actions and results.

    As with business process automation, RPA can be utilized for many common tasks in an organization. Insurance companies leverage RPA to automate the onboarding of new clients and validate insurance claims to reduce the amount of human-based processing while increasing accuracy. Manufacturing companies utilize RPA to process Bill of Material documents and Purchase Order management. Both examples focus on automatically processing documents and associated information that normally requires a high level of human interaction and decision making.

    As an essential part of RPA, Intelligent Document Processing* provides critical insights into the information being processed, helping to make the automation more accurate.

    Intelligent Document Processing (IDP), a subset and critical function of RPA, interprets unstructured documents into a recognizable set of information that can be analyzed and acted upon with high levels of confidence.  Using specialized Artificial Intelligence tools, IDP allows for the recognition of critical details and associations that would normally require human review to identify. For example, with forms processing and extracting key information from tables, IDP enables RPA processes to perform highly accurate analysis and actions based on that information.

    RPA and Intelligent Document Processing in Action

    Onboarding new employees requires a large amount of information to be collected and processed. Typical employers accept and track candidate applications, compensation details, candidate/employee profiles, onboarding documentation, performance management documentation, and various state and federal employee documents. This can result in 15 to 20 documents being processed for each employee being hired.

    Imagine an organization that hires thousands of employees for seasonal work; this can result in 2,000 or more documents that have to be reviewed, processed, and acted upon in a very quick timeframe. Considering that a single document may take a human resource worker 2 minutes to review and make critical decisions about, and up to 2 hours per document to complete its process, this can result in over 4,000 hours of processing. Assuming the average resource cost for the participants involved in the processing of new employees is $25 an hour, the company could be looking at over $100,000 just to onboard these new employees! This cost is most likely higher considering that not every candidate is a fit for the role or company and more candidates must be screened, interviewed, and processed to meet hiring goals.

    With RPA and IDP, automated processes could be deployed to help minimize the amount of time each processor has to interact with the various documents and the actual process. In many cases, documents can be automatically reviewed, analyzed, categorized, and routed for action based on a well-defined business process. As an example, this can reduce the overall processing of those 2,000 employees from 4,000 hours to 2,000 hours, resulting in a $50,000 reduction in onboarding and hiring costs for seasonal employees.

    What are the savings with RPA and Intelligent Document Processing?

    As with any process, it takes time to establish, configure, test, and update to make the process as efficient and accurate as possible. This is true with Robotic Process Automation and IDP. Many RPA tools provide a baseline of processes and intelligence based on business processes, but no two organizations operate the same way.

    These baseline processes need to be modified to meet specific organizational operations. In many cases, RPA and IDP platforms provide a solid foundation to build upon, which can save significant operational costs right out of the box. RPA and IDP are designed to learn as more information is processed which means that speed and efficiency grow exponentially.

    Over time, organizations that utilize RPAs can see upwards of a 40- 50% increase in efficiency and a reduction of 50% or more in processing costs. The following chart outlines the potential return on investment (ROI) of an RPA solution with IDP with 2 automated processes that traditionally take 4 full-time employees 35% of their time to perform with a salary of $55,000 annually per employee:

    Five-year ROI table showing the cost-benefit analysis of implementing Robotic Process Automation. Includes columns for current processing cost, weekly hours, RPA implementation costs, net ROI and annual accrued ROI.

    How to Learn More

    Contact us to learn more about our RPA and IDP solution – Intelligent Document Processing (IDP) by TekStream. Through our experience and hundreds of implementations, we help companies streamline business processes and improve decision-making with a structured approach to unstructured content and data.

    Using TekStream IDP, organizations can enable their users to quickly process and manage critical business documents, images, forms, video files, and unstructured data from a wide variety of sources. Fill out the form below to see how we can help you understand how Robotic Process Automation and IDP can be leveraged within your organization. You’ll improve your processing efficiency, reduce overhead, and see a return on your RPA investment quickly so you can focus on driving your business to even greater heights of success.

    *Intelligent Document Processing may also be referred to as Document Understanding.

    Unlock the value of your unstructured data and content. In our eBook, you'll learn how data from variable sources can help you make smarter business decisions. What could your team achieve with greater insight into all the information your business collects? Download now.

  • Forwarder 6.x Compatibility with Splunk 8.0

    Forwarder 6.x Compatibility with Splunk 8.0

    By: Forrest Lybarger | Splunk Consultant

     

    If you are looking into upgrading Splunk to 8.0, you have probably come across the compatibility matrix for forwarders:

    Compatibility matrix showing support between different Splunk forwarder and indexer versions. Forwarder versions 6.0.x–6.2.x are unsupported, 6.3.x–6.6.x have limited support, and 7.x–8.x are compatible with indexer versions 7.0.x–7.3.x and 8.x. Letters E, S, and M indicate specific compatibility types.

    Source: https://docs.splunk.com/Documentation/VersionCompatibility/current/Matrix/Compatibilitybetweenforwardersandindexers

     

    This table means that Splunk does not support, nor has it tested, the use of 6.x forwarders with 8.0 indexers. It doesn’t mean that it is impossible for them to work together. In other words, you can use 6.x forwarders at your own risk. Any problems you have with these forwarders, however, will almost always be caused by the version difference and most likely fixed by upgrading.

    With all the caveats out of the way, how do you get this working? Well, it depends on what exact version your forwarders have. Here are the affected versions:

    • 6.0.0 to 6.0.6
    • 6.1.0 to 6.1.4
    • 6.2.0 to 6.2.6
    • 6.3.0 to 6.3.1
    • 6.3.1511.1

    The issue is that some older 6.x versions of Splunk use a different SSL protocol from 6.6.x and later versions, which makes them unable to connect via the management port (usually port 8089) and unable to communicate with the deployment server. To correct this, you need to force the newer Splunk components to use an SSL version that the older components can understand. In this case, your forwarders are the only components not upgrading to 8.0, so you only need to fix the deployment server. To avoid issues with these forwarder versions add an app with a server.conf containing this stanza to your deployment server:

    [sslConfig]

    sslVersions = *,-ssl2

    sslVersionsForClient = *,-ssl2

    cipherSuite = TLSv1+HIGH:TLSv1.2+HIGH:@STRENGTH

    Allow any sslConfigs apps your environment already has to override this app by giving it a lower priority name or just add the lines from the stanza that aren’t present in your current app. You can delete this new ssl config after your forwarders are upgraded.

    This fix should only be used if you must upgrade to 8.0 and can’t wait for your forwarders to upgrade. Keep in mind that this is not Splunk supported, so for now it could work (latest version as of writing this is 8.0.6), but in the future, Splunk could break this workaround. When you do implement this fix, make sure to prioritize upgrading your forwarders and understand that any problems involving data ingestion or forwarding are most likely caused by not upgrading your forwarders to at least 7.0 (latest version possible is recommended).

    Want to learn more about forwarder 6.x compatibility with Splunk 8.0? Contact us today!

     

  • OCI DR in the Cloud

    OCI DR in the Cloud

    Business Continuance via Disaster Recovery is an essential element of IT and takes on many forms. The high end consists of high availability solutions that provide real-time replication of systems. While these systems provide seamless continuity during outages they are large, complex, and expensive, justifiable to support only the most critical business applications. At the other end of the continuum, however, Disaster Recovery is little more than tape backup or backup to NAS which have complicated and lengthy restore procedures which take hours or days.
    A major improvement can be made in disaster recovery with a solution that provides business continuity in a model that simply extends the existing IT architecture into the Cloud.

    Rackware RMM Migration/DR platform is a non-intrusive Agentless Technology with pre- and post- Migration Configuration Capabilities that is easy to set up and configure for complicated enterprise environments/applications. Rackware RMM supports both Linux and Windows-based workloads for migration to the Oracle Cloud Infrastructure.

    RackWare RMM platform provides a flexible and all-encompassing solution for Migration and disaster recovery. RackWare helps Enterprises and large Organizations take advantage of the agility promised by Oracle Cloud Infrastructure. Rackware’s platform eliminates the complexity of protecting, moving, and managing large-scale applications, including critical business applications and their workloads into the Oracle Cloud. It is now possible for enterprise customers to forgo the upfront purchase of duplicate recovery hardware, the cost of set up, configuring, and maintaining that hardware by leveraging Oracle cloud infrastructure.

    Rackware RMM provides the following value proposition for enterprises in the Oracle Cloud:

    • Non-disruptive / Live Captures -No agents installed, safe and secure replication of your production environments
    • Network and Application Discovery – Automatically discover network configurations and applications allowing you to reconfigure them in the OCI environment during migration
    • Universal DR Protection – RackWare support spans all physical and virtual confluences, even for complex environments with Large SQL Clusters, and Network Attached Storage
    • Seamless Failback –  To physical and virtual environments, for simple disaster recovery drills
    • Cost Reduction – Orchestration engine for multiple polices of RPOs and RTOs based on tolerance to reduce costs with less expensive compute, network, and storage utilization.

    Storage Methods

    There are 2 storage methods available for Disaster Recovery.

    Store and Forward

    Store and Forward will create an image of your source workload in storage on the RMM’s database. When using this method, the RMM will need a datastore capable of containing the amount of used data from each source hosts minus typical compression savings.

    Store and Forward is required if using the auto-provision feature whereby the RMM will only provision the compute resources during a DR event or test/drill event or to offer the multi-stage protection of having data protected by a stored image and then synced from stored image to target compute resources.

    Passthrough

    RMM does not store a copy of the used data from source hosts. The RMM acts as a passthrough proxy to sync the source workload data through itself and onto the target DR instances.

    How it works

    RMM provides a DR solution that builds on its image mobility and elasticity features to bring economic DR to enterprises. The building blocks of RackWare’s DR solution include onboarding, cloud bursting and the policy framework to automate necessary functions. Captured images from production (origin) instances are cloned and pushed out to a local or remote DR site. Changes in production images are periodically synchronized with the remote images, keeping the original host Image and the DR image in sync. In the event of an outage at the origin site, the up to date image at the DR site can assume operations through RackWare’s fail-over mechanism.

    After the production instance is repaired and operational, it’s easy to restore the origin site to any up any changes made to the CloudImage in the cloud. When the origin site is restored to its operational state, the administrator can utilize the capture from cloud feature to refresh the original Image and synchronize any changes that occurred during the outage.

    Diagram showing real-time synchronization of OS, applications and data from an origin instance to a recovery instance in the cloud, with users actively connected to the origin.
    Illustration of a failover process where the origin instance goes down and users are rerouted to the recovery instance hosted in the cloud.
    Diagram depicting a failback scenario where, after repair, the origin instance resumes operation and users reconnect while data syncs back from the recovery instance.

    Overhead on the origin Host is extremely small involving only resources to take a delta snapshot. Thus the data overhead of the WAN link incurs only the delta of information, keeping bandwidth needs and sync time to a minimum. It’s important that Image updates include user data, Operating System updates, and application installations and configuration changes so that the recovery image behaves exactly like the production image should a failover occur. The cloud DR feature supports all of these. While OS updates are more infrequent it is still important to ensure that kernel patches are kept in sync with the DR Image. When updating the OS, an image refresh operation is done from the RMM first before the sync to the CloudImage. Should the production system be compromised or inoperable, the CloudImage is automatically launched and is running with the latest synchronized changes.

    Oracle & Rackware partnership provides a seamless experience to Migrate to the Oracle Cloud Infrastructure and secure customer workloads with dynamic provisioning and disaster recovery.

    About TekStream
    TekStream accelerates clients’ digital transformation by navigating complex technology environments with a combination of technical expertise and staffing solutions. We guide clients’ decisions, quickly implement the right technologies with the right people, and keep them running for sustainable growth. Our battle-tested processes and methodology help companies with legacy systems get to the cloud faster, so they can be agile, reduce costs, and improve operational efficiencies. And with 100s of deployments under our belt, we can guarantee on-time and on-budget project delivery. That’s why 97% of clients are repeat customers. For more information visit https://www.tekstream.com/

  • Integrating Oracle Cloud ERP (Cloud Fusion) With External Applications Leveraging Oracle BI Reports

    Integrating Oracle Cloud ERP (Cloud Fusion) With External Applications Leveraging Oracle BI Reports

    By: Greg Moler | Director of Imaging Solutions

      Does your organization utilize Oracle Fusion Applications such as Oracle Cloud ERP, Cloud Human Capital Management, and Project Portfolio Management cloud?  Are you looking for ways to extend the functionality of these applications?  These platforms store a lot of critical business data, much of which has the potential to be integrated with other third-party applications.  In this article, we explore use cases and considerations for leveraging Oracle BI reports to integrate Oracle Fusion data with external applications.   What are Oracle BI reports? Oracle’s Fusion Applications including Cloud ERP, Cloud Human Capital Management, and Project Portfolio Management cloud as well as many others, use the Oracle Business Intelligence (BI) platform to provide reports and analytics.  BI reports provide a way to query and report against the underlying data in these platforms.  In the cloud platform, these take the place of traditional database queries.  They can be used in a variety of different functions to extract data for use with external applications.   Use Cases When it comes to potential use cases for extending your Oracle Fusion application’s data, the possibilities are endless.  If you can think of a need, we can design a way to build it.  In this section, we take a glimpse at some specific use cases for integrating data from Oracle Cloud ERP.
    • Automating GL/Project Account Coding: Manually coding invoices can be time-consuming for AP personnel. This process can be streamlined by automating business logic to programmatically apply GL and Project codes to invoices.  For example, often one attribute on the invoices drives the rest of the coding.  Another common scenario is vendor distribution sets, where each vendor has a pre-defined set of charge account strings and percentages that get applied to each invoice.  BI reports can be structured to take input from your 3rd party application such as vendor id and return coding data.
    • Workflow routing and Approval hierarchy: If your application does workflow routing or approval hierarchy, it will need to know which user’s documents should be assigned to. Often, this is based on data on the document and can be retrieved from Cloud ERP.  BI reports can be designed to return the appropriate workflow assignee based on the pertinent ERP data.  If your organization also utilizes Oracle Human Capital Management (HCM), you can extend functionality even further by directly accessing employee data in the approval hierarchy.
    • Vendor data: Vendor data stored in Oracle Cloud ERP can be incredibly useful in a variety of different scenarios. For example, vendor identification on invoices, purchase orders, and other documents.  Another common use case is the use of vendor-specific attributes or descriptive flex fields (dffs) defined in Cloud ERP.  These attributes can be easily maintained by the business in the Fusion interface and leveraged in an external application to drive automation such as account coding or workflow routing as described previously.
    • Validation data: More than likely, your application will need to be able to validate that the data on the document or object is correct before allowing it to proceed. The information needed to perform this validation is typically stored in Cloud ERP.  For example, validating whether a purchase order had enough open balance available for a line item.  BI reports provide a way to perform these validations, simply by taking input parameters from the external application and returning corresponding data from cloud Fusion.
    • Reporting data: Reporting options within Fusion Applications and Oracle Business Intelligence platform can be limited. These reporting capabilities can be supplemented by an external reporting tool.  BI reports provide a way to extract data out of Oracle for analysis and reporting in an outside application.
       Considerations when creating Oracle BI Reports: When designing and creating Oracle BI reports for integration with an external application, there are many considerations including:
    • Data Structure: Design a reusable format for your BI reports so that data is returned in a consistent structure. This will simplify integration points with the reports.
    • Data return type: What return data type will your application require? XML? CSV?
    • Catalog folder structure: Consider how to organize your catalog folder structure. Which reports function together and should be grouped together?  Which reports should be promoted together between environments?  The easiest way to migrate reports is to use the Archive/Unarchive function on an entire folder.  It is important to consider which reports should be archived together.
    • Testing options: The most basic way to test the BI reports is through the Fusion Catalog Manger. This provides a good baseline test.  More than likely, the reports will be called via web service, so the next layer of testing should be done using a tool such as SOAP UI that will allow you to test calling web services.  This will allow you to call the web service and view responses as they will be received by the external application.  Keep in mind that all responses must be decoded before they can be consumed.
      Interested in getting more out of your Cloud ERP data?  Contact TekStream to learn about how we can assist with your Cloud Fusion integration needs!
  • Working with Multivalue Fields in Splunk

    Working with Multivalue Fields in Splunk

    By: Yetunde Awojoodu | Splunk Consultant

    Have you ever come across fields with multiple values in your event data in Splunk and wondered how to modify them to get the results you need? Each field in an event typically has a single value, but for events such as email logs you can often find multiple values in the “To” and “Cc” fields. Multivalue fields can also result from data augmentation using lookups. To properly evaluate and modify multivalue fields, Splunk has some multivalue search commands and functions. If you ignore multivalue fields in your data, you may end up with missing and inaccurate data, sometimes reporting only the first value of the multivalue field(s) in your results.

    In this article, I have applied a simple scenario to illustrate how different multivalue commands and functions can be used individually or combined to meet different use cases. I will cover some common search commands and functions that work with multivalue fields. Note that multivalue functions can be used with eval, where or fieldformat search commands. In my illustrations, I employed the “makeresults” command to generate hypothetical data for my searches so that anyone can recreate them without the need to onboard data. Read more on the makeresults command.

    Scenario

    Within one purchase transaction, Mary bought eggs, milk and bread. She paid for the eggs with cash and covered the remaining items using her credit card. We can assume that this purchase transaction is equivalent to a log event. The values for each multivalue field are separated by the comma delimiter.

    Example 1:

    Splunk search example showing creation of two multivalue fields: groceries and payment, each containing comma-separated values.

    Please note that in all the results, I have deliberately excluded the default field, “_time” which is a default field generated when the makeresults command is used.

    Makemv (Command)

    This command is used to split the values of a field that appear like a single value into multiple values within an event based on the delimiter. A delimiter specifies the boundary between characters.

    Example 2:

    Splunk search using the makemv command to convert the groceries field into a true multivalue field.

    The values in the “groceries” field have been split within the same event based on the comma delimiter. The values in the “payment” field remain the same. The report shows the method of payment for all three grocery items but it does not specify the actual payment method used for each item. To expand the event into three separate events, one for each item and show the exact payment for each grocery item, we will need a combination of commands and functions.

    Mvzip (Function)

    The mvzip function is used to tie corresponding values in the different fields of an event together. This helps to keep the association among the field values. This function takes two multivalue fields, X and Y, and combines them by stitching together the first value of X with the first value of field Y, then the second with the second, and so on.

    Example 3:

    Splunk example demonstrating use of mvzip function to pair grocery items with payment types into a zipped multivalue field.

    The new field, “zipped” is the result of the mvzip function. The values of the groceries and payment fields are properly zipped together before expanding into separate events. Note that at this point, the results are still within one event.

    Mvexpand (Command)

    This command expands the values of a multivalue field into separate events, one event for each value in the multivalue field. All other single field values and unexpanded multivalue field values will remain the same in each new event.

    Example 4:

    Splunk search result using mvexpand on zipped grocery-payment pairs to display each pair in separate events.

    Mvexpand works great at splitting the values of a multivalue field into multiple events while keeping other field values in the event as is but it only works on one multivalue field at a time. For instance, in the above example, mvexpand cannot be used to split both “zipped” and “payment” fields at the same time. The next function will come in handy to accomplish this.

    Mvindex (Function)

    Having zipped the values and created one field, “zipped”, you can now expand the “zipped” field into multiple events. The mvindex function is a little more intricate. To further tie field values together so that accurate associations are made in the process of expanding the values into separate events, mvindex will separate the existing multivalued field into two chosen fields using index values. Indexes can start at zero if labeling from the first value. For example, if values= a,e,i,o,u; a=0 e=1 i=2 o=3 u=4. You could also label from the last character with -1; a=-5 e=-4 i=-3 o=-2 u=-1 or you could choose to have a combination of both index patterns; a=0 e=1 i=2 o=-2 u=-1.

    Example 5:

    Splunk search splitting mvzipped field into two columns: individual grocery items and corresponding payment methods.

    Mvindex was used to assign index 0 to the first value in the group which represents groceries and index 1 to the second value representing payment method so that when the fields are split, the values will not get mixed up. The “split” command was used to separate the values on the comma delimiter. Using mvindex and split functions, the values are now separated into one value per event and the values correspond correctly.

    Tip – The stats command can also be used in place of mvexpand to split the fields into separate events as shown below:

    Example 6:

    Splunk query leveraging mvindex and split functions to control and format multivalue data results for clear tabular output.

    Mvcount (Function)

    This function can be used to quickly determine the number of values in a multivalue field using the delimiter. If the field contains a single value, the function returns 1 and if the field has no values, the function returns NULL.

    Example 7:

    Splunk example using the split and mvcount functions to calculate the number of elements in a multivalue field.

    As with single value fields, keep in mind that you may need a combination of multivalue commands/functions to get your report in the required format that will meet your specific use case.

    Note: If there are situations in your data where a field is sometimes multivalue and other times null, you can refer to Splunk technical support.

    Want to learn more about working with multivalue fields in Splunk? Contact us today!

  • A Use Case for Ingest Time Eval

    A Use Case for Ingest Time Eval

    By: Zubair Rauf | Senior Splunk Consultant

     

    A few days ago, I came across an interesting challenge that a customer put in front of me. They had been facing this for some time now. The customer works with an app that logs all of its events 7 hours ahead of Eastern time, irrespective of daylight savings time. The server clock reset to midnight when Eastern time was 5:00 PM all year round. To work around this problem and make sure the events were always synced with the correct time zone, they adjusted the sourcetype for those logs every time daylight savings time started or ended.

    When presented with this problem, I spent a good amount of time to find a time zone that would change with eastern time when daylight savings time changed and have the same time offset as those logs. Not having any success on that front, I started looking at alternatives to help my customer overcome their issue and I came across this powerful way to solve the problem with a one-time fix with the sourcetype.

    Splunk introduced Ingest time evals with Splunk Enterprise 7.2. Ingest time evals are similar to search time evals that have helped Splunk be the powerful tool that it always has been. Ingest time evals allow you to write an EVAL formula that is executed at ingestion time to create a new indexed field or to update a field’s value. They give you more control over Splunk index time fields as well. In my particular case, having control over and being able to manipulate index time fields helped me just do the trick for my customer.

    For starters, _time is an index time field that is parsed from the raw log event. If the event does not have a time, the indexer will assign it with a current time when the event is ingested. In my particular challenge, the _time field needed a fixed offset by five hours as it was five hours ahead of eastern time.

    To setup ingest time evals, we have to work with transforms.conf, props.conf, and fields.conf (only if creating new fields at ingest time). To further elaborate on the process of setting up ingest time evals to create new index time fields or manipulate existing fields at index time, we have used a sample log from a Cisco device.

    To do a comparison, I ingested the log file with a custom sourcetype I created to parse the events.

    Screenshot of props.conf file defining timestamp extraction, line breaking and timezone handling settings.

    With the above sourcetype, the following events were ingested.

    Splunk search interface showing unadjusted timestamp data from multiple sources using a test sourcetype.

    If you look closely, the date/time was parsed exactly as it appears in the raw log event. Now if the raw event had a timestamp that needed to be offset, we could change the _time field at ingest time using ingest time eval.

    To make my required changes, I will have to add an INGEST_EVAL expression in a transforms stanza in transforms.conf to update the _time field at ingest time after it has been parsed out from the actual event.

    Side-by-side screenshots of transforms.conf and props.conf illustrating a +7200 second (2-hour) timestamp adjustment at ingest time.

    In the above example, I have used INGEST_EVAL to update my _time field to add 7200 seconds to it. This translates into 2 hours. I have also used the “:=” instead of “=” so that Splunk updates the _time field and not create another _time value resulting in a multivalued _time field in the final event. In this case, “:=” will overwrite the existing value in the field.

    Splunk search interface showing updated event timestamps after applying ingest-time time offset.

    The above screenshot shows the updated _time field after the same log file has been ingested with the updated props and transforms. If you closely look at the Time column in the above screenshot in the first event it shows the timestamp being parsed as 01/16/20 1:43:43 PM but the timestamp in the event is 01/16/2020 11:43:31 AM. This tells us that the INGEST_EVAL expression in our transforms.conf successfully worked.

    At this point, I would caution you to thoroughly test your INGEST_EVAL on a dev Splunk server so that you are sure that your eval works.

    Ingest time eval can also be used to create new index time fields. While updating the _time field to offset the time difference, I thought about creating some custom index fields for demonstration purposes. This would further demonstrate how powerful ingest time evals are and how they can be useful.

    Considering I was updating the _time field with my new timestamp, I figured it would be good to have a field that still parses and stores the original time. I named that field orig_time. This field is basically derived from the original _time field that was parsed before it was changed into the new timestamp.

    I also thought it would be good to calculate the raw length of the event at ingest time, as that would create a field for me to calculate the size of the ingested data later. I particularly leaned towards demonstrating this, because not too long ago, I was also faced with the challenge to report host-level licensing information for every index. This helps Splunk users in an organization understand how much data their hosts are sending to Splunk.

    Now, this is an easy fix if your environment is small. In that case, you can use the license_usage.log file available in the _internal index to calculate your license usage by index, sourcetype, source, or host. It definitely does become a problem when your environment grows too large. When the unique tuples cross 2000 by default, the license manager starts squashing source/host values and only index, sourcetype values remain in license_usage.log.

    To work with this issue, I set up a daily license usage search which calculates the length of _raw for the past day for all the indexes and stores it in a summary index. This search runs at off-peak hours when the system is not being used by other users. That helps me populate my dashboards on demand for the users who want to see this data the next day.

    Having raw event size calculated for every event at index size will definitely help me rid myself of those expensive searches that need to be run every night, these searches can be less reliable in case the search head that runs the summary generating search crashes. At index time I create a new field “event_size” using INGEST_EVAL in transforms.conf. The settings used to do this are as below;

    Configuration files applying multiple INGEST_EVAL rules to extract time, calculate event size and apply transformations in transforms.conf and props.conf.

    If you look closely at the settings;

    Transforms.conf

    I have added two new stanzas to the transforms.conf to create the evals for the new fields, orig_time, and event_size.

    Fields.conf

    As we are creating two new fields at ingest time, we add their names as stanzas in fields.conf and make sure these fields are indexed by adding the parameter “INDEXED = true”.

    Props.conf

    I have updated the TRANSFORMS parameter in the relevant sourcetype. If you notice, the order of the TRANSFORMS stanza actually dictates which transform will be applied first to the data being parsed. In this particular case, the stanza is:

    TRANSFORMS = orig-time,time-offset,event-size

    In this specific transform the order will be as follows:

    • orig-time will preserve the original parsed time into the orig_time
    • time-offset will update the existing _time field to be offset by 02 hours.
    • event-size will calculate the total length of the event and create a new event_size field.
    Splunk search interface showing indexed fields for timestamp, event size and original time, based on multiple ingest-time eval transformations.

    If you look at the final screenshot (above) closely on the left under “Interesting Fields” you will see that there are two new fields that you can see. These include orig_time and event_size

    Now to calculate the total license usage by any measure, you can use your event_size with a | tstats search which will be many folds faster than a regular search.

    There can be many other uses for Ingest Time Evals, one of which is listed on the documents page. To find out more, please visit Splunk documentation at https://docs.splunk.com/Documentation/Splunk/8.0.2/Data/IngestEval#Why_use_ingest-time_eval.3F

     

    If you want to learn more or have TekStream help with implementing some Splunk use cases, contact us today!

  • Splunk Phantom Workbooks

    Splunk Phantom Workbooks

    By: Joe Wohar | Senior Splunk Consultant

    Splunk Phantom is an amazing software used to automate cybersecurity processes, however, many companies do not know that they could also be using Phantom for case management. Arguably the most powerful, yet unknown to many, case management feature of Phantom is the ability to create and use workbooks.

    If you’re familiar with Phantom, then you know that Phantom playbooks are repeatable processes that Phantom runs through against events. Phantom workbooks are repeatable, defined processes that analysts run through against events. However, they’re typically only used when an analyst needs to get involved. When an event is determined to be a threat that needs to be investigated by an analyst, the event should be promoted to a case. This can be done with a manual change done on the event (by clicking the toolbox icon button) or by having the conditions specified in a playbook that can then turn the event into a case.

    Screenshot of the “Promote to Case” prompt in Splunk Phantom, with options to select a workbook such as NIST 800-61.

    Image 1: A workbook must be selected when converting an event to a case.

    One of the biggest advantages of workbooks is that it’s a great way of ensuring that your analysts (new or old) are following the same set of steps when working cases. SOPs help define processes for your analysts to follow, but workbooks put those processes right into the case and make the work easily trackable. Workbooks are made up of 2 trackable components: phases and tasks.

    Phases

    Phases split the investigation into different sections, such as identification, acquisition, analysis, and reporting. Individual SLAs can be set for each phase of a workbook. When SLAs are missed/breached, there is a panel on the Phantom home page for tracking that:

    SLA Breaches dashboard showing zero average breaches per day across high, medium and low severity levels.

    Image 2: Home page SLA breach tracker.

    Phases are made up of tasks, which are where the specific steps for investigations are listed.

     Interface for configuring a new workbook phase in Splunk Phantom, including task name, SLA and owner fields.

    Image 3: Adding new phases/tasks to a workbook.

    Tasks

    Tasks are very customizable, so they can be pretty general with few trackable requirements or be very specific with many tracked steps. First, tasks can have a default owner assigned to them, which could be useful if you want to have a “review” task so that a more experienced analyst can review a newer analyst’s work, however, I think most often you’d want to leave that blank so that tasks can be assigned to the analyst working the case. The description section of the task is where you can describe the specific things that should be done in the task. If you don’t want to track specific steps, you can simply use this section to create a list of steps for analysts to follow. However, if you have very specific steps involved in a task, you may want to use the description just for describing the process and then have the steps listed as actions or playbooks. This brings us to the next part of tasks, adding actions and playbooks.

    Actions and playbooks are Phantom automation being added to the human process. The actions and playbooks added to a task are limited to the actions available in your configured apps and the playbooks that you have available in your Phantom instance. Then, when an analyst goes to run the action from the investigation screen, the action is already pulled up and they just need to enter the details.

    Task panel in a Phantom workbook phase showing two tasks: “Search Splunk for User Activity” and “Check Account Status.”

    Image 4: Workbook opened in a case with 2 tasks.

    Splunk Phantom run action configuration screen showing query setup using the splunk_enterprise app.

    Image 5: Pop-up window from clicking the “run query” action in the workbook.

    Running a playbook from a workbook is even simpler. Just click the playbook and click the “Run Playbook” button.

    Prompt in Phantom confirming execution of the “Check Account Status” playbook for a disabled user.

    Image 6: Pop-up window from clicking the “Disabled User” playbook in the workbook.

    As analysts move through the tasks and complete them, the phase’s tracker will be updated to show completion and whether or not tasks were completed on time and if the phase was completed on time.

    Side-by-side comparison of a workbook phase before and after task completion, showing progress and SLA tracking.

    Images 7 & 8: First task complete and then both tasks completed.

    If you’re not using Phantom for case management, then you’re likely using Phantom to create tickets and add details to them in another software, which is costing you more in hardware and licensing. By using Phantom for case management, you’ll save the cost of another software and its hardware while using software you’ve already bought at no additional cost.

    Not sure how to get started with workbooks? Try taking one of your best defined SOPs and make a workbook for it. If you’re not currently a Phantom customer and would like to try it out, you can download the OVA by registering here: https://my.phantom.us/

    Want to learn more about Phantom workbooks? Contact us today!

  • Masking Important Data in Your Splunk Environment

    Masking Important Data in Your Splunk Environment

    By: Aaron Dobrzeniecki | Splunk Consultant

      If you have problems or questions regarding masking important data when it gets ingested into Splunk, this is the blog for you. Common use cases include masking credit card numbers, SSN, passwords, account IDs, or anything that should not be visible to the public. When masking data before it gets indexed into Splunk, you want to make sure you (if applicable) test it in a dev environment. A great website to use is www.regex101.com. The overall methodology of how the two approaches work specifically relies on the correctness of your regular expression. Splunk will look for strings that match the defined regex pattern. You can then tell Splunk to strip out, replace the matching string, or replace part of the string. Both of the methods below do the same exact thing – match a regex and replace the values – but both methods do it in a slightly different manner. In the example data below, I will be masking the account IDs to only show the last four digits of the account ID. There are two ways you can mask data before it gets ingested into Splunk. Method 1: Using props.conf and transforms.conf to modify the data so that the first 12 characters of the account ID turn into “x”‘s. One sample event: [02/Nov/2019:16:05:20] VendorID=9999 Code=D AcctID=9999999999999999 When ingested into Splunk using the below props.conf and transforms.conf the event will be indexed as so: [02/Nov/2019:16:05:20] VendorID=9999 Code=D AcctID=xxxxxxxxxxxx9999 props.conf [mysourcetype] TRANSFORMS-data_mask=data_masking   transforms.conf [data_masking] SOURCE_KEY=_raw REGEX=(^.*)(sAcctID=)d{12}(d*) FORMAT=$1$2xxxxxxxxxxxx$3 DEST_KEY=_raw Specify the field you want Splunk to search for the matching data in using the SOURCE_KEY parameter. Splunk will attempt to match the regex specified in the REGEX setting. If it matches, Splunk will replace the matching portion with the value from FORMAT and then write the transformed value to the field specified in DEST_KEY (which is the same in this example). The values for FORMAT are as followed. The dollar sign digit relates to the capture groups. In the example above you can see that there are 3 total capture groups: (^.*) is the first capture group; (sAcctID=) is the second capture group; and finally (d*) is the third capture group (I included a third capture group to specify extra digits, if they exist in the event or not). See how we did not include the d{12}? This is because THAT regex string is what we want to mask. The basis behind masking your important data is to make sure that you have created the correct regex. In the example above I created the entire regex string that encompasses an entire event. In doing so, we are able to bring back the entire event using the capture groups and ridding the event of the data to be masked. Another way to mask important data from being ingested into Splunk is to use the SEDCMD to replace the desired texts with X’s or whatever you want to show that the data has been masked. Using the same sample event above we will get the same results as above, but using a different method. Method 2: props.conf [mysourcetype] SEDCMD-replace=s/AcctID=d{12}/AcctID=xxxxxxxxxxxx/g The above props.conf will mask the data as desired. The key here is to make sure that your regex string (the one that is replacing the original regex string) includes the part that you want to keep and does not include the string that you want to get rid of. With SEDCMD, Splunk replaces the current regex with the regex you specify in the third segment of the SEDCMD. In conclusion, there are two ways to anonymize data with Splunk Enterprise: Use the SEDCMD like a sed script to do replacements and substitutions. The sed script method is easier to do, takes less time to configure, and is slightly faster than a transform. But there are limits to how many times you can invoke SEDCMD and what it can do. Use a regular expression transform (method 1). This method takes longer to configure, but is easier to modify after the initial configuration and can be assigned to multiple data inputs more easily. Want to learn more about masking important data in your Splunk environment? Contact us today!