<?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: Add entry data to an alert in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Add-entry-data-to-an-alert/m-p/677711#M231726</link>
    <description>&lt;P&gt;Sorry, I did not completely explain, - I would like it to return the full name ending in srx.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Feb 2024 18:14:19 GMT</pubDate>
    <dc:creator>mwcentracomm</dc:creator>
    <dc:date>2024-02-15T18:14:19Z</dc:date>
    <item>
      <title>Add entry data to an alert</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-entry-data-to-an-alert/m-p/677664#M231719</link>
      <description>&lt;P&gt;I am using the search below&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| metadata type=hosts | where recentTime &amp;lt; now() - 10800| eval lastSeen = strftime(recentTime, "%F %T") | fields + host lastSeen&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to add a field populated by somename that ends in "srx"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jan 4 13:07:57 1.1.1.1 1 2024-01-04T13:07:57.085-05:00 &lt;FONT size="5"&gt;5995-somename-srx&lt;/FONT&gt; rpd 2188 JTASK_SIGNAL_INFO [junos@2636.1.1.1.2.133 message-name="INFO Signal Info: Signal Number = " signal-number="1" name=" Consumed Count = " data-1="3"]&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 15:03:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-entry-data-to-an-alert/m-p/677664#M231719</guid>
      <dc:creator>mwcentracomm</dc:creator>
      <dc:date>2024-02-15T15:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Add entry data to an alert</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-entry-data-to-an-alert/m-p/677666#M231721</link>
      <description>&lt;P&gt;Use the &lt;FONT face="courier new,courier"&gt;eval&lt;/FONT&gt; command to add a field to your results.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| metadata type=hosts 
| where recentTime &amp;lt; now() - 10800| eval lastSeen = strftime(recentTime, "%F %T") 
| fields + host lastSeen
| eval newField="srx"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 13:34:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-entry-data-to-an-alert/m-p/677666#M231721</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-02-15T13:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Add entry data to an alert</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-entry-data-to-an-alert/m-p/677711#M231726</link>
      <description>&lt;P&gt;Sorry, I did not completely explain, - I would like it to return the full name ending in srx.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 18:14:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-entry-data-to-an-alert/m-p/677711#M231726</guid>
      <dc:creator>mwcentracomm</dc:creator>
      <dc:date>2024-02-15T18:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Add entry data to an alert</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-entry-data-to-an-alert/m-p/677712#M231727</link>
      <description>&lt;P&gt;Only the fields provided by the &lt;FONT face="courier new,courier"&gt;metadata&lt;/FONT&gt; command can be displayed unless you add other commands that search indexes for names ending with "srx".&amp;nbsp; If the desired field *is* returned by metadata then include it in the &lt;FONT face="courier new,courier"&gt;fields&lt;/FONT&gt; command then use &lt;FONT face="courier new,courier"&gt;where&lt;/FONT&gt; or &lt;FONT face="courier new,courier"&gt;search&lt;/FONT&gt; to filter the desired values.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| metadata type=hosts 
| where recentTime &amp;lt; now() - 10800| eval lastSeen = strftime(recentTime, "%F %T") 
| fields + host lastSeen
| search host="*srx"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 18:23:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-entry-data-to-an-alert/m-p/677712#M231727</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-02-15T18:23:11Z</dc:date>
    </item>
  </channel>
</rss>

