<?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: Session Property Cleanup rule in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Session-Property-Cleanup-rule/m-p/117668#M11456</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I don't know whether this is possible using Session Property clean up rules (if so, i'd like to know :).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you don't mind defining a &lt;STRONG&gt;request attribute&lt;/STRONG&gt; at the &lt;EM&gt;environment&lt;/EM&gt; level (so&lt;STRONG&gt; &lt;/STRONG&gt;not the application level), I think you should be able to implement what you're looking for using a request attribute based session property.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;via Settings -&amp;gt; Server-side service monitoring -&amp;gt; Request attributes -&amp;gt; Define a new request attribute&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;    fill in the 'Request attribute name' e.g 'OptionA_or_OptionB'&lt;/P&gt;&lt;P&gt;    click "Add new data source"&lt;/P&gt;&lt;P&gt;    select "Web request URL query parameter" (below description 'Specify where the attribute is captured and then stored')&lt;/P&gt;&lt;P&gt;    fill in the 'Parameter name'&lt;/P&gt;&lt;P&gt;    click/pull down 'Further restrict or process captured parameters (optional)'&lt;/P&gt;&lt;P&gt;    fill in 5. Extract value from captured data per regex:&lt;/P&gt;&lt;P&gt;        (OptionA|OptionB)&lt;/P&gt;&lt;P&gt;    Save&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;At the application level, add a "Custom defined property"&lt;/P&gt;&lt;P&gt;select expression type 'Server side request attribute'&lt;/P&gt;&lt;P&gt;select 'Request attribute name' -&amp;gt; 'OptionA_or_OptionB'&lt;/P&gt;&lt;P&gt;click 'Store as session property'&lt;/P&gt;&lt;P&gt;Save property&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Hope this was helpful,&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Wouter&lt;/P&gt;</description>
    <pubDate>Tue, 13 Oct 2020 16:29:03 GMT</pubDate>
    <dc:creator>wouter_camps</dc:creator>
    <dc:date>2020-10-13T16:29:03Z</dc:date>
    <item>
      <title>Session Property Cleanup rule</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Session-Property-Cleanup-rule/m-p/117667#M11455</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying to set session property when specific query parameter string matches one of two options.&lt;/P&gt;
&lt;P&gt;Let say the query parameter can contain string OptionA, OptionB, or anything else.&lt;/P&gt;
&lt;P&gt;I want to create cleanup rule that will clean everything else but OptionA and OptionB within the string.&lt;/P&gt;
&lt;P&gt;The goal is to have the session property set only when query parameter contains either OptionA or OptionB. For any other values - the session property should not be set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you if this is possible with some regex cleaning rule?&lt;/P&gt;
&lt;P&gt;If so - any tips how to do that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Martin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 12:04:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Session-Property-Cleanup-rule/m-p/117667#M11455</guid>
      <dc:creator>mkulov</dc:creator>
      <dc:date>2024-12-16T12:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Session Property Cleanup rule</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Session-Property-Cleanup-rule/m-p/117668#M11456</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I don't know whether this is possible using Session Property clean up rules (if so, i'd like to know :).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you don't mind defining a &lt;STRONG&gt;request attribute&lt;/STRONG&gt; at the &lt;EM&gt;environment&lt;/EM&gt; level (so&lt;STRONG&gt; &lt;/STRONG&gt;not the application level), I think you should be able to implement what you're looking for using a request attribute based session property.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;via Settings -&amp;gt; Server-side service monitoring -&amp;gt; Request attributes -&amp;gt; Define a new request attribute&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;    fill in the 'Request attribute name' e.g 'OptionA_or_OptionB'&lt;/P&gt;&lt;P&gt;    click "Add new data source"&lt;/P&gt;&lt;P&gt;    select "Web request URL query parameter" (below description 'Specify where the attribute is captured and then stored')&lt;/P&gt;&lt;P&gt;    fill in the 'Parameter name'&lt;/P&gt;&lt;P&gt;    click/pull down 'Further restrict or process captured parameters (optional)'&lt;/P&gt;&lt;P&gt;    fill in 5. Extract value from captured data per regex:&lt;/P&gt;&lt;P&gt;        (OptionA|OptionB)&lt;/P&gt;&lt;P&gt;    Save&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;At the application level, add a "Custom defined property"&lt;/P&gt;&lt;P&gt;select expression type 'Server side request attribute'&lt;/P&gt;&lt;P&gt;select 'Request attribute name' -&amp;gt; 'OptionA_or_OptionB'&lt;/P&gt;&lt;P&gt;click 'Store as session property'&lt;/P&gt;&lt;P&gt;Save property&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Hope this was helpful,&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Wouter&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 16:29:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Session-Property-Cleanup-rule/m-p/117668#M11456</guid>
      <dc:creator>wouter_camps</dc:creator>
      <dc:date>2020-10-13T16:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Session Property Cleanup rule</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Session-Property-Cleanup-rule/m-p/117669#M11457</link>
      <description>&lt;P&gt;Hi Wouter,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Indeed I ended up with request attribute instead.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 19:58:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Session-Property-Cleanup-rule/m-p/117669#M11457</guid>
      <dc:creator>mkulov</dc:creator>
      <dc:date>2020-10-15T19:58:15Z</dc:date>
    </item>
  </channel>
</rss>

