1. Help Center
  2. Integrations
  3. PreCrime® Intelligence Splunk App

Installation and Configuration

Installation of BforeAI PreCrime - Splunk App

BforeAI PreCrime can be installed through the UI as shown below or extract the zip file directly into the $SPLUNK_HOME/etc/apps/ folder.
● Installation step from UI:

  1. Log in to Splunk and navigate to Apps > Manage Apps. 
  2. Click Install app from the file. 
  3. Click Choose file and select the  App installation file.  
  4. Click on Upload.
  5. Restart Splunk if prompted. 

Configuration for BforeAI PreCrime - Splunk App

Configure Account 

  1. Go to BforeAI PreCrime > Configuration
  2. Click Add from the top right corner. 
  3. Add a unique Account Name, API URL, Username and Password.
  4. Click on the Add button. 
    1. Once The Account is added. The list of all the added Accounts is visible on the Configurations page.

To update an Account

  1. Go to BforeAI PreCrime > Configuration
  2. Find the account User wants to Edit from the list of configured accounts. 
  3. Click on Action > Edit 
  4. Update the required parameters in the dialogue box. 
  5. Click on Update. 

To clone an Account

  1. Go to BforeAI PreCrime > Configuration
  2. Find the account User wants to Clone from the list of configured accounts. 
  3. Click on Action > Clone 
  4. Add the required parameters in the dialogue box. 
  5. Click on save.

To remove an Account

Note: Before removing the Account make sure none of the Input is using the account User wants to remove. 

  1. Go to BforeAI PreCrime > Configuration
  2. Find the account User wants to Delete from the list of configured accounts. 
  3. Click on Action > Delete.

Proxy page

A user can configure the proxy for BforeAI PreCrime through this page. And supported proxy types are http and socks5.

  1. Go to BforeAI PreCrime > Configuration > Proxy.
  2. Provide Proxy Type, Host, Port, Username and Password then click on Save button.  

To use the proxy, click on enable.









Logging Page

A user can configure the logging level for the BforeAI PreCrime through this page. 

  1. Go to BforeAI PreCrime > Configuration > Logging. 
  2. Select the Log Level from the drop-down and Save it.


Inputs Page 

Users can manually create Modular Input by following below steps.

  1. Go to BforeAI PreCrime >Inputs.
  2. Click on create new input
  3. And fill all parameters shown in this table.
  4. Click on the save button.

Parameters

Type

Description

Name

Textbox

A name to uniquely identify the input.

Interval

Textbox

Time interval for input in seconds. Default = 86400

Index

Dropdown

The index in which data should be collected. required (can use the default “main” or create a new index already present in the macro named “precrime”. 

You can use any other index name that you created, however you should add it in the macro searches

Global Account

Dropdown

Select the BforeAI PreCrime Account for which you want to collect data.

Start Date

Textbox

Enter Start date in YYYY-MM-DD format. EX: 2024-04-01


To Disable an Input

  1. Go to BforeAI PreCrime > Inputs.
  2. Find the input User wants to Disable from the list of inputs. 
  3. Click on Status> Enabled.

To Enable an Input

  1. Go to BforeAI PreCrime > Inputs.
  2. Find the input User wants to Enable from the list of inputs.
  3. Click on Status> Disabled

To Edit an Input

  1. Go to BforeAI PreCrime > Inputs 
  2. Find the Input User wants to edit from the list of configured inputs. 
  3. Click on Action > Edit 
  4. Update the required(desired) parameters in the dialogue box. 
  5. Click on Update.  

To Clone and Delete Input

  1. Perform the same steps as above mentioned: 
  2. Go to BforeAI PreCrime > Inputs 
  3. Action > Clone/Delete