<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Creating a search table on dashboard in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-search-table-on-dashboard/m-p/277410#M83660</link>
    <description>&lt;P&gt;Have you indexed this log file in splunk? Or do you need help with indexing as well? If you need help with indexing post an example of at least 2 calls, so we know how to break the events.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jul 2016 18:11:39 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2016-07-21T18:11:39Z</dc:date>
    <item>
      <title>Creating a search table on dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-search-table-on-dashboard/m-p/277407#M83657</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;
I have different data logs on splunk that has specific information about call logs. I need to create a dashboard that can search the call logs by inputting a ConnId number which results in a table with the following information:&lt;BR /&gt;
 1. Event name&lt;BR /&gt;
 2. Event timestamp&lt;BR /&gt;
 3. DNIS&lt;BR /&gt;
 4. ANI&lt;BR /&gt;
 5. CallType&lt;BR /&gt;
 6. CallUID&lt;BR /&gt;
 7. UserData (which could be a list?)&lt;/P&gt;

&lt;P&gt;How do I write a script that will only extract these information from the call logs? &lt;/P&gt;

&lt;P&gt;Appreciate your help!&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;UPDATE&lt;/EM&gt;&lt;BR /&gt;
Here is a sample log:&lt;BR /&gt;
    EventSequenceNumber 0000000000000a&lt;BR /&gt;
    TimeinuSecs 220000&lt;BR /&gt;
    TimeinSecs  1324596578(07:29:22)&lt;BR /&gt;
    ReferenceID 2365&lt;BR /&gt;
    ThirdPartyDN    '1564895'&lt;BR /&gt;
    ThisDNRole  4&lt;BR /&gt;
    ThisDN  '1564895'&lt;BR /&gt;
    NetworkPartyRole    4&lt;BR /&gt;
    LastTransferOrigDN  'ex&lt;BR /&gt;
    LastTransferConnID  12456328ghfy71s1&lt;BR /&gt;
    LastTransferHomeLocation    'xxxxx'&lt;BR /&gt;
    FirstTransferOrigDN 'ex'&lt;BR /&gt;
    FirstTransferConnID 01680287ebda71d1&lt;BR /&gt;
    FirstTransferHomeLocation   'xxxxx'&lt;BR /&gt;
    ANI '1452369874'&lt;BR /&gt;
    DNIS    '5632148'&lt;BR /&gt;
    UserData    [12345] 00 00 00 00..&lt;BR /&gt;
          'CU_ACT_TY'   '5'&lt;BR /&gt;
          'CU_HH_SVC_LVL'   '30'&lt;BR /&gt;
          'CU_COE'  'n'&lt;BR /&gt;
          'CU_EMP'  '01'&lt;BR /&gt;
          'CU_CLIENTID_TY'  'ACC'&lt;BR /&gt;
          'CU_SEG'  'xxx'&lt;BR /&gt;
          'CU_REP_FTS'  'n'&lt;BR /&gt;
    CallUID '000000000000000000000'&lt;BR /&gt;
    ConnID  12456328ghfy71s1&lt;BR /&gt;
    CallID  1111&lt;BR /&gt;
    PropagatedCallType  4&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:20:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-a-search-table-on-dashboard/m-p/277407#M83657</guid>
      <dc:creator>ssingh313</dc:creator>
      <dc:date>2020-09-29T10:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a search table on dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-search-table-on-dashboard/m-p/277408#M83658</link>
      <description>&lt;P&gt;If these fields have already been extracted, you could try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=nameofyourindex CallID=&amp;lt;&amp;lt;enter id number here&amp;gt;&amp;gt; | table _time "Event name" DNIS ANI CallType CallID UserData
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If the fields have not been extracted, you will have to do that first. You could use the &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.2/Knowledge/Managesearch-timefieldextractions"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.2/Knowledge/Managesearch-timefieldextractions&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If you need help with field extractions, share sample raw data and someone in this community will assist&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 17:19:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-a-search-table-on-dashboard/m-p/277408#M83658</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-07-21T17:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a search table on dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-search-table-on-dashboard/m-p/277409#M83659</link>
      <description>&lt;P&gt;Thanks! I haven't  extracted the information but I posted a sample data log if anyone can help with that.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 17:43:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-a-search-table-on-dashboard/m-p/277409#M83659</guid>
      <dc:creator>ssingh313</dc:creator>
      <dc:date>2016-07-21T17:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a search table on dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-search-table-on-dashboard/m-p/277410#M83660</link>
      <description>&lt;P&gt;Have you indexed this log file in splunk? Or do you need help with indexing as well? If you need help with indexing post an example of at least 2 calls, so we know how to break the events.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 18:11:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-a-search-table-on-dashboard/m-p/277410#M83660</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-07-21T18:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a search table on dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-search-table-on-dashboard/m-p/277411#M83661</link>
      <description>&lt;P&gt;Sorry I'm new to building dashboards on splunk. I have not indexed this log file. Here is another log file with the same connID.&lt;BR /&gt;
