<?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: How do you write props and transforms for my below search? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443666#M77267</link>
    <description>&lt;P&gt;I want to extract act and action fields. If you remove the stats command im not getting the unique values from action field.&lt;/P&gt;

&lt;P&gt;the values i'm looking&lt;BR /&gt;
act = GET,POST,GET,GET,GET,GET,POST,POST&lt;BR /&gt;
action = GET POST &lt;/P&gt;</description>
    <pubDate>Fri, 21 Dec 2018 16:02:59 GMT</pubDate>
    <dc:creator>raghuchams4527</dc:creator>
    <dc:date>2018-12-21T16:02:59Z</dc:date>
    <item>
      <title>How do you write props and transforms for my below search?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443663#M77264</link>
      <description>&lt;P&gt;I'm looking for transforms and props.conf to get the two fields act and action&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=blue_sec sourcetype=rsa:security_analytics
|rex field=_raw "act=(?[^\"]+)\sspt="| makemv delim="," act| stats values(act) AS action by _raw  
|rex field=_raw "act=(?[^\"]+)\sspt=" | table act,action
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Dec 2018 14:40:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443663#M77264</guid>
      <dc:creator>raghuchams4527</dc:creator>
      <dc:date>2018-12-21T14:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write props and transforms for my below search?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443664#M77265</link>
      <description>&lt;P&gt;What are you trying to do? I see you're using &lt;CODE&gt;rex&lt;/CODE&gt; to extract fields but they don't have names. Also, whats your purpose for wanting to use transforms and props?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 15:42:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443664#M77265</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2018-12-21T15:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write props and transforms for my below search?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443665#M77266</link>
      <description>&lt;P&gt;HI raghuchams4527,&lt;BR /&gt;
did you tried to extract your fields using the Field Extractor?&lt;BR /&gt;
You can use your regexes.&lt;/P&gt;

&lt;P&gt;Otherwise, you can go in fields section and create a new field using your regexes.&lt;/P&gt;

&lt;P&gt;To better help you, could you use the Code Sample button to display your regexes? without it it isn't possible to correctly see your regex.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 15:47:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443665#M77266</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2018-12-21T15:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write props and transforms for my below search?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443666#M77267</link>
      <description>&lt;P&gt;I want to extract act and action fields. If you remove the stats command im not getting the unique values from action field.&lt;/P&gt;

&lt;P&gt;the values i'm looking&lt;BR /&gt;
act = GET,POST,GET,GET,GET,GET,POST,POST&lt;BR /&gt;
action = GET POST &lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 16:02:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443666#M77267</guid>
      <dc:creator>raghuchams4527</dc:creator>
      <dc:date>2018-12-21T16:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write props and transforms for my below search?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443667#M77268</link>
      <description>&lt;P&gt;Thanks for the suggestion. I'm looking for the transforms how to write makemv delim and stats command in props and transform.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 16:04:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443667#M77268</guid>
      <dc:creator>raghuchams4527</dc:creator>
      <dc:date>2018-12-21T16:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write props and transforms for my below search?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443668#M77269</link>
      <description>&lt;P&gt;HI raghuchams4527,&lt;BR /&gt;
if you want, you can create a macro with your commands, this is useful if you think to reuse your search.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 16:10:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443668#M77269</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2018-12-21T16:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write props and transforms for my below search?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443669#M77270</link>
      <description>&lt;P&gt;how to create a macro?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 16:12:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443669#M77270</guid>
      <dc:creator>raghuchams4527</dc:creator>
      <dc:date>2018-12-21T16:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write props and transforms for my below search?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443670#M77271</link>
      <description>&lt;P&gt;HI raghuchams4527,&lt;BR /&gt;
go in Settings -- Advanced Search -- Search macros -- Add new&lt;BR /&gt;
and then copy your commands or part of them.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 16:17:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443670#M77271</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2018-12-21T16:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write props and transforms for my below search?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443671#M77272</link>
      <description>&lt;P&gt;thanks cusello&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 16:21:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443671#M77272</guid>
      <dc:creator>raghuchams4527</dc:creator>
      <dc:date>2018-12-21T16:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write props and transforms for my below search?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443672#M77273</link>
      <description>&lt;P&gt;HI raghuchams4527,&lt;BR /&gt;
if you're satisfied by this answer, please accept and/ot upvote it.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 16:28:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443672#M77273</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2018-12-21T16:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write props and transforms for my below search?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443673#M77274</link>
      <description>&lt;P&gt;I want to extract act and action fields. If you remove the stats command im not getting the unique values from action field.&lt;/P&gt;

&lt;P&gt;the values i'm looking&lt;BR /&gt;
act = GET,POST,GET,GET,GET,GET,POST,POST&lt;BR /&gt;
action = GET POST &lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 18:05:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443673#M77274</guid>
      <dc:creator>raghuchams4527</dc:creator>
      <dc:date>2018-12-21T18:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write props and transforms for my below search?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443674#M77275</link>
      <description>&lt;P&gt;index=blue_sec sourcetype=rsa:security_analytics&lt;BR /&gt;
|rex field=_raw "act=(?[^\"]+)\sspt="| makemv delim="," act| stats values(act) AS action by _raw&lt;BR /&gt;&lt;BR /&gt;
|rex field=_raw "act=(?[^\"]+)\sspt=" | table act,action&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:27:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443674#M77275</guid>
      <dc:creator>raghuchams4527</dc:creator>
      <dc:date>2020-09-29T22:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write props and transforms for my below search?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443675#M77276</link>
      <description>&lt;P&gt;Actually i put the name for rex but its not displayed on the result. (?) &lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 18:08:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-write-props-and-transforms-for-my-below-search/m-p/443675#M77276</guid>
      <dc:creator>raghuchams4527</dc:creator>
      <dc:date>2018-12-21T18:08:31Z</dc:date>
    </item>
  </channel>
</rss>

