<?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: It does not search for Snort json alerts in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/It-does-not-search-for-Snort-json-alerts/m-p/689437#M114748</link>
    <description>&lt;P&gt;&lt;SPAN&gt;[monitor:///var/log/snort/*alert_json.txt*]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sourcetype = snort3:alert:json&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Index in monitor stanza do you mean by the path, exactly "/var/log.snort/*alert_json.txt"?&lt;BR /&gt;Or index in the sourcetype do you mean by this: "snort3:alert:json" ?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jun 2024 17:54:41 GMT</pubDate>
    <dc:creator>gruby_bolek</dc:creator>
    <dc:date>2024-06-03T17:54:41Z</dc:date>
    <item>
      <title>It does not search for Snort json alerts</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/It-does-not-search-for-Snort-json-alerts/m-p/689406#M114746</link>
      <description>&lt;P&gt;I installed&amp;nbsp;Snort 3 JSON Alerts add-on. I made changes in inputs.conf (/opt/splunk/etc/apps/TA_Snort3_json/local) like this:&lt;/P&gt;&lt;P&gt;[monitor:///var/log/snort/*alert_json.txt*]&lt;BR /&gt;sourcetype = snort3:alert:json&lt;/P&gt;&lt;P&gt;When I search for events like below (sourcetype="snort3:alert:json") there is NOTHING &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gruby_bolek_0-1717415131166.png" style="width: 687px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31118i90A16A55BCE503A6/image-dimensions/687x103?v=v2" width="687" height="103" role="button" title="gruby_bolek_0-1717415131166.png" alt="gruby_bolek_0-1717415131166.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But Splunk knows in that path there is something and in what number. Like below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="problem do splunk community1.PNG" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31117i693C3F92680BBD43/image-size/large?v=v2&amp;amp;px=999" role="button" title="problem do splunk community1.PNG" alt="problem do splunk community1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I can tell more is what Splunk tells me when starting.&lt;/P&gt;&lt;P&gt;Value in stanza [eventtype=snort3:alert:json] in /…/TA_Snort3_json/default/tags.conf, line 1 is not URL encoded: eventtype = snort3:alert:json&lt;BR /&gt;Your indexes and inputs configurations are not internally consistenst. For more info, run ‘splunk btool check –debug’&lt;/P&gt;&lt;P&gt;Please, help..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 12:00:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/It-does-not-search-for-Snort-json-alerts/m-p/689406#M114746</guid>
      <dc:creator>gruby_bolek</dc:creator>
      <dc:date>2024-06-03T12:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: It does not search for Snort json alerts</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/It-does-not-search-for-Snort-json-alerts/m-p/689416#M114747</link>
      <description>&lt;P&gt;The monitor stanza should specify an index name so Splunk knows where to put the data.&amp;nbsp; Without that, everything goes in the 'main' index.&lt;/P&gt;&lt;P&gt;Your (and everyone else's) search query should specify the index name to search.&amp;nbsp; This makes the query more efficient and avoids reliance on your default index.&amp;nbsp; The index name in the query must match the index name in the monitor stanza for Splunk to find the data.&lt;/P&gt;&lt;P&gt;The message about the tags.conf file is a symptom of a different problem and should be easy to correct.&amp;nbsp; Go to line 1 of the file specified in the message and URL-encode the value.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 14:20:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/It-does-not-search-for-Snort-json-alerts/m-p/689416#M114747</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-06-03T14:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: It does not search for Snort json alerts</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/It-does-not-search-for-Snort-json-alerts/m-p/689437#M114748</link>
      <description>&lt;P&gt;&lt;SPAN&gt;[monitor:///var/log/snort/*alert_json.txt*]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sourcetype = snort3:alert:json&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Index in monitor stanza do you mean by the path, exactly "/var/log.snort/*alert_json.txt"?&lt;BR /&gt;Or index in the sourcetype do you mean by this: "snort3:alert:json" ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 17:54:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/It-does-not-search-for-Snort-json-alerts/m-p/689437#M114748</guid>
      <dc:creator>gruby_bolek</dc:creator>
      <dc:date>2024-06-03T17:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: It does not search for Snort json alerts</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/It-does-not-search-for-Snort-json-alerts/m-p/689440#M114749</link>
      <description>&lt;P&gt;The index name is specified on another line, similar to how the sourcetype is specified.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor:///var/log/snort/*alert_json.txt*]
sourcetype = snort3:alert:json
index = foo&lt;/LI-CODE&gt;&lt;P&gt;Read The Fine Manual at &lt;A href="https://docs.splunk.com/Documentation/Splunk/9.2.1/Admin/Inputsconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.2.1/Admin/Inputsconf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 18:12:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/It-does-not-search-for-Snort-json-alerts/m-p/689440#M114749</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-06-03T18:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: It does not search for Snort json alerts</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/It-does-not-search-for-Snort-json-alerts/m-p/690895#M114936</link>
      <description>&lt;P&gt;Thank you. I have succeeded with the effects like this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;searching and displaying json file ( I edited inputs.conf in Snort 3 JSON alert app directory)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gruby_bolek_0-1718623048048.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31358i6576F3A6D9FD59C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gruby_bolek_0-1718623048048.png" alt="gruby_bolek_0-1718623048048.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gruby_bolek_1-1718623098593.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31359i3DDBE2DE6CFFFD70/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gruby_bolek_1-1718623098593.png" alt="gruby_bolek_1-1718623098593.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;searching and displaying alert full, alert fast file ( I edited inputs.conf for in apps directory)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gruby_bolek_2-1718623525523.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31360iEFAA8C38A4F8CB72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gruby_bolek_2-1718623525523.png" alt="gruby_bolek_2-1718623525523.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But it does not search with: sourcetype="snort_alert_full", because in this file it changes sourcetypes "snort_alert_full" and "snort_alert_fast" to "snort".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gruby_bolek_3-1718626712373.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31361i3F87FA227A6752D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gruby_bolek_3-1718626712373.png" alt="gruby_bolek_3-1718626712373.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you for help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 12:21:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/It-does-not-search-for-Snort-json-alerts/m-p/690895#M114936</guid>
      <dc:creator>gruby_bolek</dc:creator>
      <dc:date>2024-06-17T12:21:23Z</dc:date>
    </item>
  </channel>
</rss>