AttributeLastTransferOrigDN 'ex'&lt;BR /&gt;
    LastTransferConnID   12456328ghfy71s1&lt;BR /&gt;
    LastTransferHomeLocation    'xxxxxxx'&lt;BR /&gt;
    FirstTransferOrigDN 'ex'&lt;BR /&gt;
    FirstTransferConnID 12456328ghfy71s1&lt;BR /&gt;
    FirstTransferHomeLocation   'xxxxxxx'&lt;BR /&gt;
    AttributeUpdateRevision 1&lt;BR /&gt;
    AttributeUserData   [xxxx] 00 xx xx 00..&lt;BR /&gt;
        'CU_ACT_TY' '0'&lt;BR /&gt;
        'CU_HH_SVC_LVL' 'xx'&lt;BR /&gt;
        'CU_CLIENTID_TY'    'ACC'&lt;BR /&gt;
        'CU_SEG'    'XXX'&lt;BR /&gt;
        'CU_CALL_TY'    'XXX'&lt;BR /&gt;
        'CU_LINE'   'XXX'&lt;BR /&gt;
        'CU_ROLE'   'CLIENT'&lt;BR /&gt;
        'CU_ANI'    'XXXXXXXXXXXX'&lt;BR /&gt;
        'CU_DNIS'   '0223501264'&lt;BR /&gt;
        'ReqType'   '1'&lt;BR /&gt;
        'SessionId' 'XXXXXXXXXXXXXXXXXXXXXX'&lt;BR /&gt;
        'CU_NEXTGEN'    'N'&lt;BR /&gt;
        'CU_PBIG'   'N'&lt;BR /&gt;
        'CU_LOGINACCT'  'XXXXXXX'&lt;BR /&gt;
        'CU_COMBOAUTHTY'    'ACCT-TAXID'&lt;BR /&gt;
        'CU_IVR_CALL_ID'    'HJKU8976-UIB6744'&lt;BR /&gt;
        'RoutePoint'    'XXX'&lt;BR /&gt;
        'DialedNumber'  'XXX'&lt;BR /&gt;
        'CU_RP' '7001'&lt;BR /&gt;
        'CU_CCDB_TY'    'MLD'&lt;BR /&gt;
        'CU_CONN_ID'    '12456328ghfy71s1'&lt;BR /&gt;
        'CU_SURVEY' 'Y'&lt;BR /&gt;
        'RRequestedSkills'(list) &lt;BR /&gt;
        'CustomerSegment'   'default'&lt;BR /&gt;
        'ServiceType'   'default'&lt;BR /&gt;
        'ServiceObjective'  ''&lt;BR /&gt;
        'CU_ANIFND' ''&lt;BR /&gt;
        'CU_PIN_VALID'  ''&lt;BR /&gt;
        'AUTHENTICATION_METHOD' ''&lt;BR /&gt;
        'CU_CLIENTID'   'XX5XX'&lt;BR /&gt;
        'CU_ACT'    'ACC#'&lt;BR /&gt;
        'CU_PROD_CD'    'INV'&lt;BR /&gt;
        'CU_ENTITY_CD'  '000'&lt;BR /&gt;
        'CU_EPI'    '00000'&lt;BR /&gt;
        'CU_DOB'    '0000'&lt;BR /&gt;
    PropagatedCallType  4&lt;BR /&gt;
    ConnID  12456328ghfy71s1&lt;/P&gt;

&lt;P&gt;I know both these logs have the same connID but the type of dashboard I am trying to build is where you can search any connID and it will be able to pull the information listed above in a table format. I am not sure if that is possible. But appreciate your help. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:20:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-a-search-table-on-dashboard/m-p/277411#M83661</guid>
      <dc:creator>ssingh313</dc:creator>
      <dc:date>2020-09-29T10:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a search table on dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-search-table-on-dashboard/m-p/277412#M83662</link>
      <description>&lt;P&gt;@ssingh313, when you say another log file with the same connid, is each call a new file? Or all calls written to the same file and rotated either by file size or date? If there can be more than one call in a single log file, please share enough log entries to depict at 2-3 calls and identify the start and end of each call. This will help determine the rules for indexing the logs. Once the logs are indexed, rest is easy &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 22:13:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-a-search-table-on-dashboard/m-p/277412#M83662</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-07-21T22:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a search table on dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-search-table-on-dashboard/m-p/277413#M83663</link>
      <description>&lt;P&gt;Each call is a new file and sometimes there can be multiuple connIDs within one log depending on if the call has been transferred to another person. Here's an example of that. &lt;/P&gt;

