# Maintaining custom tags for tag conditional pcap-log configuration

**URL:** <https://forum.suricata.io/t/maintaining-custom-tags-for-tag-conditional-pcap-log-configuration/5590>\
**Category:** Uncategorized\
**Created:** [April 9, 2025, 10:24pm UTC](https://forum.suricata.io/t/maintaining-custom-tags-for-tag-conditional-pcap-log-configuration/5590 "2025-04-09T22:24:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![weekender](https://avatars.discourse-cdn.com/v4/letter/w/ee7513/32.png) [@weekender](https://forum.suricata.io/u/weekender)\
**Post date:** [April 9, 2025, 10:24pm UTC](https://forum.suricata.io/t/maintaining-custom-tags-for-tag-conditional-pcap-log-configuration/5590/1 "2025-04-09T22:24:25Z")

</div>

Hello,

When configuring pcap-log conditional on tag. e.g.  
alert http any any → any any (http.method; content:“POST”; tag:session; sid:1;)  
How can customised rules best be maintained? As I assume that when updating rules, any such customisations will be overwritten.

---

<div class="post-metadata">

**Author:** ![Andreas\_Herz](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/andreas_herz/32/52_2.png) [@Andreas\_Herz](https://forum.suricata.io/u/Andreas_Herz)\
**Post date:** [July 17, 2025, 9:08pm UTC](https://forum.suricata.io/t/maintaining-custom-tags-for-tag-conditional-pcap-log-configuration/5590/2 "2025-07-17T21:08:00Z")

</div>

Why should custom rules being overwritten?

---

<div class="post-metadata">

**Author:** ![jonny5](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/jonny5/32/347_2.png) [@jonny5](https://forum.suricata.io/u/jonny5)\
**Post date:** [November 12, 2025, 7:22am UTC](https://forum.suricata.io/t/maintaining-custom-tags-for-tag-conditional-pcap-log-configuration/5590/3 "2025-11-12T07:22:58Z")

</div>

Use suricata-update, you can make your customization part of the update
