<?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 pull all data using Log Event Trigger Action in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-to-pull-all-data-using-Log-Event-Trigger-Action/m-p/687061#M16004</link>
    <description>&lt;P&gt;I encountered a similar issue. My scenario involved comparing two alerts and wanting to write the results of the test alert to an index while maintaining the same configurations (like throttling) for both.&amp;nbsp; Using collect wouldn't work, because it was writing duplicate entries to the index due to the alert configuration.&lt;/P&gt;&lt;P&gt;I managed to achieve this by directing all the results to:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tojson output_field="foo"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then in the event field you can just enter:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$result.foo$&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 May 2024 16:22:06 GMT</pubDate>
    <dc:creator>n0vsec</dc:creator>
    <dc:date>2024-05-09T16:22:06Z</dc:date>
    <item>
      <title>How to pull all data using Log Event Trigger Action</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-pull-all-data-using-Log-Event-Trigger-Action/m-p/661390#M15433</link>
      <description>&lt;P&gt;We are utilizing the Log Event Trigger Action for an alert and we'd essentially like to duplicate the event that's found into another index. There is some renaming that happens in the alert, so pulling the_raw wouldn't include the renamed fields correct? If _raw is the way to go, what is the token for this? $result._raw$?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 14:18:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-pull-all-data-using-Log-Event-Trigger-Action/m-p/661390#M15433</guid>
      <dc:creator>tr_newman</dc:creator>
      <dc:date>2023-10-19T14:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to pull all data using Log Event Trigger Action</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-pull-all-data-using-Log-Event-Trigger-Action/m-p/665621#M15434</link>
      <description>&lt;P&gt;What do you mean by pulling the _raw? Do you mean "pulling" as in removing _raw from the fields list? Are you using the collect command to add the events into another index? If you do and don't explicitly set a sourcetype then you will not incur a licensing hit for the data copied to the other index.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 20:49:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-pull-all-data-using-Log-Event-Trigger-Action/m-p/665621#M15434</guid>
      <dc:creator>fredclown</dc:creator>
      <dc:date>2023-10-19T20:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to pull all data using Log Event Trigger Action</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-pull-all-data-using-Log-Event-Trigger-Action/m-p/665676#M15435</link>
      <description>&lt;P&gt;We have a solution using the collect command, but the team we're engineering this for does not want the collect command in the alert because they often times use the search link to do investigations and will generate additional collections (which kick off tickets). So we're thinking the log event alert action might be better to use, but you have to manually define each field that you want.&amp;nbsp; Trying to see if we can just pull all the fields of the event into the Event Text.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 13:17:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-pull-all-data-using-Log-Event-Trigger-Action/m-p/665676#M15435</guid>
      <dc:creator>tr_newman</dc:creator>
      <dc:date>2023-10-20T13:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to pull all data using Log Event Trigger Action</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-pull-all-data-using-Log-Event-Trigger-Action/m-p/687061#M16004</link>
      <description>&lt;P&gt;I encountered a similar issue. My scenario involved comparing two alerts and wanting to write the results of the test alert to an index while maintaining the same configurations (like throttling) for both.&amp;nbsp; Using collect wouldn't work, because it was writing duplicate entries to the index due to the alert configuration.&lt;/P&gt;&lt;P&gt;I managed to achieve this by directing all the results to:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tojson output_field="foo"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then in the event field you can just enter:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$result.foo$&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 16:22:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-pull-all-data-using-Log-Event-Trigger-Action/m-p/687061#M16004</guid>
      <dc:creator>n0vsec</dc:creator>
      <dc:date>2024-05-09T16:22:06Z</dc:date>
    </item>
  </channel>
</rss>