&lt;P&gt;07:29:13.4760 [0] 1.7.000.23 distribute_event: message EventQueued&lt;BR /&gt;
AttributeEventSequenceNumber    0000000000007895R&lt;BR /&gt;
    TimeinuSecs 235689&lt;BR /&gt;
    TimeinSecs  xxxxxxxxxx (07:29:13)&lt;BR /&gt;
    Extensions  [XX] 00 00 00 00..&lt;BR /&gt;
        'UCID'  bin: 12 c5 12 63.. (len=8)&lt;BR /&gt;
    OtherDNRole 1&lt;BR /&gt;
    OtherDN '7895230001'&lt;BR /&gt;
    ThisDNRole  2&lt;BR /&gt;
    ThisDN  '1234567'&lt;BR /&gt;
    ThisTrunk   14526987&lt;BR /&gt;
    ANI '12356984'&lt;BR /&gt;
    DNIS    '4568912'&lt;BR /&gt;
    CallUUID    'ABCD236JO45F22SQH17MODKE789652310'&lt;BR /&gt;
    ConnID  23a74523f123e63b&lt;BR /&gt;
    CallID  14292&lt;BR /&gt;
    PropagatedCallType  2&lt;BR /&gt;
    CallType    2&lt;BR /&gt;
    NetworkCallID   4563289745&lt;BR /&gt;
    ThisQueue   '1234567'&lt;BR /&gt;
    AttributeCallState  0&lt;BR /&gt;
