<?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: Log Analysis Request for IP Address Values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Log-Analysis-Request-for-IP-Address-Values/m-p/694946#M236339</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/270623"&gt;@Tajuddin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;in addition to the questions from&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;I need to know: the two conditions you listed are related with OR or AND?&lt;/P&gt;&lt;P&gt;then what's the name of the field (in the main search) to compare with confroom_ipaddress of the checkin_rooms.csv lookup? i use IP_Address but you can change.&lt;/P&gt;&lt;P&gt;anyway, eventually change my main search:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=fow_checkin 
[| inputlookup checkin_rooms.csv | rename confroom_ipaddress AS IP_Address | fields IP_Address ]
("IpAddress(from request body)" OR NOT "display button:panel-*")
| ...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2024 07:00:17 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2024-08-01T07:00:17Z</dc:date>
    <item>
      <title>Log Analysis Request for IP Address Values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Log-Analysis-Request-for-IP-Address-Values/m-p/694904#M236326</link>
      <description>&lt;P&gt;I need to perform an analysis based on a lookup file named &lt;FONT color="#FF6600"&gt;checkin_rooms.csv&lt;/FONT&gt;, which includes a column &lt;FONT color="#FF6600"&gt;confroom_ipaddress&lt;/FONT&gt; with values such as:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;10.40.89.76&lt;/LI&gt;&lt;LI&gt;17.76.42.44&lt;/LI&gt;&lt;LI&gt;17.200.126.20&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For each IP address in this file, I want to check the Splunk logs for the following conditions in the &lt;FONT color="#FF6600"&gt;index=fow_checkin&lt;/FONT&gt;:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;There is a message containing &lt;FONT color="#FF6600"&gt;"IpAddress(from request body)"&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;There is no message associated with the same IP address that contains display button:panel-* in other events.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Example Log Entries:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;FONT color="#0000FF"&gt;message: Display Option Request Source: TouchPanel, IpAddress(from request body): null, Action: buttonDisplay, Timezone: null and IpAddress(from request header): 17.200.126.20&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#0000FF"&gt;message: display button:panel-takeover for ipaddress: 17.200.126.20&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;Could someone please guide me on how to construct this query&lt;/SPAN&gt; to identify which IP addresses from the lookup file meet these criteria? Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 20:06:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Log-Analysis-Request-for-IP-Address-Values/m-p/694904#M236326</guid>
      <dc:creator>Tajuddin</dc:creator>
      <dc:date>2024-07-31T20:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Log Analysis Request for IP Address Values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Log-Analysis-Request-for-IP-Address-Values/m-p/694911#M236328</link>
      <description>&lt;P&gt;This can have multiple solutions depending on your data parameters (especially cardinality).&lt;/P&gt;&lt;P&gt;Your main problem (performancewise) will be the second condition. Because how can you find something that's not there? You have to list everything that is there and compare with what you get from the first conditon. With a small result set that's relatively quick but with a big one - not so much.&lt;/P&gt;&lt;P&gt;Also:&lt;/P&gt;&lt;P&gt;1. Do you have any fields extracted from your events?&lt;/P&gt;&lt;P&gt;2. In the second type of events is there a space between ipaddress: and the actual address or not?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 20:35:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Log-Analysis-Request-for-IP-Address-Values/m-p/694911#M236328</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-07-31T20:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Log Analysis Request for IP Address Values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Log-Analysis-Request-for-IP-Address-Values/m-p/694946#M236339</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/270623"&gt;@Tajuddin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;in addition to the questions from&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;I need to know: the two conditions you listed are related with OR or AND?&lt;/P&gt;&lt;P&gt;then what's the name of the field (in the main search) to compare with confroom_ipaddress of the checkin_rooms.csv lookup? i use IP_Address but you can change.&lt;/P&gt;&lt;P&gt;anyway, eventually change my main search:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=fow_checkin 
[| inputlookup checkin_rooms.csv | rename confroom_ipaddress AS IP_Address | fields IP_Address ]
("IpAddress(from request body)" OR NOT "display button:panel-*")
| ...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 07:00:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Log-Analysis-Request-for-IP-Address-Values/m-p/694946#M236339</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-08-01T07:00:17Z</dc:date>
    </item>
  </channel>
</rss>

