<?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 Transaction command with multiple fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Transaction-command-with-multiple-fields/m-p/300237#M164954</link>
    <description>&lt;P&gt;I have this start event.  I am using the "Phonecall" as the key in the transaction.&lt;BR /&gt;
1. InteractionEvent on Phonecall-1244025-01a102b0xxxxxxxx, Dn: 1244025@8800, Status: Ringing, StatusChanged: true, Reason: Ringing,&lt;BR /&gt;
2. Constructing inbound telephony interaction , cli = 1655491xxxx, dnis = 1290xxx, entereddigits =  ...&lt;/P&gt;

&lt;P&gt;I want to include the inbound caller's phone number (cli) in the table to show duration of call.&lt;BR /&gt;
The "Phonecall" key is not included in the line of logs where the "cli" is identified.&lt;/P&gt;

&lt;P&gt;| transaction Phonecall startswith="Status: Ringing"&lt;BR /&gt;
endswith="Reason: Done" | table cli Phonecall reason status reason duration eventcount&lt;/P&gt;</description>
    <pubDate>Tue, 21 Nov 2017 18:10:30 GMT</pubDate>
    <dc:creator>bcarnot</dc:creator>
    <dc:date>2017-11-21T18:10:30Z</dc:date>
    <item>
      <title>Transaction command with multiple fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-command-with-multiple-fields/m-p/300237#M164954</link>
      <description>&lt;P&gt;I have this start event.  I am using the "Phonecall" as the key in the transaction.&lt;BR /&gt;
1. InteractionEvent on Phonecall-1244025-01a102b0xxxxxxxx, Dn: 1244025@8800, Status: Ringing, StatusChanged: true, Reason: Ringing,&lt;BR /&gt;
2. Constructing inbound telephony interaction , cli = 1655491xxxx, dnis = 1290xxx, entereddigits =  ...&lt;/P&gt;

&lt;P&gt;I want to include the inbound caller's phone number (cli) in the table to show duration of call.&lt;BR /&gt;
The "Phonecall" key is not included in the line of logs where the "cli" is identified.&lt;/P&gt;

&lt;P&gt;| transaction Phonecall startswith="Status: Ringing"&lt;BR /&gt;
endswith="Reason: Done" | table cli Phonecall reason status reason duration eventcount&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 18:10:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-command-with-multiple-fields/m-p/300237#M164954</guid>
      <dc:creator>bcarnot</dc:creator>
      <dc:date>2017-11-21T18:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction command with multiple fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-command-with-multiple-fields/m-p/300238#M164955</link>
      <description>&lt;P&gt;If there is no matching field (Phonecall is not available in logs with cli field) how can it identify to which Phonecall event it belongs to? There can be multiple Phone calls in the logs and there may be overlap in the events.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 18:35:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-command-with-multiple-fields/m-p/300238#M164955</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-11-21T18:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction command with multiple fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-command-with-multiple-fields/m-p/300239#M164956</link>
      <description>&lt;P&gt;Do you know that the line with &lt;CODE&gt;Phonecall&lt;/CODE&gt; defined always immediately precedes the line with &lt;CODE&gt;cli&lt;/CODE&gt;?  If so you may be able to use:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| streamstats window=2 current=t last(cli) AS lastcli
| transaction lastcli startswith="Status: Ringing" endswith="Reason: Done"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Nov 2017 18:45:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-command-with-multiple-fields/m-p/300239#M164956</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2017-11-21T18:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction command with multiple fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-command-with-multiple-fields/m-p/300240#M164957</link>
      <description>&lt;P&gt;Thank you for your response.&lt;BR /&gt;
This is the layout of the log every time &lt;BR /&gt;
Phonecall -xxx  Reason: Ringing&lt;BR /&gt;
cli= caller&lt;/P&gt;

&lt;P&gt;The cli will always come after the ringing event.&lt;BR /&gt;
Thank you for your time, it is really appreciated.&lt;/P&gt;

&lt;P&gt;2017-11-21 08:08:44,254 DEBUG InteractionEvent on Phonecall-1244025-01a102b009cxxxxx, Dn: 1244xxx@RB8800, Status: Ringing, StatusChanged: true, &lt;STRONG&gt;Reason: Ringing&lt;/STRONG&gt;, Extensions: {Attached Data Changed=}, TEventExtensions: , TEventReasons: null CallId: 1594&lt;BR /&gt;
2017-11-21 08:08:44,254 DEBUG ***&lt;BR /&gt;
2017-11-21 08:08:44,254 TRACE Constructing inbound telephony interaction , &lt;STRONG&gt;cli = 1555491xxxx&lt;/STRONG&gt;, dnis = 129xxxx, entereddigits =  ...&lt;BR /&gt;
2017-11-21 08:08:44,254 TRACE Setting Telephony System Call ID to null for interaction&lt;BR /&gt;
2017-11-21 08:08:44,254 TRACE Setting CLI to 1555491xxxx&lt;BR /&gt;
2017-11-21 08:08:44,254 TRACE Setting DNIS to 129xxxx&lt;BR /&gt;
2017-11-21 08:08:44,254 TRACE Setting UCID to 15xx&lt;BR /&gt;
2017-11-21 08:08:44,254 TRACE Setting Telephony System Call ID to Phonecall-1244025-01a102b009cxxxxx&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 21:26:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-command-with-multiple-fields/m-p/300240#M164957</guid>
      <dc:creator>bcarnot</dc:creator>
      <dc:date>2017-11-21T21:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction command with multiple fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-command-with-multiple-fields/m-p/300241#M164958</link>
      <description>&lt;P&gt;the cli event happens 1st then a Phonecall ID is assigned.&lt;/P&gt;

&lt;P&gt;2017-11-21 08:08:44,254 TRACE &lt;STRONG&gt;Constructing inbound telephony interaction , cli = 15554910544&lt;/STRONG&gt;, dnis = 1290008, entereddigits =  ...&lt;BR /&gt;
2017-11-21 08:08:44,254 TRACE Setting Telephony System Call ID to null for interaction&lt;BR /&gt;
2017-11-21 08:08:44,254 TRACE &lt;STRONG&gt;Setting CLI to 15554910544&lt;/STRONG&gt;&lt;BR /&gt;
2017-11-21 08:08:44,254 TRACE Setting DNIS to 1290008&lt;BR /&gt;
2017-11-21 08:08:44,254 TRACE Setting UCID to 1594&lt;BR /&gt;
2017-11-21 08:08:44,254 TRACE &lt;STRONG&gt;Setting Telephony System Call ID to Phonecall-1244025-01a102b009cc3b53&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 21:58:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-command-with-multiple-fields/m-p/300241#M164958</guid>
      <dc:creator>bcarnot</dc:creator>
      <dc:date>2017-11-21T21:58:43Z</dc:date>
    </item>
  </channel>
</rss>