AttributeThisDN 'ex'&lt;BR /&gt;
    ConnID  45632897abdh17r1&lt;BR /&gt;
    OtherDN '4459862'&lt;BR /&gt;
    XRouteType  0&lt;BR /&gt;
    AttributeUserData   [xxxx] 00 00 00 00..&lt;BR /&gt;
        'CU_ACT_TY' '1'&lt;BR /&gt;
        'CU_HH_SVC_LVL' '89'&lt;BR /&gt;
        'CU_MLOL'   'Y'&lt;BR /&gt;
        'CU_MLD'    'Y'&lt;BR /&gt;
        'CU_COE'    'Y'&lt;BR /&gt;
        'CU_EMP'    '0'&lt;BR /&gt;
        'CU_CLIENTID_TY'    'ACC'&lt;BR /&gt;
        'CU_SEG'    '894'&lt;BR /&gt;
        'CU_CLIENTID'   '98Z56S78'&lt;BR /&gt;
        'CU_PIN_VALID'  'N'&lt;BR /&gt;
        'CU_REP_FTS'    'Y'&lt;BR /&gt;
        'CU_ML_HOL' 'Y'&lt;BR /&gt;
        'CU_CALL_TY'    'XXX'&lt;BR /&gt;
        'CU_LINE'   'XXX'&lt;BR /&gt;
        'CU_ACT'    '98Z56S78'&lt;BR /&gt;
        'CU_XFERCODE'   'ServiceAssociate'&lt;BR /&gt;
        'CU_DNIS_TEST'  '5664123823'&lt;BR /&gt;
        'CU_ACT_OPENDATE'   '74522369'&lt;BR /&gt;
        'CU_NEWACCT'    'N'&lt;BR /&gt;
        'CU_AUTHID' '0000'&lt;BR /&gt;
        'CU_AUTHLVL'    '2'&lt;BR /&gt;
        'CU_EPI'    '452361475223'&lt;BR /&gt;
        'CU_ENTITY_CD'  '111'&lt;BR /&gt;
        'CU_LOB'    'COS'&lt;BR /&gt;
        'CU_PROD_CD'    'INV'&lt;BR /&gt;
        'CU_TT' 'N'&lt;BR /&gt;
        'CU_1ST_CID'    '5ASD0E64-H39K-56W2-5698-145674H1JAL7'&lt;BR /&gt;
        'CU_ROLE'   'CLIENT'&lt;BR /&gt;
        'CU_ANIFND' 'N'&lt;BR /&gt;
        'CU_ANI'    '569966245674'&lt;BR /&gt;
        'CU_DNIS'   '7895620530'&lt;BR /&gt;
        'ReqType'   '3'&lt;BR /&gt;
        'SessionId' '5ASD0E64-H39K-56W2-5698-145674H1JAL7'&lt;BR /&gt;
        'ICRName'   'TellMe'&lt;BR /&gt;
        'CU_FUNCTION'   'FAExtension'&lt;BR /&gt;
        'CU_LANGUAGE'   'English'&lt;BR /&gt;
        'CU_EPI_TY' 'EnterprisePartyId'&lt;BR /&gt;
        'CU_AUTHTY' 'TAXID'&lt;BR /&gt;
        'CU_BRANCHNUMBER'   '0000000000'&lt;BR /&gt;
        'CU_NEXTGEN'    'N'&lt;BR /&gt;
        'CU_PBIG'   'N'&lt;BR /&gt;
        'CU_OVRLP_CD'   '2'&lt;BR /&gt;
        'CU_ELITECARD'  ''&lt;BR /&gt;
        'CU_REQFSA_ACDID'   '0000000'&lt;BR /&gt;
        'CU_REQFSA_NTID'    '0000000'&lt;BR /&gt;
        'CU_BACKENDOUTAGE'  'N'&lt;BR /&gt;
        'CU_LOGINACCT'  '78X32L99'&lt;BR /&gt;
        'CU_COMBOAUTHTY'    'ACCT-TAXID'&lt;BR /&gt;
        'CU_IVR_CALL_ID'    'jekd7sk6aswk7fhabe5d2kl6'&lt;BR /&gt;
        'RoutePoint'    '0000'&lt;BR /&gt;
        'DialedNumber'  '0000'&lt;BR /&gt;
        'CU_RP' '0000'&lt;BR /&gt;
        'CU_CCDB_TY'    'MLD'&lt;BR /&gt;
        'CU_CONN_ID'    '1289652314LKOP15'&lt;BR /&gt;
        'CU_SURVEY' 'Y'&lt;BR /&gt;
        'RVQID' ''&lt;BR /&gt;
        'RVQDBID'   ''&lt;BR /&gt;
        'LBR_TS'    '452367895'&lt;BR /&gt;
        'LBR_SNUM'  '63'&lt;BR /&gt;
        'RTargetTypeSelected'   '4'&lt;BR /&gt;
        'RTargetRuleSelected'   ''&lt;BR /&gt;
        'RTenant'   'Resources'&lt;BR /&gt;
        'RStrategyName' 'xxxx_MAIN'&lt;BR /&gt;
        'RStrategyDBID' '785'&lt;BR /&gt;
        'CBR-actual_volume' ''&lt;BR /&gt;
        'CBR-Interaction_cost'  ''&lt;BR /&gt;
        'CBR-contract_DBIDs'    ''&lt;BR /&gt;
        'CBR-IT-path_DBIDs' ''&lt;BR /&gt;
        'RRequestedSkillCombination'    ''&lt;BR /&gt;
        'RRequestedSkills'(list) &lt;BR /&gt;
        'CustomerSegment'   'default'&lt;BR /&gt;
        'ServiceType'   'default'&lt;BR /&gt;
        'ServiceObjective'  ''&lt;BR /&gt;
    AttributeExtensions [45] 00 00 00 00..&lt;BR /&gt;
        '&lt;EM&gt;ISCC_ORIGIN_LOCATION&lt;/EM&gt;'    'xxxx'&lt;BR /&gt;
    AttributeReferenceID    8956&lt;/P&gt;

&lt;P&gt;So basically what I need to create is a dashboard that can be used to search with any given ConnID and it should display the Event name, Event timestamp, DNIS, ANI, CallType, CallUID, UserData (if any, could be listed). I am not exactly sure how to go about this since this is my first time using Splunk. Really appreciate your help!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:21:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-a-search-table-on-dashboard/m-p/277413#M83663</guid>
      <dc:creator>ssingh313</dc:creator>
      <dc:date>2020-09-29T10:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a search table on dashboard</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-search-table-on-dashboard/m-p/277414#M83664</link>
      <description>&lt;P&gt;Use this regex to extract the field. Create one for each field.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | rex "ANI'?\s'?(?&amp;lt;AttributeANI&amp;gt;[^\t\n']+)" | table AttributeANI
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;*&lt;STRONG&gt;&lt;EM&gt;OR, instead of table, you could do timechart *&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | rex "ANI'?\s'?(?&amp;lt;AttributeANI&amp;gt;[^\t\n']+)" | timechart values(Attribute*) as Attribute*
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 Jul 2016 19:02:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-a-search-table-on-dashboard/m-p/277414#M83664</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-07-25T19:02:24Z</dc:date>
    </item>
  </channel>
</rss>

