<?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 to loop endlessly in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-loop-endlessly/m-p/155237#M185680</link>
    <description>&lt;HR /&gt;

&lt;P&gt;The requirement is for IDP traffic &lt;/P&gt;

&lt;P&gt;field1 = source ip addresses (external and internal)&lt;BR /&gt;
field2 = destination ip addresses (external and internal)&lt;BR /&gt;
field3 = severity&lt;BR /&gt;
field4 = attack signature&lt;/P&gt;

&lt;P&gt;I want to group the row by source ip &lt;BR /&gt;
then each row I want to group by destination ip&lt;BR /&gt;
then each row of destination, I want to group by severity count&lt;BR /&gt;
then from severity row, i want to group by attack signature&lt;/P&gt;

&lt;P&gt;this is for report, dashboard and alert.&lt;/P&gt;

&lt;P&gt;Example&lt;/P&gt;

&lt;HR /&gt;

&lt;PRE&gt;&lt;CODE&gt; ------------------------------------------------------------------------------------------------
|  SRC_IP    |  DEST IP  |  SEV HIGH | SEV CRIT |  ATTACT COUNT | ATTACK SIGNATURE | And so on...|
|------------|-----------|-----------|----------|---------------|------------------|-------------|
|  1.2.3.4   |  4.3.2.1  |      5    |          |     2         |       BLAH1      |             |
|            |           |           |          |     3         |       BLAH5      |   etc...    |
|            |           |           |          |     1         |       BLAH7      |             |
|            |           |-----------|----------|---------------|------------------|-------------|
|            |           |           |   4      |     2         |       BLAH2      |             |
|            |           |           |          |     1         |       BLAH5      |    etc...   |
|            |           |           |          |     1         |       BLAH1      |             |
|            |-----------|-----------|----------|---------------|------------------|-------------|
|            |  3.6.2.9  |      3    |          |     1         |       BLAH6      |             |
|            |           |           |          |     1         |       BLAH8      |   etc...    |
|            |           |           |          |     1         |       BLAH7      |             |
|            |           |-----------|----------|---------------|------------------|-------------|
|            |           |           |   6      |     2         |       BLAH3      |             |
|            |           |           |          |     2         |       BLAH5      |    etc...   |
|            |           |           |          |     2         |       BLAH1      |             |
|            |-----------|-----------|----------|---------------|------------------|-------------|
|            |  3.6.2.9  |      3    |          |     1         |       BLAH6      |             |
|            |           |           |          |     1         |       BLAH8      |   etc...    |
|            |           |           |          |     1         |       BLAH7      |             |
|------------|-----------|-----------|----------|---------------|------------------|-------------|
|  5.6.3.2   |  4.3.2.1  |      7    |          |     4         |       BLAH5      |             |
|            |           |           |          |     2         |       BLAH6      |   etc...    |
|            |           |           |          |     1         |       BLAH7      |             |
|            |-----------|-----------|----------|---------------|------------------|-------------|
|            |  3.6.2.9  |           |   3      |     1         |       BLAH1      |             |
|            |           |           |          |     1         |       BLAH2      |   etc...    |
|            |           |           |          |     1         |       BLAH3      |             |
|            |-----------|-----------|----------|---------------|------------------|-------------|
|            |  3.6.2.9  |      3    |          |     1         |       BLAH2      |             |
|            |           |           |          |     1         |       BLAH3      |   etc...    |
|            |           |           |          |     1         |       BLAH4      |             |
|------------|-----------|-----------|----------|---------------|------------------|-------------|
|            |           |           |          |               |                  |             |
| and so on. |    etc... |    etc..  |  etc..   |   etc..       |      etc..       |   etc..     |
|            |           |           |          |               |                  |             |
 ------------------------------------------------------------------------------------------------
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 10 Dec 2014 13:17:15 GMT</pubDate>
    <dc:creator>denmatias</dc:creator>
    <dc:date>2014-12-10T13:17:15Z</dc:date>
    <item>
      <title>how to loop endlessly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-loop-endlessly/m-p/155235#M185678</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;How to loop like this&lt;/P&gt;

&lt;P&gt;Event fields&lt;/P&gt;

&lt;P&gt;field1 [value1a, value1b, value1c, value1d,...]&lt;BR /&gt;
field2 [value2a, value2b, value2c, value2d....]&lt;BR /&gt;
field3 [value3a, value3b, value3c, value3d....]&lt;BR /&gt;
and so on..&lt;/P&gt;

&lt;HR /&gt;

