# Get a list of changesets as output

**URL:** <https://forum.liquibase.org/t/get-a-list-of-changesets-as-output/9763>\
**Category:** General Discussion\
**Created:** [September 18, 2024, 4:09am UTC](https://forum.liquibase.org/t/get-a-list-of-changesets-as-output/9763 "2024-09-18T04:09:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![adithyakumar](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@adithyakumar](https://forum.liquibase.org/u/adithyakumar)\
**Post date:** [September 18, 2024, 4:09am UTC](https://forum.liquibase.org/t/get-a-list-of-changesets-as-output/9763/1 "2024-09-18T04:09:52Z")

</div>

Hi Community,

Hope you are having good day.  
I am using Liquibase for db deployments and things are fine.  
I have a requirement to record the changesets being deployed into a seperate db.  
For ex: V1 – changeset 1.0.0\_1 & 1.0.0\_2  
V2 - changeset 2.0.0\_1, 2.0.0\_2 & 2.0.0\_3

Currently, when I hit the history command, I get output of databasechangelog table but I need to output changeset column only. May I know if there is a way to get what I want, pls?

Thanks.

---

<div class="post-metadata">

**Author:** ![daryldoak](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.liquibase.org/daryldoak/32/764_2.png) [@daryldoak](https://forum.liquibase.org/u/daryldoak)\
**Post date:** [September 19, 2024, 3:13pm UTC](https://forum.liquibase.org/t/get-a-list-of-changesets-as-output/9763/2 "2024-09-19T15:13:50Z")

</div>

I’m not sure I understand the question. When I run history I get back the following:

deployment id  
update date  
changelog path  
changeset author  
changeset id  
tag

These 3 columns are required to uniquely identify a changeset:  
changelog path  
changeset author  
changeset id

So you should have what you are looking for. Please clarify your question.

---

<div class="post-metadata">

**Author:** ![adithyakumar](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@adithyakumar](https://forum.liquibase.org/u/adithyakumar)\
**Post date:** [September 25, 2024, 8:49am UTC](https://forum.liquibase.org/t/get-a-list-of-changesets-as-output/9763/3 "2024-09-25T08:49:33Z")

</div>

Hi daryldoak,

Thank you for your reply.  
Like mentioned before, is there a way to filter out on what column I need using liquibase command?