&lt;PRE&gt;&lt;CODE&gt;---------------------------------
| value1a  | value2a  | value3a  |
|          |          ------------
|      |          | value3b  |
|          |          -----------
|      |          | value3c  |
|          -----------------------
|          | value2b  | value3a  |
|          |          ------------
|      |          | value3b  |
|          |          ------------
|      |          | value3c  |
|          |----------------------
|          | value2c  | value3c  |
|          |          ------------
|      |          | value3b  |
|          |          ------------
|      |          | value3c  |
---------------------------------- 
| value1b  | value2a  | value3a  |
|          |          ------------
|      |          | value3b  |
|          |          -----------
|      |          | value3c  |
|          -----------------------
|          | value2b  | value3a  |
|          |          ------------
|      |          | value3b  |
|          |          ------------
|      |          | value3c  |
|          |----------------------
|          | value2c  | value3c  |
|          |          ------------
|      |          | value3b  |
|          |          ------------
|      |          | value3c  |
----------------------------------
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Dec 2014 22:09:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-loop-endlessly/m-p/155235#M185678</guid>
      <dc:creator>denmatias</dc:creator>
      <dc:date>2014-12-09T22:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to loop endlessly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-loop-endlessly/m-p/155236#M185679</link>
      <description>&lt;P&gt;What is the requirement here? Could you provide more details how this loop (in your example) is done.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2014 23:27:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-loop-endlessly/m-p/155236#M185679</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-12-09T23:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to loop endlessly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-loop-endlessly/m-p/155237#M185680</link>
      <description>&lt;HR /&gt;

&lt;P&gt;The requirement is for IDP traffic &lt;/P&gt;

&lt;P&gt;field1 = source ip addresses (external and internal)&lt;BR /&gt;
field2 = destination ip addresses (external and internal)&lt;BR /&gt;
field3 = severity&lt;BR /&gt;
field4 = attack signature&lt;/P&gt;

&lt;P&gt;I want to group the row by source ip &lt;BR /&gt;
then each row I want to group by destination ip&lt;BR /&gt;
then each row of destination, I want to group by severity count&lt;BR /&gt;
then from severity row, i want to group by attack signature&lt;/P&gt;

&lt;P&gt;this is for report, dashboard and alert.&lt;/P&gt;

&lt;P&gt;Example&lt;/P&gt;

&lt;HR /&gt;

&lt;PRE&gt;&lt;CODE&gt; ------------------------------------------------------------------------------------------------
|  SRC_IP    |  DEST IP  |  SEV HIGH | SEV CRIT |  ATTACT COUNT | ATTACK SIGNATURE | And so on...|
|------------|-----------|-----------|----------|---------------|------------------|-------------|
|  1.2.3.4   |  4.3.2.1  |      5    |          |     2         |       BLAH1      |             |
|            |           |           |          |     3         |       BLAH5      |   etc...    |
|            |           |           |          |     1         |       BLAH7      |             |
|            |           |-----------|----------|---------------|------------------|-------------|
|            |           |           |   4      |     2         |       BLAH2      |             |
|            |           |           |          |     1         |       BLAH5      |    etc...   |
|            |           |           |          |     1         |       BLAH1      |             |
|            |-----------|-----------|----------|---------------|------------------|-------------|
|            |  3.6.2.9  |      3    |          |     1         |       BLAH6      |             |
|            |           |           |          |     1         |       BLAH8      |   etc...    |
|            |           |           |          |     1         |       BLAH7      |             |
|            |           |-----------|----------|---------------|------------------|-------------|
|            |           |           |   6      |     2         |       BLAH3      |             |
|            |           |           |          |     2         |       BLAH5      |    etc...   |
|            |           |           |          |     2         |       BLAH1      |             |
|            |-----------|-----------|----------|---------------|------------------|-------------|
|            |  3.6.2.9  |      3    |          |     1         |       BLAH6      |             |
|            |           |           |          |     1         |       BLAH8      |   etc...    |
|            |           |           |          |     1         |       BLAH7      |             |
|------------|-----------|-----------|----------|---------------|------------------|-------------|
|  5.6.3.2   |  4.3.2.1  |      7    |          |     4         |       BLAH5      |             |
|            |           |           |          |     2         |       BLAH6      |   etc...    |
|            |           |           |          |     1         |       BLAH7      |             |
|            |-----------|-----------|----------|---------------|------------------|-------------|
|            |  3.6.2.9  |           |   3      |     1         |       BLAH1      |             |
|            |           |           |          |     1         |       BLAH2      |   etc...    |
|            |           |           |          |     1         |       BLAH3      |             |
|            |-----------|-----------|----------|---------------|------------------|-------------|
|            |  3.6.2.9  |      3    |          |     1         |       BLAH2      |             |
|            |           |           |          |     1         |       BLAH3      |   etc...    |
|            |           |           |          |     1         |       BLAH4      |             |
|------------|-----------|-----------|----------|---------------|------------------|-------------|
|            |           |           |          |               |                  |             |
| and so on. |    etc... |    etc..  |  etc..   |   etc..       |      etc..       |   etc..     |
|            |           |           |          |               |                  |             |
 ------------------------------------------------------------------------------------------------
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Dec 2014 13:17:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-loop-endlessly/m-p/155237#M185680</guid>
      <dc:creator>denmatias</dc:creator>
      <dc:date>2014-12-10T13:17:15Z</dc:date>
    </item>
  </channel>
</rss>

